Searched refs:StrChr (Results 1 – 8 of 8) sorted by relevance
/external/compiler-rt/lib/asan/tests/ |
D | asan_str_test.cc | 189 UNUSED static void RunStrChrTest(PointerToStrChr1 StrChr) { in RunStrChrTest() argument 194 EXPECT_EQ(str, StrChr(str, 'z')); in RunStrChrTest() 195 EXPECT_EQ(str + 10, StrChr(str, 'q')); in RunStrChrTest() 196 EXPECT_EQ(NULL, StrChr(str, 'a')); in RunStrChrTest() 198 EXPECT_DEATH(Ident(StrChr(str - 1, 'z')), LeftOOBReadMessage(1)); in RunStrChrTest() 199 EXPECT_DEATH(Ident(StrChr(str + size, 'z')), RightOOBReadMessage(0)); in RunStrChrTest() 202 EXPECT_DEATH(Ident(StrChr(str, 'a')), RightOOBReadMessage(0)); in RunStrChrTest() 205 UNUSED static void RunStrChrTest(PointerToStrChr2 StrChr) { in RunStrChrTest() argument 210 EXPECT_EQ(str, StrChr(str, 'z')); in RunStrChrTest() 211 EXPECT_EQ(str + 10, StrChr(str, 'q')); in RunStrChrTest() [all …]
|
/external/llvm/lib/Transforms/Utils/ |
D | BuildLibCalls.cpp | 73 Constant *StrChr = M->getOrInsertFunction("strchr", in EmitStrChr() local 78 StrChr, {CastToCStr(Ptr, B), ConstantInt::get(I32Ty, C)}, "strchr"); in EmitStrChr() 79 if (const Function *F = dyn_cast<Function>(StrChr->stripPointerCasts())) in EmitStrChr()
|
D | SimplifyLibCalls.cpp | 744 Value *StrChr = EmitStrChr(CI->getArgOperand(0), ToFindStr[0], B, TLI); in optimizeStrStr() local 745 return StrChr ? B.CreateBitCast(StrChr, CI->getType()) : nullptr; in optimizeStrStr()
|
/external/v8/src/base/platform/ |
D | platform.h | 230 static char* StrChr(char* str, int c);
|
D | platform-posix.cc | 512 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/avahi/avahi-compat-howl/include/salt/ |
D | platform.h | 224 # define sw_strchr(ARG1, ARG2) StrChr(ARG1, ARG2)
|
/external/v8/src/ |
D | compiler.cc | 1854 base::OS::StrChr(const_cast<char*>(FLAG_trace_phase), name_[0]) != NULL); in ShouldProduceTraceOutput()
|