/freebsd-10.3-release/contrib/llvm/tools/clang/include/clang/Basic/ |
H A D | IdentifierTable.h | 91 template <std::size_t StrLen> 92 bool isStr(const char (&Str)[StrLen]) const { 93 return getLength() == StrLen-1 && !memcmp(getNameStart(), Str, StrLen-1);
|
/freebsd-10.3-release/contrib/llvm/tools/clang/include/clang/Sema/ |
H A D | TypoCorrection.h | 187 template<std::size_t StrLen> 188 bool isKeyword(const char (&Str)[StrLen]) const {
|
/freebsd-10.3-release/contrib/llvm/include/llvm/ADT/ |
H A D | StringMap.h | 44 unsigned StrLen; member in class:llvm::StringMapEntryBase 46 explicit StringMapEntryBase(unsigned Len) : StrLen(Len) {} 48 unsigned getKeyLength() const { return StrLen; }
|
/freebsd-10.3-release/contrib/llvm/lib/Transforms/Utils/ |
H A D | SimplifyLibCalls.cpp | 309 Value *StrLen = EmitStrLen(Src, B, TD, TLI); local 310 return StrLen ? B.CreateInBoundsGEP(Dst, StrLen) : 0; 686 Value *StrLen = EmitStrLen(Src, B, TD, TLI); local 687 return StrLen ? B.CreateInBoundsGEP(Dst, StrLen) : 0; 907 Value *StrLen = EmitStrLen(CI->getArgOperand(1), B, TD, TLI); local 908 if (!StrLen) 911 StrLen, B, TD, TLI); 1963 static StrLenOpt StrLen; member in namespace:llvm [all...] |
H A D | BuildLibCalls.cpp | 48 Constant *StrLen = M->getOrInsertFunction("strlen", local 54 CallInst *CI = B.CreateCall(StrLen, CastToCStr(Ptr, B), "strlen"); 55 if (const Function *F = dyn_cast<Function>(StrLen->stripPointerCasts()))
|
/freebsd-10.3-release/contrib/llvm/tools/clang/lib/Basic/ |
H A D | Diagnostic.cpp | 438 template <std::size_t StrLen> 440 const char (&Str)[StrLen]) { 441 return StrLen-1 == ModifierLen && !memcmp(Modifier, Str, StrLen-1);
|
/freebsd-10.3-release/sys/dev/hptmv/ |
H A D | global.h | 161 #define StrLen strlen macro
|
/freebsd-10.3-release/contrib/llvm/lib/Analysis/ |
H A D | ConstantFolding.cpp | 498 unsigned StrLen = Str.size(); local 503 if ((NumBits >> 3) == StrLen + 1 && (NumBits & 7) == 0 && 508 for (signed i = StrLen-1; i >= 0; i--) { 513 for (unsigned i = 0; i < StrLen; i++) {
|
/freebsd-10.3-release/contrib/llvm/tools/clang/lib/Sema/ |
H A D | SemaInit.cpp | 2118 uint64_t StrLen = SL->getLength(); local 2119 if (cast<ConstantArrayType>(AT)->getSize().ult(StrLen)) 2120 StrLen = cast<ConstantArrayType>(AT)->getSize().getZExtValue(); 2121 StructuredList->resizeInits(Context, StrLen); 2125 for (unsigned i = 0, e = StrLen; i != e; ++i) { 2140 uint64_t StrLen = Str.size(); local 2141 if (cast<ConstantArrayType>(AT)->getSize().ult(StrLen)) 2142 StrLen = cast<ConstantArrayType>(AT)->getSize().getZExtValue(); 2143 StructuredList->resizeInits(Context, StrLen); 2147 for (unsigned i = 0, e = StrLen; [all...] |
H A D | SemaChecking.cpp | 3559 unsigned StrLen = StrRef.size(); local 3563 if (StrLen == 0 && numDataArgs > 0) { 3577 if (!analyze_format_string::ParsePrintfString(H, Str, Str + StrLen, 3586 if (!analyze_format_string::ParseScanfString(H, Str, Str + StrLen,
|
/freebsd-10.3-release/contrib/llvm/tools/clang/lib/AST/ |
H A D | ItaniumMangle.cpp | 3483 template <std::size_t StrLen> 3485 const char (&Str)[StrLen]) {
|
/freebsd-10.3-release/contrib/llvm/tools/clang/lib/Serialization/ |
H A D | ASTReader.cpp | 6611 unsigned StrLen = (((unsigned) StrLenPtr[0]) local 6614 = &PP.getIdentifierTable().get(StringRef(Str, StrLen));
|