/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/ |
D | MisplacedOperatorInStrlenInAllocCheck.cpp | 83 const auto *StrLen = Result.Nodes.getNodeAs<CallExpr>("StrLen"); in check() local 87 CharSourceRange::getTokenRange(StrLen->getSourceRange()), in check() 90 CharSourceRange::getTokenRange(StrLen->getArg(0)->getSourceRange()), in check() 104 StrLen->getSourceRange(), in check() 110 << StrLen->getDirectCallee()->getName() << Hint; in check()
|
/external/rust/crates/libz-sys/src/zlib/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/llvm-project/libcxx/test/std/strings/string.view/string.view.cons/ |
D | from_literal.pass.cpp | 24 size_t StrLen ( const CharT *s ) { in StrLen() function 37 assert ( sv1.size() == StrLen( s )); in test()
|
/external/libcxx/test/std/strings/string.view/string.view.cons/ |
D | from_literal.pass.cpp | 25 size_t StrLen ( const CharT *s ) { in StrLen() function 38 assert ( sv1.size() == StrLen( s )); in test()
|
/external/llvm-project/llvm/unittests/Remarks/ |
D | BitstreamRemarksParsingTest.cpp | 138 unsigned StrLen = Str.size(); in checkStr() local 139 EXPECT_EQ(StrLen, ExpectedLen); in checkStr() 140 return StringRef(StrData, StrLen); in checkStr() 228 unsigned StrLen = LLVMRemarkStringGetLen(Str); in checkStr() local 229 EXPECT_EQ(StrLen, ExpectedLen); in checkStr() 230 return StringRef(StrData, StrLen); in checkStr()
|
D | YAMLRemarksParsingTest.cpp | 380 unsigned StrLen = Str.size(); in checkStr() local 381 EXPECT_EQ(StrLen, ExpectedLen); in checkStr() 382 return StringRef(StrData, StrLen); in checkStr() 470 unsigned StrLen = LLVMRemarkStringGetLen(Str); in checkStr() local 471 EXPECT_EQ(StrLen, ExpectedLen); in checkStr() 472 return StringRef(StrData, StrLen); in checkStr()
|
/external/pdfium/third_party/lcms/src/ |
D | cmsnamed.c | 377 cmsUInt32Number StrLen = 0; in cmsMLUgetASCII() local 387 Wide = _cmsMLUgetWide(mlu, &StrLen, Lang, Cntry, NULL, NULL); in cmsMLUgetASCII() 390 ASCIIlen = StrLen / sizeof(wchar_t); in cmsMLUgetASCII() 422 cmsUInt32Number StrLen = 0; in cmsMLUgetWide() local 430 Wide = _cmsMLUgetWide(mlu, &StrLen, Lang, Cntry, NULL, NULL); in cmsMLUgetWide() 434 if (Buffer == NULL) return StrLen + sizeof(wchar_t); in cmsMLUgetWide() 440 if (BufferSize < StrLen + sizeof(wchar_t)) in cmsMLUgetWide() 441 StrLen = BufferSize - + sizeof(wchar_t); in cmsMLUgetWide() 443 memmove(Buffer, Wide, StrLen); in cmsMLUgetWide() 444 Buffer[StrLen / sizeof(wchar_t)] = 0; in cmsMLUgetWide() [all …]
|
/external/libcxx/test/std/input.output/filesystems/class.path/path.member/ |
D | path.concat.pass.cpp | 93 std::size_t ReserveSize = StrLen(E) + 1; in doConcatSourceAllocTest() 255 assert(StrLen(RStr) == 1); in doConcatECharTest() 358 PathReserve(LHS, StrLen(E) + 5); in main() 370 PathReserve(LHS, StrLen(E) + 5); in main()
|
/external/llvm-project/libcxx/test/std/input.output/filesystems/class.path/path.member/ |
D | path.concat.pass.cpp | 95 std::size_t ReserveSize = StrLen(E) + 1; in doConcatSourceAllocTest() 257 assert(StrLen(RStr) == 1); in doConcatECharTest() 360 PathReserve(LHS, StrLen(E) + 5); in main() 372 PathReserve(LHS, StrLen(E) + 5); in main()
|
/external/clang/include/clang/Basic/ |
D | IdentifierTable.h | 92 template <std::size_t StrLen> 93 bool isStr(const char (&Str)[StrLen]) const { in isStr() argument 94 return getLength() == StrLen-1 && !memcmp(getNameStart(), Str, StrLen-1); in isStr()
|
/external/llvm-project/clang/include/clang/Basic/ |
D | IdentifierTable.h | 140 template <std::size_t StrLen> 141 bool isStr(const char (&Str)[StrLen]) const { in isStr() argument 142 return getLength() == StrLen-1 && in isStr() 143 memcmp(getNameStart(), Str, StrLen-1) == 0; in isStr()
|
/external/swiftshader/third_party/subzero/src/ |
D | IceGlobalInits.h | 248 size_t StrLen) in DataInitializer() argument 249 : Initializer(DataInitializerKind), ContentsSize(StrLen), in DataInitializer() 251 for (size_t i = 0; i < StrLen; ++i) in DataInitializer()
|
/external/clang/include/clang/Sema/ |
D | TypoCorrection.h | 194 template<std::size_t StrLen> 195 bool isKeyword(const char (&Str)[StrLen]) const { in isKeyword() argument
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/ |
D | StringMap.h | 40 unsigned StrLen; variable 43 explicit StringMapEntryBase(unsigned Len) : StrLen(Len) {} in StringMapEntryBase() 45 unsigned getKeyLength() const { return StrLen; } in getKeyLength()
|
/external/llvm/include/llvm/ADT/ |
D | StringMap.h | 33 unsigned StrLen; variable 36 explicit StringMapEntryBase(unsigned Len) : StrLen(Len) {} in StringMapEntryBase() 38 unsigned getKeyLength() const { return StrLen; } in getKeyLength()
|
/external/llvm-project/clang/include/clang/Sema/ |
D | TypoCorrection.h | 207 template<std::size_t StrLen> 208 bool isKeyword(const char (&Str)[StrLen]) const { in isKeyword() argument
|
/external/llvm-project/llvm/lib/Target/BPF/ |
D | BTF.h | 85 uint32_t StrLen; ///< Length of string section member
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/BPF/ |
D | BTF.h | 85 uint32_t StrLen; ///< Length of string section member
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/ |
D | StringMap.h | 39 size_t StrLen; variable 42 explicit StringMapEntryBase(size_t Len) : StrLen(Len) {} in StringMapEntryBase() 44 size_t getKeyLength() const { return StrLen; } in getKeyLength()
|
/external/clang/lib/Basic/ |
D | Diagnostic.cpp | 411 template <std::size_t StrLen> 413 const char (&Str)[StrLen]) { in ModifierIs() argument 414 return StrLen-1 == ModifierLen && !memcmp(Modifier, Str, StrLen-1); in ModifierIs()
|
/external/llvm-project/clang/lib/Basic/ |
D | Diagnostic.cpp | 559 template <std::size_t StrLen> 561 const char (&Str)[StrLen]) { in ModifierIs() argument 562 return StrLen-1 == ModifierLen && memcmp(Modifier, Str, StrLen-1) == 0; in ModifierIs()
|
/external/llvm/lib/Transforms/Utils/ |
D | SimplifyLibCalls.cpp | 342 Value *StrLen = emitStrLen(Src, B, DL, TLI); in optimizeStpCpy() local 343 return StrLen ? B.CreateInBoundsGEP(B.getInt8Ty(), Dst, StrLen) : nullptr; in optimizeStpCpy() 571 Value *StrLen = emitStrLen(CI->getArgOperand(1), B, DL, TLI); in optimizeStrStr() local 572 if (!StrLen) in optimizeStrStr() 575 StrLen, B, DL, TLI); in optimizeStrStr() 2254 Value *StrLen = emitStrLen(Src, B, DL, TLI); in optimizeStrpCpyChk() local 2255 return StrLen ? B.CreateInBoundsGEP(B.getInt8Ty(), Dst, StrLen) : nullptr; in optimizeStrpCpyChk()
|
/external/avb/examples/uefi/ |
D | uefi_avb_ops.c | 134 partition_name_ucs2_len = StrLen(partition_name_ucs2); in find_partition_entry_by_name() 158 if ((partition_name_ucs2_len == StrLen(all_gpt_entries[n].name)) && in find_partition_entry_by_name()
|
/external/libbrillo/brillo/dbus/ |
D | dbus_object_test.cc | 66 int StrLen(const std::string& str) { in StrLen() function 132 itf2->AddSimpleMethodHandler(kTestMethod_StrLen, StrLen); in SetUp()
|
/external/llvm-project/llvm/lib/Transforms/Utils/ |
D | SimplifyLibCalls.cpp | 344 if (Value *StrLen = emitStrLen(SrcStr, B, DL, TLI)) in optimizeStrChr() local 345 return B.CreateGEP(B.getInt8Ty(), SrcStr, StrLen, "strchr"); in optimizeStrChr() 551 Value *StrLen = emitStrLen(Src, B, DL, TLI); in optimizeStpCpy() local 552 return StrLen ? B.CreateInBoundsGEP(B.getInt8Ty(), Dst, StrLen) : nullptr; in optimizeStpCpy() 829 Value *StrLen = emitStrLen(CI->getArgOperand(1), B, DL, TLI); in optimizeStrStr() local 830 if (!StrLen) in optimizeStrStr() 833 StrLen, B, DL, TLI); in optimizeStrStr() 3317 Value *StrLen = emitStrLen(Src, B, DL, TLI); in optimizeStrpCpyChk() local 3318 return StrLen ? B.CreateInBoundsGEP(B.getInt8Ty(), Dst, StrLen) : nullptr; in optimizeStrpCpyChk()
|