HomeSort by relevance Sort by last modified time
    Searched defs:StrChr (Results 1 - 5 of 5) sorted by null

  /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...]
  /external/chromium_org/v8/src/base/platform/
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...]
  /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...]

Completed in 569 milliseconds