Home
last modified time | relevance | path

Searched refs:PrefixLen (Results 1 – 6 of 6) sorted by relevance

/external/llvm-project/compiler-rt/lib/profile/
DInstrProfilingUtil.c245 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()
DInstrProfilingUtil.h47 const char *lprofGetPathPrefix(int *PrefixStrip, size_t *PrefixLen);
54 size_t PrefixLen, int PrefixStrip);
/external/llvm-project/llvm/tools/llvm-cov/
DCoverageReport.cpp157 unsigned PrefixLen = 0; in getRedundantPrefixLen() local
163 PrefixLen += Component - LastComponent; in getRedundantPrefixLen()
165 return PrefixLen; in getRedundantPrefixLen()
/external/clang/lib/Lex/
DLexer.cpp1812 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/
DLexer.cpp1981 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/
DMSVC.cpp589 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()