Searched refs:PrefixLen (Results 1 – 6 of 6) sorted by relevance
/external/llvm-project/compiler-rt/lib/profile/ |
D | InstrProfilingUtil.c | 245 size_t *PrefixLen) { in lprofGetPathPrefix() argument 249 *PrefixLen = 0; in lprofGetPathPrefix() 263 *PrefixLen = strlen(Prefix); in lprofGetPathPrefix() 270 size_t PrefixLen, int PrefixStrip) { in lprofApplyPathPrefix() argument 287 memcpy(Dest, Prefix, PrefixLen); in lprofApplyPathPrefix() 289 if (!IS_DIR_SEPARATOR(Prefix[PrefixLen - 1])) in lprofApplyPathPrefix() 290 Dest[PrefixLen++] = DIR_SEPARATOR; in lprofApplyPathPrefix() 292 memcpy(Dest + PrefixLen, StrippedPathStr, strlen(StrippedPathStr) + 1); in lprofApplyPathPrefix()
|
D | InstrProfilingUtil.h | 47 const char *lprofGetPathPrefix(int *PrefixStrip, size_t *PrefixLen); 54 size_t PrefixLen, int PrefixStrip);
|
/external/llvm-project/llvm/tools/llvm-cov/ |
D | CoverageReport.cpp | 157 unsigned PrefixLen = 0; in getRedundantPrefixLen() local 163 PrefixLen += Component - LastComponent; in getRedundantPrefixLen() 165 return PrefixLen; in getRedundantPrefixLen()
|
/external/clang/lib/Lex/ |
D | Lexer.cpp | 1812 unsigned PrefixLen = 0; in LexRawStringLiteral() local 1814 while (PrefixLen != 16 && isRawStringDelimBody(CurPtr[PrefixLen])) in LexRawStringLiteral() 1815 ++PrefixLen; in LexRawStringLiteral() 1818 if (CurPtr[PrefixLen] != '(') { in LexRawStringLiteral() 1820 const char *PrefixEnd = &CurPtr[PrefixLen]; in LexRawStringLiteral() 1821 if (PrefixLen == 16) { in LexRawStringLiteral() 1849 CurPtr += PrefixLen + 1; // skip over prefix and '(' in LexRawStringLiteral() 1856 if (strncmp(CurPtr, Prefix, PrefixLen) == 0 && CurPtr[PrefixLen] == '"') { in LexRawStringLiteral() 1857 CurPtr += PrefixLen + 1; // skip over prefix and '"' in LexRawStringLiteral() 1863 << StringRef(Prefix, PrefixLen); in LexRawStringLiteral()
|
/external/llvm-project/clang/lib/Lex/ |
D | Lexer.cpp | 1981 unsigned PrefixLen = 0; in LexRawStringLiteral() local 1983 while (PrefixLen != 16 && isRawStringDelimBody(CurPtr[PrefixLen])) in LexRawStringLiteral() 1984 ++PrefixLen; in LexRawStringLiteral() 1987 if (CurPtr[PrefixLen] != '(') { in LexRawStringLiteral() 1989 const char *PrefixEnd = &CurPtr[PrefixLen]; in LexRawStringLiteral() 1990 if (PrefixLen == 16) { in LexRawStringLiteral() 2018 CurPtr += PrefixLen + 1; // skip over prefix and '(' in LexRawStringLiteral() 2025 if (strncmp(CurPtr, Prefix, PrefixLen) == 0 && CurPtr[PrefixLen] == '"') { in LexRawStringLiteral() 2026 CurPtr += PrefixLen + 1; // skip over prefix and '"' in LexRawStringLiteral() 2032 << StringRef(Prefix, PrefixLen); in LexRawStringLiteral()
|
/external/llvm-project/clang/lib/Driver/ToolChains/ |
D | MSVC.cpp | 589 constexpr size_t PrefixLen = 5; // strlen("path=") in ConstructJob() local 591 EnvVar.substr(0, PrefixLen) + in ConstructJob() 595 (EnvVar.size() > PrefixLen in ConstructJob() 597 EnvVar.substr(PrefixLen) in ConstructJob()
|