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

  /external/libcxx/test/std/experimental/string.view/string.view.cons/
from_literal.pass.cpp 24 size_t StrLen ( const CharT *s ) {
33 assert ( sv1.size() == StrLen( s ));
  /external/llvm/lib/Transforms/Utils/
BuildLibCalls.cpp 34 /// EmitStrLen - Emit a call to the strlen function to the builder, for the
38 if (!TLI->has(LibFunc::strlen))
48 Constant *StrLen = M->getOrInsertFunction(
49 "strlen", AttributeSet::get(M->getContext(), AS),
51 CallInst *CI = B.CreateCall(StrLen, CastToCStr(Ptr, B), "strlen");
52 if (const Function *F = dyn_cast<Function>(StrLen->stripPointerCasts()))
SimplifyLibCalls.cpp 59 case LibFunc::strlen:
217 // memory is to be moved to. We just generate a call to strlen.
305 if (CharC->isZero()) // strchr(p, 0) -> p + strlen(p)
311 // zero (a weird way to spell strlen).
477 if (Dst == Src) { // stpcpy(x,x) -> x+strlen(x)
478 Value *StrLen = EmitStrLen(Src, B, DL, TLI);
479 return StrLen ? B.CreateInBoundsGEP(B.getInt8Ty(), Dst, StrLen) : nullptr;
550 // Constant folding: strlen("xyz") -> 3
554 // strlen(x?"foo":"bars") --> x ? 3 :
    [all...]
  /external/llvm/include/llvm/ADT/
StringMap.h 32 unsigned StrLen;
34 explicit StringMapEntryBase(unsigned Len) : StrLen(Len) {}
36 unsigned getKeyLength() const { return StrLen; }
118 explicit StringMapEntry(unsigned strLen)
119 : StringMapEntryBase(strLen), second() {}
121 StringMapEntry(unsigned strLen, InitTy &&V)
122 : StringMapEntryBase(strLen), second(std::forward<InitTy>(V)) {}
  /external/pdfium/core/src/fxcodec/lcms2/lcms2-2.6/src/
cmsnamed.c 185 cmsUInt32Number i, len = (cmsUInt32Number) strlen(ASCIIString)+1;
350 cmsUInt32Number StrLen = 0;
360 Wide = _cmsMLUgetWide(mlu, &StrLen, Lang, Cntry, NULL, NULL);
363 ASCIIlen = StrLen / sizeof(wchar_t);
395 cmsUInt32Number StrLen = 0;
403 Wide = _cmsMLUgetWide(mlu, &StrLen, Lang, Cntry, NULL, NULL);
407 if (Buffer == NULL) return StrLen + sizeof(wchar_t);
413 if (BufferSize < StrLen + sizeof(wchar_t))
414 StrLen = BufferSize - + sizeof(wchar_t);
416 memmove(Buffer, Wide, StrLen);
    [all...]
  /external/llvm/lib/Analysis/
ConstantFolding.cpp 558 unsigned StrLen = Str.size();
563 if ((NumBits >> 3) == StrLen + 1 && (NumBits & 7) == 0 &&
568 for (signed i = StrLen-1; i >= 0; i--) {
573 for (unsigned i = 0; i < StrLen; i++) {
    [all...]
  /external/clang/lib/Sema/
SemaInit.cpp     [all...]
SemaChecking.cpp     [all...]
  /external/clang/lib/Serialization/
ASTReader.cpp     [all...]

Completed in 114 milliseconds