/external/llvm-project/compiler-rt/test/fuzzer/ |
D | SingleMemcmpTest.cpp | 13 const char *Needle = "Some long string"; in LLVMFuzzerTestOneInput() local 14 if (Size >= strlen(Needle) && !memcmp(S, Needle, strlen(Needle))) { in LLVMFuzzerTestOneInput()
|
/external/llvm-project/clang-tools-extra/clang-tidy/abseil/ |
D | StringFindStartswithCheck.cpp | 67 const auto *Needle = Result.Nodes.getNodeAs<Expr>("needle"); in check() local 68 assert(Needle != nullptr); in check() 79 CharSourceRange::getTokenRange(Needle->getSourceRange()), Source, in check()
|
/external/openscreen/third_party/abseil/src/absl/container/internal/ |
D | layout.h | 268 template <class Needle, class... Ts> 269 constexpr size_t Find(Needle, Needle, Ts...) { 270 static_assert(!Contains<Needle, Ts...>(), "Duplicate element type"); 274 template <class Needle, class T, class... Ts> 275 constexpr size_t Find(Needle, T, Ts...) { 276 return adl_barrier::Find(Needle(), Ts()...) + 1;
|
/external/abseil-cpp/absl/container/internal/ |
D | layout.h | 266 template <class Needle, class... Ts> 267 constexpr size_t Find(Needle, Needle, Ts...) { 268 static_assert(!Contains<Needle, Ts...>(), "Duplicate element type"); 272 template <class Needle, class T, class... Ts> 273 constexpr size_t Find(Needle, T, Ts...) { 274 return adl_barrier::Find(Needle(), Ts()...) + 1;
|
/external/angle/third_party/abseil-cpp/absl/container/internal/ |
D | layout.h | 268 template <class Needle, class... Ts> 269 constexpr size_t Find(Needle, Needle, Ts...) { 270 static_assert(!Contains<Needle, Ts...>(), "Duplicate element type"); 274 template <class Needle, class T, class... Ts> 275 constexpr size_t Find(Needle, T, Ts...) { 276 return adl_barrier::Find(Needle(), Ts()...) + 1;
|
/external/webrtc/third_party/abseil-cpp/absl/container/internal/ |
D | layout.h | 266 template <class Needle, class... Ts> 267 constexpr size_t Find(Needle, Needle, Ts...) { 268 static_assert(!Contains<Needle, Ts...>(), "Duplicate element type"); 272 template <class Needle, class T, class... Ts> 273 constexpr size_t Find(Needle, T, Ts...) { 274 return adl_barrier::Find(Needle(), Ts()...) + 1;
|
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/container/internal/ |
D | layout.h | 268 template <class Needle, class... Ts> 269 constexpr size_t Find(Needle, Needle, Ts...) { 270 static_assert(!Contains<Needle, Ts...>(), "Duplicate element type"); 274 template <class Needle, class T, class... Ts> 275 constexpr size_t Find(Needle, T, Ts...) { 276 return adl_barrier::Find(Needle(), Ts()...) + 1;
|
/external/libtextclassifier/abseil-cpp/absl/container/internal/ |
D | layout.h | 268 template <class Needle, class... Ts> 269 constexpr size_t Find(Needle, Needle, Ts...) { 270 static_assert(!Contains<Needle, Ts...>(), "Duplicate element type"); 274 template <class Needle, class T, class... Ts> 275 constexpr size_t Find(Needle, T, Ts...) { 276 return adl_barrier::Find(Needle(), Ts()...) + 1;
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | StringRef.cpp | 140 const char *Needle = Str.data(); in find() local 147 const char *Ptr = (const char *)::memchr(Start, Needle[0], Size); in find() 156 if (std::memcmp(Start, Needle, N) == 0) in find() 171 if (LLVM_UNLIKELY(Last == (uint8_t)Needle[N - 1])) in find() 172 if (std::memcmp(Start, Needle, N - 1) == 0) in find()
|
/external/llvm-project/llvm/lib/Support/ |
D | StringRef.cpp | 134 const char *Needle = Str.data(); in find() local 141 const char *Ptr = (const char *)::memchr(Start, Needle[0], Size); in find() 150 if (std::memcmp(Start, Needle, N) == 0) in find() 165 if (LLVM_UNLIKELY(Last == (uint8_t)Needle[N - 1])) in find() 166 if (std::memcmp(Start, Needle, N - 1) == 0) in find()
|
/external/swiftshader/third_party/llvm-subzero/lib/Support/ |
D | StringRef.cpp | 154 const char *Needle = Str.data(); in find() local 161 const char *Ptr = (const char *)::memchr(Start, Needle[0], Size); in find() 170 if (std::memcmp(Start, Needle, N) == 0) in find() 185 if (LLVM_UNLIKELY(Last == (uint8_t)Needle[N - 1])) in find() 186 if (std::memcmp(Start, Needle, N - 1) == 0) in find()
|
/external/llvm-project/clang-tools-extra/clangd/unittests/ |
D | TestIndex.cpp | 30 static std::string replace(llvm::StringRef Haystack, llvm::StringRef Needle, in replace() argument 33 Haystack.split(Parts, Needle); in replace()
|
/external/llvm/lib/Support/ |
D | StringRef.cpp | 146 const char *Needle = Str.data(); in find() local 161 if (std::memcmp(Start, Needle, N) == 0) in find() 175 if (std::memcmp(Start, Needle, N) == 0) in find()
|
/external/clang/lib/Sema/ |
D | AnalysisBasedWarnings.cpp | 591 const DeclRefExpr *Needle; member in __anondc962ea40511::ContainsReference 596 ContainsReference(ASTContext &Context, const DeclRefExpr *Needle) in ContainsReference() argument 597 : Inherited(Context), FoundReference(false), Needle(Needle) {} in ContainsReference() 608 if (E == Needle) in VisitDeclRefExpr()
|
/external/llvm-project/clang/lib/Sema/ |
D | AnalysisBasedWarnings.cpp | 727 const DeclRefExpr *Needle; member in __anone026b1520711::ContainsReference 732 ContainsReference(ASTContext &Context, const DeclRefExpr *Needle) in ContainsReference() argument 733 : Inherited(Context), FoundReference(false), Needle(Needle) {} in ContainsReference() 744 if (E == Needle) in VisitDeclRefExpr()
|