Home
last modified time | relevance | path

Searched refs:StrLen (Results 1 – 18 of 18) sorted by relevance

/external/zlib/src/contrib/pascal/
Dexample.pas61 len := StrLen(hello)+1;
90 len := StrLen(hello)+1;
162 uncomprLen := StrLen(PChar(uncompr));
189 len := StrLen(hello)+1;
373 len := StrLen(hello)+1;
461 err := deflateSetDictionary(c_stream, dictionary, StrLen(dictionary));
469 c_stream.avail_in := StrLen(hello)+1;
513 err := inflateSetDictionary(d_stream, dictionary, StrLen(dictionary));
/external/libcxx/test/std/experimental/string.view/string.view.cons/
Dfrom_literal.pass.cpp24 size_t StrLen ( const CharT *s ) { in StrLen() function
33 assert ( sv1.size() == StrLen( s )); in test()
/external/pdfium/third_party/lcms2-2.6/src/
Dcmsnamed.c350 cmsUInt32Number StrLen = 0; in cmsMLUgetASCII() local
360 Wide = _cmsMLUgetWide(mlu, &StrLen, Lang, Cntry, NULL, NULL); in cmsMLUgetASCII()
363 ASCIIlen = StrLen / sizeof(wchar_t); in cmsMLUgetASCII()
395 cmsUInt32Number StrLen = 0; in cmsMLUgetWide() local
403 Wide = _cmsMLUgetWide(mlu, &StrLen, Lang, Cntry, NULL, NULL); in cmsMLUgetWide()
407 if (Buffer == NULL) return StrLen + sizeof(wchar_t); in cmsMLUgetWide()
413 if (BufferSize < StrLen + sizeof(wchar_t)) in cmsMLUgetWide()
414 StrLen = BufferSize - + sizeof(wchar_t); in cmsMLUgetWide()
416 memmove(Buffer, Wide, StrLen); in cmsMLUgetWide()
417 Buffer[StrLen / sizeof(wchar_t)] = 0; in cmsMLUgetWide()
[all …]
/external/clang/include/clang/Basic/
DIdentifierTable.h89 template <std::size_t StrLen>
90 bool isStr(const char (&Str)[StrLen]) const { in isStr() argument
91 return getLength() == StrLen-1 && !memcmp(getNameStart(), Str, StrLen-1); in isStr()
/external/llvm/include/llvm/ADT/
DStringMap.h32 unsigned StrLen; variable
35 explicit StringMapEntryBase(unsigned Len) : StrLen(Len) {} in StringMapEntryBase()
37 unsigned getKeyLength() const { return StrLen; } in getKeyLength()
/external/clang/include/clang/Sema/
DTypoCorrection.h188 template<std::size_t StrLen>
189 bool isKeyword(const char (&Str)[StrLen]) const { in isKeyword() argument
/external/clang/lib/Basic/
DDiagnostic.cpp410 template <std::size_t StrLen>
412 const char (&Str)[StrLen]) { in ModifierIs() argument
413 return StrLen-1 == ModifierLen && !memcmp(Modifier, Str, StrLen-1); in ModifierIs()
/external/llvm/lib/Transforms/Utils/
DBuildLibCalls.cpp48 Constant *StrLen = M->getOrInsertFunction( in EmitStrLen() local
51 CallInst *CI = B.CreateCall(StrLen, CastToCStr(Ptr, B), "strlen"); in EmitStrLen()
52 if (const Function *F = dyn_cast<Function>(StrLen->stripPointerCasts())) in EmitStrLen()
DSimplifyLibCalls.cpp482 Value *StrLen = EmitStrLen(Src, B, DL, TLI); in optimizeStpCpy() local
483 return StrLen ? B.CreateInBoundsGEP(B.getInt8Ty(), Dst, StrLen) : nullptr; in optimizeStpCpy()
703 Value *StrLen = EmitStrLen(CI->getArgOperand(1), B, DL, TLI); in optimizeStrStr() local
704 if (!StrLen) in optimizeStrStr()
707 StrLen, B, DL, TLI); in optimizeStrStr()
2479 Value *StrLen = EmitStrLen(Src, B, DL, TLI); in optimizeStrpCpyChk() local
2480 return StrLen ? B.CreateInBoundsGEP(B.getInt8Ty(), Dst, StrLen) : nullptr; in optimizeStrpCpyChk()
/external/libbrillo/brillo/dbus/
Ddbus_object_unittest.cc66 int StrLen(const std::string& str) { in StrLen() function
128 itf2->AddSimpleMethodHandler(kTestMethod_StrLen, StrLen); in SetUp()
/external/vulkan-validation-layers/windowsRuntimeInstaller/
DInstallerRT.nsi132 StrLen $R4 $R1
133 StrLen $R6 $R0
134 StrLen $R9 $R2
146 StrLen $R6 $R0
/external/avahi/avahi-compat-howl/include/salt/
Dplatform.h231 # define sw_strlen(ARG1) StrLen(ARG1)
/external/llvm/lib/Analysis/
DConstantFolding.cpp561 unsigned StrLen = Str.size(); in ConstantFoldLoadFromConstPtr() local
566 if ((NumBits >> 3) == StrLen + 1 && (NumBits & 7) == 0 && in ConstantFoldLoadFromConstPtr()
571 for (signed i = StrLen-1; i >= 0; i--) { in ConstantFoldLoadFromConstPtr()
576 for (unsigned i = 0; i < StrLen; i++) { in ConstantFoldLoadFromConstPtr()
/external/clang/lib/Sema/
DSemaInit.cpp2406 uint64_t StrLen = SL->getLength(); in CheckDesignatedInitializer() local
2407 if (cast<ConstantArrayType>(AT)->getSize().ult(StrLen)) in CheckDesignatedInitializer()
2408 StrLen = cast<ConstantArrayType>(AT)->getSize().getZExtValue(); in CheckDesignatedInitializer()
2409 StructuredList->resizeInits(Context, StrLen); in CheckDesignatedInitializer()
2413 for (unsigned i = 0, e = StrLen; i != e; ++i) { in CheckDesignatedInitializer()
2428 uint64_t StrLen = Str.size(); in CheckDesignatedInitializer() local
2429 if (cast<ConstantArrayType>(AT)->getSize().ult(StrLen)) in CheckDesignatedInitializer()
2430 StrLen = cast<ConstantArrayType>(AT)->getSize().getZExtValue(); in CheckDesignatedInitializer()
2431 StructuredList->resizeInits(Context, StrLen); in CheckDesignatedInitializer()
2435 for (unsigned i = 0, e = StrLen; i != e; ++i) { in CheckDesignatedInitializer()
DSemaChecking.cpp4683 size_t StrLen = std::min(std::max(TypeSize, size_t(1)) - 1, StrRef.size()); in CheckFormatString() local
4699 if (StrLen == 0 && numDataArgs > 0) { in CheckFormatString()
4714 if (!analyze_format_string::ParsePrintfString(H, Str, Str + StrLen, in CheckFormatString()
4724 if (!analyze_format_string::ParseScanfString(H, Str, Str + StrLen, in CheckFormatString()
4739 size_t StrLen = std::min(std::max(TypeSize, size_t(1)) - 1, StrRef.size()); in FormatStringHasSArg() local
4740 return analyze_format_string::ParseFormatStringHasSArg(Str, Str + StrLen, in FormatStringHasSArg()
/external/clang/lib/AST/
DItaniumMangle.cpp3893 template <std::size_t StrLen>
3895 const char (&Str)[StrLen]) { in isStreamCharSpecialization() argument
/external/llvm/lib/Bitcode/Writer/
DBitcodeWriter.cpp2197 static StringEncoding getStringEncoding(const char *Str, unsigned StrLen) { in getStringEncoding() argument
2199 for (const char *C = Str, *E = C + StrLen; C != E; ++C) { in getStringEncoding()
/external/clang/lib/Serialization/
DASTReader.cpp7429 unsigned StrLen = (((unsigned) StrLenPtr[0]) in DecodeIdentifierInfo() local
7432 = &PP.getIdentifierTable().get(StringRef(Str, StrLen)); in DecodeIdentifierInfo()