Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/compiler-rt/lib/profile/
H A DInstrProfilingPlatformAIX.c70 size_t PrefixLen = sizeof(BIN_ID_PREFIX) - 1; in FindBinaryId() local
71 if (len > PrefixLen && (len - PrefixLen) <= Size && in FindBinaryId()
72 strncmp(str, BIN_ID_PREFIX, PrefixLen) == 0) { in FindBinaryId()
73 memcpy(Result, str + PrefixLen, len - PrefixLen); in FindBinaryId()
74 RC = len - PrefixLen; in FindBinaryId()
H A DInstrProfilingUtil.c256 size_t *PrefixLen) { in lprofGetPathPrefix() argument
260 *PrefixLen = 0; in lprofGetPathPrefix()
274 *PrefixLen = strlen(Prefix); in lprofGetPathPrefix()
281 size_t PrefixLen, int PrefixStrip) { in lprofApplyPathPrefix() argument
298 memcpy(Dest, Prefix, PrefixLen); in lprofApplyPathPrefix()
300 if (!IS_DIR_SEPARATOR(Prefix[PrefixLen - 1])) in lprofApplyPathPrefix()
301 Dest[PrefixLen++] = DIR_SEPARATOR; in lprofApplyPathPrefix()
303 memcpy(Dest + PrefixLen, StrippedPathStr, strlen(StrippedPathStr) + 1); in lprofApplyPathPrefix()
H A DInstrProfilingUtil.h48 const char *lprofGetPathPrefix(int *PrefixStrip, size_t *PrefixLen);
55 size_t PrefixLen, int PrefixStrip);
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DLexer.cpp2262 unsigned PrefixLen = 0; in LexRawStringLiteral() local
2264 while (PrefixLen != 16 && isRawStringDelimBody(CurPtr[PrefixLen])) { in LexRawStringLiteral()
2266 llvm::is_contained({'$', '@', '`'}, CurPtr[PrefixLen])) { in LexRawStringLiteral()
2267 const char *Pos = &CurPtr[PrefixLen]; in LexRawStringLiteral()
2273 ++PrefixLen; in LexRawStringLiteral()
2277 if (CurPtr[PrefixLen] != '(') { in LexRawStringLiteral()
2279 const char *PrefixEnd = &CurPtr[PrefixLen]; in LexRawStringLiteral()
2280 if (PrefixLen == 16) { in LexRawStringLiteral()
2310 CurPtr += PrefixLen + 1; // skip over prefix and '(' in LexRawStringLiteral()
2317 if (strncmp(CurPtr, Prefix, PrefixLen) == 0 && CurPtr[PrefixLen] == '"') { in LexRawStringLiteral()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Driver/ToolChains/
H A DMSVC.cpp397 constexpr size_t PrefixLen = 5; // strlen("path=") in ConstructJob() local
399 EnvVar.substr(0, PrefixLen) + in ConstructJob()
403 (EnvVar.size() > PrefixLen in ConstructJob()
405 EnvVar.substr(PrefixLen) in ConstructJob()
/freebsd/contrib/llvm-project/llvm/tools/llvm-cov/
H A DCoverageReport.cpp174 unsigned PrefixLen = 0; in getRedundantPrefixLen() local
180 PrefixLen += Component - LastComponent; in getRedundantPrefixLen()
182 return PrefixLen; in getRedundantPrefixLen()