Home
last modified time | relevance | path

Searched refs:memrchr (Results 1 – 25 of 88) sorted by relevance

1234

/third_party/musl/libc-test/src/functionalext/supplement/string/
Dmemrchr.c31 char *ret = memrchr(src, 'r', strlen(src)); in memrchr_0100()
35 ret = memrchr(src, 'r', strlen("memrchr_0100 test.")); in memrchr_0100()
39 ret = memrchr(src, 'w', strlen(src)); in memrchr_0100()
51 char *ret = memrchr(src, 'r', 0); in memrchr_0200()
Dtest_src_functionalext_supplement_string.gni65 "memrchr",
/third_party/rust/crates/memchr/src/tests/memchr/
Dmemchr.rs6 memchr2, memchr3, memrchr, memrchr2, memrchr3,
55 test.one(true, memrchr); in memrchr1_find()
62 test.one(true, fallback::memrchr); in memrchr1_fallback_find()
117 memrchr(n1, &corpus) == naive::memrchr(n1, &corpus)
Dsimple.rs7 use crate::{memchr, memchr2, memchr3, memrchr, memrchr2, memrchr3};
17 assert_eq!(memrchr(b'a', b"abcda"), Some(4)); in simple()
18 assert_eq!(memrchr(b'z', b"abcda"), None); in simple()
/third_party/musl/libc-test/src/functionalext/supplement/string/string_gtest/
Dstring_memrchr_test.cpp20 const char* result = static_cast<const char*>(memrchr(str, 'z', strlen(str)));
32 const char* result = static_cast<const char*>(memrchr(str, 'o', 0));
/third_party/rust/crates/memchr/src/memchr/
Dmod.rs260 pub fn memrchr(needle: u8, haystack: &[u8]) -> Option<usize> { in memrchr() function
264 naive::memrchr(n1, haystack) in memrchr()
270 x86::memrchr(n1, haystack) in memrchr()
281 c::memrchr(n1, haystack) in memrchr()
291 fallback::memrchr(n1, haystack) in memrchr()
Dc.rs26 pub fn memrchr(needle: u8, haystack: &[u8]) -> Option<usize> { in memrchr() function
33 libc::memrchr( in memrchr()
Diter.rs1 use crate::{memchr, memchr2, memchr3, memrchr, memrchr2, memrchr3};
67 iter_next_back!(self, memrchr(self.needle, self.haystack)) in next_back()
Dnaive.rs15 pub fn memrchr(n1: u8, haystack: &[u8]) -> Option<usize> { in memrchr() function
/third_party/rust/crates/memchr/bench/src/memchr/
Dimp.rs1 use memchr::{memrchr, memrchr2, memrchr3, Memchr, Memchr2, Memchr3};
90 while let Some(i) = memrchr(b1, &haystack[..end]) { in memrchr1_count()
101 while let Some(i) = c::memrchr(b1, &haystack[..end]) { in memrchr1_libc_count()
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/
Dmemutil_test.cc73 p = absl::strings_internal::memrchr("hello there", 'e', in TEST()
76 p = absl::strings_internal::memrchr("hello there", 'e', in TEST()
79 p = absl::strings_internal::memrchr("hello there", 'u', in TEST()
Dmemutil.cc43 char* memrchr(const char* s, int c, size_t slen) { in memrchr() function
/third_party/rust/crates/memchr/fuzz/
DCargo.toml42 name = "memrchr"
43 path = "fuzz_targets/memrchr.rs"
/third_party/rust/crates/memchr/src/memchr/x86/
Dmod.rs123 pub fn memrchr(n1: u8, haystack: &[u8]) -> Option<usize> { in memrchr() function
124 unsafe_ifunc!(fn(u8, &[u8]) -> Option<usize>, memrchr, haystack, n1) in memrchr()
/third_party/curl/lib/
Dcurl_memrchr.h40 #define memrchr(x,y,z) Curl_memrchr((x),(y),(z)) macro
/third_party/musl/src/string/
Dmemrchr.c11 weak_alias(__memrchr, memrchr);
/third_party/musl/porting/liteos_a/kernel/src/string/
Dmemrchr.c11 weak_alias(__memrchr, memrchr);
/third_party/musl/porting/linux/user/include/fortify/
Dstring.h191 extern void* __memrchr_real(const void*, int, size_t) __DIAGNOSE_RENAME(memrchr);
195 void *memrchr(const void *const __DIAGNOSE_PASS_OBJECT_SIZE s, int c, size_t n) in memrchr() function
/third_party/musl/include/fortify/linux/
Dstring.h191 extern void* __memrchr_real(const void*, int, size_t) __DIAGNOSE_RENAME(memrchr);
195 void *memrchr(const void *const __DIAGNOSE_PASS_OBJECT_SIZE s, int c, size_t n) in memrchr() function
/third_party/rust/crates/memchr/src/
Dlib.rs173 memrchr, memrchr2, memrchr2_iter, memrchr3, memrchr3_iter, memrchr_iter,
/third_party/curl/lib/vtls/
Dhostcheck.c110 (memrchr(pattern, '.', patternlen) == pattern_label_end)) in hostmatch()
/third_party/musl/porting/liteos_m/user/include/
Dstring.h94 void *memrchr(const void *, int, size_t);
/third_party/musl/porting/linux/user/include/
Dstring.h96 void *memrchr(const void *, int, size_t);
/third_party/musl/porting/uniproton/kernel/include/
Dstring.h94 void *memrchr(const void *, int, size_t);
/third_party/musl/include/
Dstring.h96 void *memrchr(const void *, int, size_t);

1234