Searched refs:StrChr (Results 1 - 7 of 7) sorted by relevance

/external/compiler-rt/lib/asan/tests/
H A Dasan_str_test.cc189 UNUSED static void RunStrChrTest(PointerToStrChr1 StrChr) { argument
194 EXPECT_EQ(str, StrChr(str, 'z'));
195 EXPECT_EQ(str + 10, StrChr(str, 'q'));
196 EXPECT_EQ(NULL, StrChr(str, 'a'));
197 // StrChr argument points to not allocated memory.
198 EXPECT_DEATH(Ident(StrChr(str - 1, 'z')), LeftOOBReadMessage(1));
199 EXPECT_DEATH(Ident(StrChr(str + size, 'z')), RightOOBReadMessage(0));
202 EXPECT_DEATH(Ident(StrChr(str, 'a')), RightOOBReadMessage(0));
205 UNUSED static void RunStrChrTest(PointerToStrChr2 StrChr) { argument
210 EXPECT_EQ(str, StrChr(st
[all...]
/external/chromium_org/v8/src/base/platform/
H A Dplatform.h264 static char* StrChr(char* str, int c);
H A Dplatform-posix.cc433 char* OS::StrChr(char* str, int c) { function in class:v8::base::OS
H A Dplatform-win32.cc676 char* OS::StrChr(char* str, int c) { function in class:v8::base::OS
/external/llvm/lib/Transforms/Utils/
H A DBuildLibCalls.cpp108 Constant *StrChr = M->getOrInsertFunction("strchr", local
112 CallInst *CI = B.CreateCall2(StrChr, CastToCStr(Ptr, B),
114 if (const Function *F = dyn_cast<Function>(StrChr->stripPointerCasts()))
H A DSimplifyLibCalls.cpp987 Value *StrChr= EmitStrChr(CI->getArgOperand(0), ToFindStr[0], B, DL, TLI); variable
988 return StrChr ? B.CreateBitCast(StrChr, CI->getType()) : nullptr;
2062 static StrChrOpt StrChr; member in namespace:llvm
2131 return &StrChr;
/external/chromium_org/v8/src/
H A Dcompiler.cc1434 base::OS::StrChr(const_cast<char*>(FLAG_trace_phase), name_[0]) != NULL);

Completed in 1595 milliseconds