/third_party/rust/crates/memchr/bench/src/memmem/ |
D | imp.rs | 27 use memchr::memmem; 30 memmem::find(haystack.as_bytes(), needle.as_bytes()).is_some() in oneshot() 36 let finder = memmem::Finder::new(needle).into_owned(); in prebuilt() 44 memmem::find_iter(haystack.as_bytes(), needle.as_bytes()) in oneshotiter() 48 PrebuiltIter(memmem::Finder::new(needle).into_owned()) in prebuiltiter() 52 pub(crate) struct PrebuiltIter(memmem::Finder<'static>); 65 use memchr::memmem; 68 memmem::rfind(haystack.as_bytes(), needle.as_bytes()).is_some() in oneshot() 74 let finder = memmem::FinderRev::new(needle).into_owned(); in prebuilt() 82 memmem::rfind_iter(haystack.as_bytes(), needle.as_bytes()) in oneshotiter() [all …]
|
D | sliceslice.rs | 27 use memchr::memmem; 50 .map(|needle| memmem::Finder::new(needle.as_bytes())) in search_short_haystack() 73 memmem::FinderBuilder::new() in search_short_haystack() 74 .prefilter(memmem::Prefilter::None) in search_short_haystack() 148 .map(|needle| memmem::Finder::new(needle.as_bytes())) in search_long_haystack() 167 memmem::FinderBuilder::new() in search_long_haystack() 168 .prefilter(memmem::Prefilter::None) in search_long_haystack() 234 .map(|needle| memmem::Finder::new(needle.as_bytes())) in search_i386_haystack() 253 memmem::FinderBuilder::new() in search_i386_haystack() 254 .prefilter(memmem::Prefilter::None) in search_i386_haystack()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/ |
D | memutil_test.cc | 130 EXPECT_EQ(absl::strings_internal::memmem(kHaystack, 0, "", 0), kHaystack); in TEST() 131 EXPECT_EQ(absl::strings_internal::memmem(kHaystack, 10, "012", 3), in TEST() 133 EXPECT_EQ(absl::strings_internal::memmem(kHaystack, 10, "0xx", 1), in TEST() 135 EXPECT_EQ(absl::strings_internal::memmem(kHaystack, 10, "789", 3), in TEST() 137 EXPECT_EQ(absl::strings_internal::memmem(kHaystack, 10, "9xx", 1), in TEST() 139 EXPECT_TRUE(absl::strings_internal::memmem(kHaystack, 10, "9xx", 3) == in TEST() 141 EXPECT_TRUE(absl::strings_internal::memmem(kHaystack, 10, "xxx", 1) == in TEST()
|
D | memutil_benchmark.cc | 100 absl::strings_internal::memmem(kHaystack, kHaystackSize, "b", 1)); in BM_Memmem() 109 absl::strings_internal::memmem(kHaystack, kHaystackSize, "ab", 2)); in BM_MemmemMedium() 117 benchmark::DoNotOptimize(absl::strings_internal::memmem( in BM_MemmemPathological() 300 benchmark::DoNotOptimize(absl::strings_internal::memmem( in BM_MemmemStartup()
|
/third_party/rust/crates/memchr/bench/ |
D | README.md | 2 memmem APIs in this crate. A selection of "competitor" implementations are 14 $ cargo bench -- 'memmem/krate/.*never.*' 17 runs all benchmarks for the memmem implementation in this crate with searches 22 want to see where `memmem/krate/prebuiltiter/huge-en/common-one-space` is 27 $ cargo bench -- memmem/krate/prebuiltiter/huge-en/common-one-space 33 $ perfr --callgraph cargo bench -- memmem/krate/prebuiltiter/huge-en/common-one-space --profile-tim…
|
/third_party/musl/libc-test/src/functionalext/supplement/string/ |
D | memmem.c | 32 ptr = memmem(buffer, sizeof(buffer), cmp, i); in memmem_0100() 53 ptr = memmem(buffer, sizeof(buffer), "musl", errlen); in memmem_0200() 56 ptr = memmem(buffer, sizeof(buffer), "muls", 3); in memmem_0200()
|
/third_party/rust/crates/memchr/src/memmem/x86/ |
D | avx.rs | 10 use crate::memmem::{genericsimd, NeedleInfo}; 76 use crate::memmem::NeedleInfo; 105 use crate::memmem::{prefilter::PrefilterState, NeedleInfo}; 118 use crate::memmem::prefilter::tests::PrefilterTest; in prefilter_permutations()
|
D | sse.rs | 3 use crate::memmem::{genericsimd, NeedleInfo}; 58 use crate::memmem::{prefilter::PrefilterState, NeedleInfo}; 71 use crate::memmem::prefilter::tests::PrefilterTest; in prefilter_permutations()
|
/third_party/rust/crates/memchr/src/memmem/ |
D | wasm.rs | 3 use crate::memmem::{genericsimd, NeedleInfo}; 46 use crate::memmem::{prefilter::PrefilterState, NeedleInfo}; 59 use crate::memmem::prefilter::tests::PrefilterTest; in prefilter_permutations()
|
D | rabinkarp.rs | 213 crate::memmem::util::is_prefix(haystack, needle) in is_prefix() 222 crate::memmem::util::is_suffix(haystack, needle) in is_suffix()
|
/third_party/rust/crates/memchr/bench/runs/ |
D | README.md | 11 memmem implementations. The tables are generated via the `make-pretty-tables` 18 memmem implementation and std's substring search routine, but only benchmarks 22 critcmp runs/2021-04-30_initial/raw.json -g 'memmem/[^/]+/(.*)' -f '/(krate|stud)/' -t5 33 groups in `memmem/[^/]+/(.*)` are equivalent in the benchmark names.
|
/third_party/rust/crates/memchr/fuzz/fuzz_targets/ |
D | memmem.rs | 4 use memchr::memmem; 12 memmem::find_iter(haystack, needle).count();
|
D | memrmem.rs | 4 use memchr::memmem; 12 memmem::rfind_iter(haystack, needle).count();
|
/third_party/json/tests/thirdparty/Fuzzer/test/ |
D | StrstrTest.cpp | 14 #define memmem(a, b, c, d) true macro 22 memmem(s.data(), s.size(), "kuku", 4) in LLVMFuzzerTestOneInput()
|
/third_party/rust/crates/memchr/src/memmem/prefilter/x86/ |
D | avx.rs | 3 use crate::memmem::{ 38 use crate::memmem::prefilter::tests::PrefilterTest; in prefilter_permutations()
|
D | sse.rs | 3 use crate::memmem::{ 38 use crate::memmem::prefilter::tests::PrefilterTest; in prefilter_permutations()
|
/third_party/rust/crates/memchr/src/memmem/prefilter/ |
D | wasm.rs | 3 use crate::memmem::{ 35 use crate::memmem::prefilter::tests::PrefilterTest; in prefilter_permutations()
|
D | fallback.rs | 31 use crate::memmem::{ 116 use crate::memmem::prefilter::tests::PrefilterTest; in prefilter_permutations()
|
/third_party/rust/crates/memchr/bench/src/ |
D | bench.rs | 7 mod memmem; module 11 memmem::all(c); in all()
|
/third_party/musl/libc-test/src/functional/ |
D | string_memmem.c | 9 char *q = memmem(p, strlen(s), sub, strlen(sub)); \ 17 char *q = memmem(p, strlen(p), sub, strlen(sub)); \
|
/third_party/rust/crates/memchr/fuzz/ |
D | Cargo.toml | 60 name = "memmem" 61 path = "fuzz_targets/memmem.rs"
|
/third_party/musl/libc-test/src/regression/ |
D | test_src_regression.gni | 33 "memmem-oob-read", 34 "memmem-oob",
|
D | memmem-oob.c | 11 char *p = memmem("abcde", 4, "cde", 3); in main()
|
D | memmem-oob-read.c | 13 unsigned char *p = memmem(haystack, 8, needle, 8); in main()
|
/third_party/rust/crates/libc/libc-test/semver/ |
D | macos.txt | 6 memmem
|