Searched refs:StrChr (Results 1 – 9 of 9) sorted by relevance
/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/v8/src/crankshaft/ |
D | compilation-phase.cc | 40 base::OS::StrChr(const_cast<char*>(FLAG_trace_phase), name_[0]) != in ShouldProduceTraceOutput()
|
/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 | 241 static char* StrChr(char* str, int c);
|
D | platform-posix.cc | 532 char* OS::StrChr(char* str, int c) { in StrChr() function in v8::base::OS
|
D | platform-win32.cc | 669 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/lib/Transforms/Scalar/ |
D | SimplifyLibCalls.cpp | 1454 StrCatOpt StrCat; StrNCatOpt StrNCat; StrChrOpt StrChr; StrRChrOpt StrRChr; member in __anon8ab0c8510311::SimplifyLibCalls 1511 Optimizations["strchr"] = &StrChr; in InitOptimizations()
|