The qcstring.cpp
File Reference
Included Headers
Functions Index
char | toLowerChar (char c) |
static bool | ok_in_base (char c, int base) |
void * | qmemmove (void *dst, const void *src, size_t len) |
char * | qstrdup (const char *str) |
void | qstrfree (const char *str) |
char * | qstrncpy (char *dst, const char *src, size_t len) |
int | qstricmp (const char *s1, const char *s2) |
int | qstrnicmp (const char *s1, const char *s2, size_t len) |
QCString | substitute (const QCString &s, const QCString &src, const QCString &dst) |
substitute all occurrences of src in s by dst More... | |
QCString | substitute (const QCString &s, const QCString &src, const QCString &dst, int skip_seq) |
substitute all occurrences of src in s by dst, but skip each consecutive sequence of src where the number consecutive src matches skip_seq; if skip_seq is negative, skip any number of consecutive src More... | |
Functions
ok_in_base()
| static |
Definition at line 219 of file qcstring.cpp.
Referenced by QCString::toLong, QCString::toUInt64 and QCString::toULong.
qmemmove()
|
Definition at line 402 of file qcstring.cpp.
qstrdup()
|
Returns a copy of a string s. Note that memory is passed to the caller, use qstrfree() to release.
Definition at line 419 of file qcstring.cpp.
Reference qstrlen.
qstrfree()
|
Frees the memory allocated using qstrdup().
Definition at line 427 of file qcstring.cpp.
qstricmp()
|
Definition at line 442 of file qcstring.cpp.
Reference toLowerChar.
Referenced by compareString, VhdlDocGen::findAllArchitectures, DocGroup::findExistingGroup, FlowChart::findLabel, VhdlDocGen::findVhdlClass, mainPageHasOwnTitle, qstricmp, qstricmp, qstricmp, qstricmp_sort, readConfiguration, stripFromPath, transcodeCharacterBuffer, transcodeCharacterStringToUTF8, FlowChart::writeFlowLinks, ClassDefImpl::writeIncludeFilesForSlice, writeIndex and VhdlDocGen::writeProcedureProto.
qstrncpy()
|
Definition at line 432 of file qcstring.cpp.
qstrnicmp()
|
Definition at line 458 of file qcstring.cpp.
Reference toLowerChar.
Referenced by QCString::contains, QCString::find, QCString::findRev, qstrnicmp, qstrnicmp and qstrnicmp.
substitute()
substitute all occurrences of src in s by dst
Definition at line 477 of file qcstring.cpp.
References QCString::data, QCString::ExplicitSize, QCString::isEmpty, QCString::length, qstrcpy and QCString::rawData.
Referenced by abbreviate, addEnumValuesToEnums, FlowChart::addFlowChart, addFrom, addGlobalFunction, HtmlHelpIndex::addItem, MemberDefImpl::addListReference, addMemberFunction, addMethodToClass, addModule, addPageToContext, Markdown::Private::addStrEscapeUtf8Nbsp, addVariable, addVariableToClass, buildListOfUsingDecls, buildNamespaceList, convertFileId2Var, Portable::correctPath, MemberDefImpl::displayDefinition, findDirDocumentation, DocParser::findDocsForMemberOrCompound, findGroupScope, findMember, findUsingDeclarations, findUsingDirectives, fixSpaces, format_warn, generateClassOrGlobalLink, generateClassOrGlobalLink, generateJSNavTree, RefList::generatePage, VhdlDocGen::getClassName, getDefsOld, DocPara::handleStartCode, HtmlGenerator::init, linkifyText, linkToText, makeDisplayName, makeDisplayName, matchExcludedSymbols, Markdown::process, Markdown::Private::processLink, processTagLessClasses, resolveRef, DotFilePatcher::run, SearchIndex::setCurrentDoc, stripIndentation, substitute, substituteHtmlKeywords, substituteLatexKeywords, Portable::system, ConfigImpl::takeStartComment, ConfigImpl::takeStoreRepl, ConfigImpl::takeUserComment, unescapeCRef, validatingParseDoc, warn_line, MemberDefImpl::warnIfUndocumented, writeAlphabeticalClassList, MemberDefImpl::writeDeclaration, MemberList::writeDeclarations, writeDefArgumentList, writeDefaultLayoutFile, MemberDefImpl::writeDocumentation, writeJavaScriptSearchIndex, HtmlGenerator::writeNavigationPath, PlantumlManager::writePlantUMLSource, HtmlGenerator::writeSearchData, HtmlGenerator::writeSearchPage and VhdlDocGen::writeVHDLTypeDocumentation.
substitute()
substitute all occurrences of src in s by dst, but skip each consecutive sequence of src where the number consecutive src matches skip_seq; if skip_seq is negative, skip any number of consecutive src
Definition at line 518 of file qcstring.cpp.
References QCString::data, QCString::ExplicitSize, QCString::isEmpty, QCString::length, qstrcpy, qstrncmp, QCString::rawData and QCString::resize.
toLowerChar()
| inline |
Definition at line 24 of file qcstring.cpp.
Referenced by QCString::contains, QCString::find, QCString::findRev, qstricmp and qstrnicmp.
Generated via doxygen2docusaurus by Doxygen 1.14.0.