/external/rust/crates/memchr/src/tests/ |
D | memchr.rs | 3 use {memchr, memchr2, memchr3, memrchr, memrchr2, memrchr3}; 66 test.two(true, memrchr2); in memrchr2_find() 73 test.two(true, fallback::memrchr2); in memrchr2_fallback_find() 120 memrchr2(n1, n2, &corpus) == naive::memrchr2(n1, n2, &corpus)
|
D | miri.rs | 3 use crate::{memchr, memchr2, memchr3, memrchr, memrchr2, memrchr3}; 15 assert_eq!(memrchr2(b'a', b'z', b"abcda"), Some(4)); in test_with_miri() 16 assert_eq!(memrchr2(b'z', b'y', b"abcda"), None); in test_with_miri()
|
/external/rust/crates/memchr/src/x86/ |
D | mod.rs | 105 pub fn memrchr2(n1: u8, n2: u8, haystack: &[u8]) -> Option<usize> { in memrchr2() function 106 ifunc!(fn(u8, u8, &[u8]) -> Option<usize>, memrchr2, haystack, n1, n2) in memrchr2()
|
D | avx.rs | 333 pub unsafe fn memrchr2(n1: u8, n2: u8, haystack: &[u8]) -> Option<usize> { in memrchr2() function
|
D | sse2.rs | 423 pub unsafe fn memrchr2(n1: u8, n2: u8, haystack: &[u8]) -> Option<usize> { in memrchr2() function
|
/external/rust/crates/memchr/src/ |
D | lib.rs | 367 pub fn memrchr2(needle1: u8, needle2: u8, haystack: &[u8]) -> Option<usize> { in memrchr2() function 371 naive::memrchr2(n1, n2, haystack) in memrchr2() 377 x86::memrchr2(n1, n2, haystack) in memrchr2() 386 fallback::memrchr2(n1, n2, haystack) in memrchr2()
|
D | iter.rs | 1 use {memchr, memchr2, memchr3, memrchr, memrchr2, memrchr3}; 113 memrchr2(self.needle1, self.needle2, self.haystack) in next_back()
|
D | naive.rs | 19 pub fn memrchr2(n1: u8, n2: u8, haystack: &[u8]) -> Option<usize> { in memrchr2() function
|
D | fallback.rs | 207 pub fn memrchr2(n1: u8, n2: u8, haystack: &[u8]) -> Option<usize> { in memrchr2() function
|
/external/rust/crates/bstr/src/byteset/ |
D | mod.rs | 1 use memchr::{memchr, memchr2, memchr3, memrchr, memrchr2, memrchr3}; 32 2 => memrchr2(byteset[0], byteset[1], haystack), in rfind()
|
/external/rust/crates/memchr/ |
D | README.md | 32 `memchr3`, `memrchr2` and `memrchr3`. The difference between `memchr` and
|