Home
last modified time | relevance | path

Searched refs:Needle (Results 1 – 15 of 15) sorted by relevance

/external/llvm-project/compiler-rt/test/fuzzer/
DSingleMemcmpTest.cpp13 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/
DStringFindStartswithCheck.cpp67 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/
Dlayout.h268 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/
Dlayout.h266 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/
Dlayout.h268 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/
Dlayout.h266 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/
Dlayout.h268 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/
Dlayout.h268 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/
DStringRef.cpp140 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/
DStringRef.cpp134 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/
DStringRef.cpp154 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/
DTestIndex.cpp30 static std::string replace(llvm::StringRef Haystack, llvm::StringRef Needle, in replace() argument
33 Haystack.split(Parts, Needle); in replace()
/external/llvm/lib/Support/
DStringRef.cpp146 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/
DAnalysisBasedWarnings.cpp591 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/
DAnalysisBasedWarnings.cpp727 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()