/external/compiler-rt/lib/asan/tests/ |
D | asan_str_test.cc | 220 static void RunStrChrTestImpl(StrChrFn *StrChr) { in RunStrChrTestImpl() argument 225 EXPECT_EQ(str, StrChr(str, 'z')); in RunStrChrTestImpl() 226 EXPECT_EQ(str + 10, StrChr(str, 'q')); in RunStrChrTestImpl() 227 EXPECT_EQ(NULL, StrChr(str, 'a')); in RunStrChrTestImpl() 229 EXPECT_DEATH(Ident(StrChr(str - 1, 'z')), LeftOOBReadMessage(1)); in RunStrChrTestImpl() 230 EXPECT_DEATH(Ident(StrChr(str + size, 'z')), RightOOBReadMessage(0)); in RunStrChrTestImpl() 233 EXPECT_DEATH(Ident(StrChr(str, 'a')), RightOOBReadMessage(0)); in RunStrChrTestImpl() 238 UNUSED static void RunStrChrTest(PointerToStrChr1 StrChr, ...) { in RunStrChrTest() argument 239 RunStrChrTestImpl(StrChr); in RunStrChrTest() 241 UNUSED static void RunStrChrTest(PointerToStrChr2 StrChr, int) { in RunStrChrTest() argument [all …]
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/ |
D | BuildLibCalls.cpp | 63 Constant *StrChr = M->getOrInsertFunction("strchr", AttrListPtr::get(&AWI, 1), in EmitStrChr() local 65 CallInst *CI = B.CreateCall2(StrChr, CastToCStr(Ptr, B), in EmitStrChr() 67 if (const Function *F = dyn_cast<Function>(StrChr->stripPointerCasts())) in EmitStrChr()
|
/external/v8/src/base/platform/ |
D | platform.h | 207 static char* StrChr(char* str, int c);
|
D | platform-posix.cc | 671 char* OS::StrChr(char* str, int c) { in StrChr() function in v8::base::OS
|
D | platform-win32.cc | 673 char* OS::StrChr(char* str, int c) { in StrChr() function in v8::base::OS
|
/external/llvm/lib/Transforms/Utils/ |
D | BuildLibCalls.cpp | 742 Constant *StrChr = in emitStrChr() local 746 StrChr, {castToCStr(Ptr, B), ConstantInt::get(I32Ty, C)}, "strchr"); in emitStrChr() 747 if (const Function *F = dyn_cast<Function>(StrChr->stripPointerCasts())) in emitStrChr()
|
D | SimplifyLibCalls.cpp | 612 Value *StrChr = emitStrChr(CI->getArgOperand(0), ToFindStr[0], B, TLI); in optimizeStrStr() local 613 return StrChr ? B.CreateBitCast(StrChr, CI->getType()) : nullptr; in optimizeStrStr()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
D | BuildLibCalls.cpp | 787 Constant *StrChr = in emitStrChr() local 791 StrChr, {castToCStr(Ptr, B), ConstantInt::get(I32Ty, C)}, StrChrName); in emitStrChr() 792 if (const Function *F = dyn_cast<Function>(StrChr->stripPointerCasts())) in emitStrChr()
|
D | SimplifyLibCalls.cpp | 681 Value *StrChr = emitStrChr(CI->getArgOperand(0), ToFindStr[0], B, TLI); in optimizeStrStr() local 682 return StrChr ? B.CreateBitCast(StrChr, CI->getType()) : nullptr; in optimizeStrStr()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/ |
D | SimplifyLibCalls.cpp | 1454 StrCatOpt StrCat; StrNCatOpt StrNCat; StrChrOpt StrChr; StrRChrOpt StrRChr; member in __anon0f7d73dd0311::SimplifyLibCalls 1511 Optimizations["strchr"] = &StrChr; in InitOptimizations()
|