Home
last modified time | relevance | path

Searched refs:StrChr (Results 1 – 8 of 8) sorted by relevance

/external/compiler-rt/lib/asan/tests/
Dasan_test.cc1054 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/
DBuildLibCalls.cpp101 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/
Dplatform.h258 static char* StrChr(char* str, int c);
Dplatform-posix.cc343 char* OS::StrChr(char* str, int c) { in StrChr() function in v8::internal::OS
Dplatform-win32.cc805 char* OS::StrChr(char* str, int c) { in StrChr() function in v8::internal::OS
Dd8.cc1048 char* next = i::OS::StrChr(data, token); in ReadToken()
Dhydrogen.cc8177 OS::StrChr(const_cast<char*>(FLAG_trace_phase), name_[0]) != NULL) { in End()
/external/llvm/lib/Transforms/Scalar/
DSimplifyLibCalls.cpp774 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()