/freebsd-11.0-release/contrib/llvm/tools/clang/include/clang/Basic/ |
H A D | IdentifierTable.h | 89 template <std::size_t StrLen> 90 bool isStr(const char (&Str)[StrLen]) const { 91 return getLength() == StrLen-1 && !memcmp(getNameStart(), Str, StrLen-1);
|
/freebsd-11.0-release/contrib/llvm/tools/clang/include/clang/Sema/ |
H A D | TypoCorrection.h | 194 template<std::size_t StrLen> 195 bool isKeyword(const char (&Str)[StrLen]) const {
|
/freebsd-11.0-release/contrib/llvm/include/llvm/ADT/ |
H A D | StringMap.h | 32 unsigned StrLen; member in class:llvm::StringMapEntryBase 35 explicit StringMapEntryBase(unsigned Len) : StrLen(Len) {} 37 unsigned getKeyLength() const { return StrLen; }
|
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/Basic/ |
H A D | Diagnostic.cpp | 410 template <std::size_t StrLen> 412 const char (&Str)[StrLen]) { 413 return StrLen-1 == ModifierLen && !memcmp(Modifier, Str, StrLen-1);
|
/freebsd-11.0-release/sys/dev/hptmv/ |
H A D | global.h | 153 #define StrLen strlen macro
|
/freebsd-11.0-release/contrib/llvm/lib/Transforms/Utils/ |
H A D | BuildLibCalls.cpp | 48 Constant *StrLen = M->getOrInsertFunction( local 51 CallInst *CI = B.CreateCall(StrLen, CastToCStr(Ptr, B), "strlen"); 52 if (const Function *F = dyn_cast<Function>(StrLen->stripPointerCasts()))
|
H A D | SimplifyLibCalls.cpp | 481 Value *StrLen = EmitStrLen(Src, B, DL, TLI); 482 return StrLen ? B.CreateInBoundsGEP(B.getInt8Ty(), Dst, StrLen) : nullptr; 703 Value *StrLen = EmitStrLen(CI->getArgOperand(1), B, DL, TLI); 704 if (!StrLen) 707 StrLen, B, DL, TLI); 2518 Value *StrLen = EmitStrLen(Src, B, DL, TLI); 2519 return StrLen ? B.CreateInBoundsGEP(B.getInt8Ty(), Dst, StrLen) : nullptr;
|
/freebsd-11.0-release/contrib/llvm/lib/Analysis/ |
H A D | ConstantFolding.cpp | 561 unsigned StrLen = Str.size(); local 566 if ((NumBits >> 3) == StrLen + 1 && (NumBits & 7) == 0 && 571 for (signed i = StrLen-1; i >= 0; i--) { 576 for (unsigned i = 0; i < StrLen; i++) {
|
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/Sema/ |
H A D | SemaInit.cpp | 2406 uint64_t StrLen = SL->getLength(); local 2407 if (cast<ConstantArrayType>(AT)->getSize().ult(StrLen)) 2408 StrLen = cast<ConstantArrayType>(AT)->getSize().getZExtValue(); 2409 StructuredList->resizeInits(Context, StrLen); 2413 for (unsigned i = 0, e = StrLen; i != e; ++i) { 2428 uint64_t StrLen = Str.size(); local 2429 if (cast<ConstantArrayType>(AT)->getSize().ult(StrLen)) 2430 StrLen = cast<ConstantArrayType>(AT)->getSize().getZExtValue(); 2431 StructuredList->resizeInits(Context, StrLen); 2435 for (unsigned i = 0, e = StrLen; [all...] |
H A D | SemaChecking.cpp | 4692 size_t StrLen = std::min(std::max(TypeSize, size_t(1)) - 1, StrRef.size()); local 4708 if (StrLen == 0 && numDataArgs > 0) { 4723 if (!analyze_format_string::ParsePrintfString(H, Str, Str + StrLen, 4733 if (!analyze_format_string::ParseScanfString(H, Str, Str + StrLen, 4748 size_t StrLen = std::min(std::max(TypeSize, size_t(1)) - 1, StrRef.size()); local 4749 return analyze_format_string::ParseFormatStringHasSArg(Str, Str + StrLen,
|
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/AST/ |
H A D | ItaniumMangle.cpp | 3902 template <std::size_t StrLen> 3904 const char (&Str)[StrLen]) {
|
/freebsd-11.0-release/contrib/llvm/lib/Bitcode/Writer/ |
H A D | BitcodeWriter.cpp | 2197 static StringEncoding getStringEncoding(const char *Str, unsigned StrLen) { 2199 for (const char *C = Str, *E = C + StrLen; C != E; ++C) {
|
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/Serialization/ |
H A D | ASTReader.cpp | 7450 unsigned StrLen = (((unsigned) StrLenPtr[0]) 7453 = &PP.getIdentifierTable().get(StringRef(Str, StrLen));
|