/external/zlib/src/contrib/pascal/ |
D | example.pas | 61 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/ |
D | from_literal.pass.cpp | 24 size_t StrLen ( const CharT *s ) { in StrLen() function 33 assert ( sv1.size() == StrLen( s )); in test()
|
/external/pdfium/core/src/fxcodec/lcms2/lcms2-2.6/src/ |
D | cmsnamed.c | 350 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/ |
D | IdentifierTable.h | 88 template <std::size_t StrLen> 89 bool isStr(const char (&Str)[StrLen]) const { in isStr() argument 90 return getLength() == StrLen-1 && !memcmp(getNameStart(), Str, StrLen-1); in isStr()
|
/external/llvm/include/llvm/ADT/ |
D | StringMap.h | 32 unsigned StrLen; variable 34 explicit StringMapEntryBase(unsigned Len) : StrLen(Len) {} in StringMapEntryBase() 36 unsigned getKeyLength() const { return StrLen; } in getKeyLength()
|
/external/clang/include/clang/Sema/ |
D | TypoCorrection.h | 188 template<std::size_t StrLen> 189 bool isKeyword(const char (&Str)[StrLen]) const { in isKeyword() argument
|
/external/clang/lib/Basic/ |
D | Diagnostic.cpp | 397 template <std::size_t StrLen> 399 const char (&Str)[StrLen]) { in ModifierIs() argument 400 return StrLen-1 == ModifierLen && !memcmp(Modifier, Str, StrLen-1); in ModifierIs()
|
/external/llvm/lib/Transforms/Utils/ |
D | BuildLibCalls.cpp | 48 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()
|
D | SimplifyLibCalls.cpp | 478 Value *StrLen = EmitStrLen(Src, B, DL, TLI); in optimizeStpCpy() local 479 return StrLen ? B.CreateInBoundsGEP(B.getInt8Ty(), Dst, StrLen) : nullptr; in optimizeStpCpy() 701 Value *StrLen = EmitStrLen(CI->getArgOperand(1), B, DL, TLI); in optimizeStrStr() local 702 if (!StrLen) in optimizeStrStr() 705 StrLen, B, DL, TLI); in optimizeStrStr() 2278 Value *StrLen = EmitStrLen(Src, B, DL, TLI); in optimizeStrpCpyChk() local 2279 return StrLen ? B.CreateInBoundsGEP(B.getInt8Ty(), Dst, StrLen) : nullptr; in optimizeStrpCpyChk()
|
/external/llvm/lib/Analysis/ |
D | ConstantFolding.cpp | 558 unsigned StrLen = Str.size(); in ConstantFoldLoadFromConstPtr() local 563 if ((NumBits >> 3) == StrLen + 1 && (NumBits & 7) == 0 && in ConstantFoldLoadFromConstPtr() 568 for (signed i = StrLen-1; i >= 0; i--) { in ConstantFoldLoadFromConstPtr() 573 for (unsigned i = 0; i < StrLen; i++) { in ConstantFoldLoadFromConstPtr()
|
/external/clang/lib/Sema/ |
D | SemaInit.cpp | 2267 uint64_t StrLen = SL->getLength(); in CheckDesignatedInitializer() local 2268 if (cast<ConstantArrayType>(AT)->getSize().ult(StrLen)) in CheckDesignatedInitializer() 2269 StrLen = cast<ConstantArrayType>(AT)->getSize().getZExtValue(); in CheckDesignatedInitializer() 2270 StructuredList->resizeInits(Context, StrLen); in CheckDesignatedInitializer() 2274 for (unsigned i = 0, e = StrLen; i != e; ++i) { in CheckDesignatedInitializer() 2289 uint64_t StrLen = Str.size(); in CheckDesignatedInitializer() local 2290 if (cast<ConstantArrayType>(AT)->getSize().ult(StrLen)) in CheckDesignatedInitializer() 2291 StrLen = cast<ConstantArrayType>(AT)->getSize().getZExtValue(); in CheckDesignatedInitializer() 2292 StructuredList->resizeInits(Context, StrLen); in CheckDesignatedInitializer() 2296 for (unsigned i = 0, e = StrLen; i != e; ++i) { in CheckDesignatedInitializer()
|
D | SemaChecking.cpp | 4208 size_t StrLen = std::min(std::max(TypeSize, size_t(1)) - 1, StrRef.size()); in CheckFormatString() local 4224 if (StrLen == 0 && numDataArgs > 0) { in CheckFormatString() 4239 if (!analyze_format_string::ParsePrintfString(H, Str, Str + StrLen, in CheckFormatString() 4249 if (!analyze_format_string::ParseScanfString(H, Str, Str + StrLen, in CheckFormatString() 4264 size_t StrLen = std::min(std::max(TypeSize, size_t(1)) - 1, StrRef.size()); in FormatStringHasSArg() local 4265 return analyze_format_string::ParseFormatStringHasSArg(Str, Str + StrLen, in FormatStringHasSArg()
|
/external/clang/lib/AST/ |
D | ItaniumMangle.cpp | 3716 template <std::size_t StrLen> 3718 const char (&Str)[StrLen]) { in isStreamCharSpecialization() argument
|
/external/clang/lib/Serialization/ |
D | ASTReader.cpp | 7552 unsigned StrLen = (((unsigned) StrLenPtr[0]) in DecodeIdentifierInfo() local 7555 = &PP.getIdentifierTable().get(StringRef(Str, StrLen)); in DecodeIdentifierInfo()
|