Searched refs:StrChr (Results 1 – 8 of 8) sorted by relevance
/external/compiler-rt/lib/asan/tests/ |
D | asan_test.cc | 1054 void RunStrChrTest(PointerToStrChr StrChr) { in RunStrChrTest() argument 1059 EXPECT_EQ(str, StrChr(str, 'z')); in RunStrChrTest() 1060 EXPECT_EQ(str + 10, StrChr(str, 'q')); in RunStrChrTest() 1061 EXPECT_EQ(NULL, StrChr(str, 'a')); in RunStrChrTest() 1063 EXPECT_DEATH(Ident(StrChr(str - 1, 'z')), LeftOOBErrorMessage(1)); in RunStrChrTest() 1064 EXPECT_DEATH(Ident(StrChr(str + size, 'z')), RightOOBErrorMessage(0)); in RunStrChrTest() 1067 EXPECT_DEATH(Ident(StrChr(str, 'a')), RightOOBErrorMessage(0)); in RunStrChrTest()
|
/external/llvm/lib/Transforms/Utils/ |
D | BuildLibCalls.cpp | 101 Constant *StrChr = M->getOrInsertFunction("strchr", AttrListPtr::get(AWI), in EmitStrChr() local 103 CallInst *CI = B.CreateCall2(StrChr, CastToCStr(Ptr, B), in EmitStrChr() 105 if (const Function *F = dyn_cast<Function>(StrChr->stripPointerCasts())) in EmitStrChr()
|
/external/v8/src/ |
D | platform.h | 258 static char* StrChr(char* str, int c);
|
D | platform-posix.cc | 343 char* OS::StrChr(char* str, int c) { in StrChr() function in v8::internal::OS
|
D | platform-win32.cc | 805 char* OS::StrChr(char* str, int c) { in StrChr() function in v8::internal::OS
|
D | d8.cc | 1048 char* next = i::OS::StrChr(data, token); in ReadToken()
|
D | hydrogen.cc | 8177 OS::StrChr(const_cast<char*>(FLAG_trace_phase), name_[0]) != NULL) { in End()
|
/external/llvm/lib/Transforms/Scalar/ |
D | SimplifyLibCalls.cpp | 774 Value *StrChr= EmitStrChr(CI->getArgOperand(0), ToFindStr[0], B, TD, TLI); in CallOptimizer() local 775 return StrChr ? B.CreateBitCast(StrChr, CI->getType()) : 0; in CallOptimizer() 1565 StrCatOpt StrCat; StrNCatOpt StrNCat; StrChrOpt StrChr; StrRChrOpt StrRChr; member in __anone3bcf12e0311::SimplifyLibCalls 1642 Optimizations["strchr"] = &StrChr; in InitOptimizations()
|