OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:StrChr
(Results
1 - 8
of
8
) sorted by null
/external/compiler-rt/lib/asan/tests/
asan_str_test.cc
182
// Users may have different definitions of "
strchr
" and "index", so provide
189
UNUSED static void RunStrChrTest(PointerToStrChr1
StrChr
) {
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
) {
[
all
...]
/external/chromium_org/v8/src/base/platform/
platform.h
264
static char*
StrChr
(char* str, int c);
platform-posix.cc
433
char* OS::
StrChr
(char* str, int c) {
434
return
strchr
(str, c);
598
char* period_pos =
strchr
(buffer, '.');
platform-win32.cc
676
char* OS::
StrChr
(char* str, int c) {
677
return const_cast<char*>(
strchr
(str, c));
[
all
...]
/external/llvm/lib/Transforms/Utils/
BuildLibCalls.cpp
92
/// EmitStrChr - Emit a call to the
strchr
function to the builder, for the
97
if (!TLI->has(LibFunc::
strchr
))
108
Constant *
StrChr
= M->getOrInsertFunction("
strchr
",
112
CallInst *CI = B.CreateCall2(
StrChr
, CastToCStr(Ptr, B),
113
ConstantInt::get(I32Ty, C), "
strchr
");
114
if (const Function *F = dyn_cast<Function>(
StrChr
->stripPointerCasts()))
SimplifyLibCalls.cpp
476
// Verify the "
strchr
" function prototype.
506
if (DL && CharC->isZero()) //
strchr
(p, 0) -> p + strlen(p)
507
return B.CreateGEP(SrcStr, EmitStrLen(SrcStr, B, DL, TLI), "
strchr
");
515
if (I == StringRef::npos) // Didn't find the char.
strchr
returns null.
518
//
strchr
(s+n,c) -> gep(s+n+i,c)
519
return B.CreateGEP(SrcStr, B.getInt64(I), "
strchr
");
543
// strrchr(s, 0) ->
strchr
(s, 0)
839
// strpbrk(s, "a") ->
strchr
(s, 'a')
[
all
...]
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/
shlwapi.h
142
#define
StrChr
__MINGW_NAME_AW(
StrChr
)
[
all
...]
/external/chromium_org/v8/src/
compiler.cc
[
all
...]
Completed in 173 milliseconds