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