Home
last modified time | relevance | path

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

/external/compiler-rt/lib/asan/tests/
Dasan_str_test.cc189 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/
DBuildLibCalls.cpp73 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()
DSimplifyLibCalls.cpp744 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/
Dplatform.h230 static char* StrChr(char* str, int c);
Dplatform-posix.cc512 char* OS::StrChr(char* str, int c) { in StrChr() function in v8::base::OS
Dplatform-win32.cc669 char* OS::StrChr(char* str, int c) { in StrChr() function in v8::base::OS
/external/avahi/avahi-compat-howl/include/salt/
Dplatform.h224 # define sw_strchr(ARG1, ARG2) StrChr(ARG1, ARG2)
/external/v8/src/
Dcompiler.cc1854 base::OS::StrChr(const_cast<char*>(FLAG_trace_phase), name_[0]) != NULL); in ShouldProduceTraceOutput()