Home
last modified time | relevance | path

Searched refs:memchr (Results 1 – 25 of 282) sorted by relevance

12345678910>>...12

/third_party/rust/crates/memchr/
DCargo.toml2 name = "memchr"
5 description = "Safe interface to memchr."
6 documentation = "https://docs.rs/memchr/"
7 homepage = "https://github.com/BurntSushi/memchr"
8 repository = "https://github.com/BurntSushi/memchr"
10 keywords = ["memchr", "char", "scan", "strchr", "string"]
19 name = "memchr"
25 # The 'std' feature permits the memchr crate to use the standard library. This
30 # The 'use_std' feature is DEPRECATED. It will be removed in memchr 3. Until
DREADME.md1 memchr chapter
5 …ild status](https://github.com/BurntSushi/memchr/workflows/ci/badge.svg)](https://github.com/Burnt…
6 [![Crates.io](https://img.shields.io/crates/v/memchr.svg)](https://crates.io/crates/memchr)
13 [https://docs.rs/memchr](https://docs.rs/memchr)
30 memchr links to the standard library by default, but you can disable the
35 memchr = { version = "2", default-features = false }
44 `memchr` is a routine that is part of libc, although this crate does not use
48 using `memchr` from libc is desirable and a vectorized routine is not otherwise
50 version of `memchr`.
55 Linux. On Linux, `memrchr` is used in precisely the same scenario as `memchr`,
DBUILD.gn17 crate_name = "memchr"
25 cargo_pkg_name = "memchr"
26 cargo_pkg_description = "Safe interface to memchr."
DREADME.OpenSource3 "Name": "memchr",
8 "Upstream URL": "https://github.com/BurntSushi/memchr",
/third_party/rust/crates/memchr/bench/
DCargo.toml3 name = "memchr-bench"
6 description = "Criterion benchmark suite for memchr."
7 homepage = "https://github.com/BurntSushi/memchr"
8 repository = "https://github.com/BurntSushi/memchr"
16 name = "memchr"
23 memchr = { version = "*", path = ".." }
/third_party/rust/crates/memchr/src/tests/memchr/
Dmemchr.rs4 memchr,
5 memchr::{fallback, naive},
7 tests::memchr::testdata::memchr_tests,
13 test.one(false, memchr); in memchr1_find()
20 test.one(false, fallback::memchr); in memchr1_fallback_find()
96 memchr(n1, &corpus) == naive::memchr(n1, &corpus)
Dsimple.rs7 use crate::{memchr, memchr2, memchr3, memrchr, memrchr2, memrchr3};
11 assert_eq!(memchr(b'a', b"abcda"), Some(0)); in simple()
12 assert_eq!(memchr(b'z', b"abcda"), None); in simple()
/third_party/musl/libc-test/src/functionalext/supplement/string/
Dmemchr.c31 char *findch = (char *)memchr(srcstring, fitch, strlen(srcstring)); in memchr_0100()
48 char *findch = (char *)memchr(srcstring, 'w', strlen(srcstring)); in memchr_0200()
60 char *findch = (char *)memchr(srcstring, 'w', strlen(srcstring)); in memchr_0300()
72 char *findch = (char *)memchr(srcstring, '\0', strlen(srcstring)); in memchr_0400()
84 char *findch = (char *)memchr(srcstring, 'u', INIT_LEN); in memchr_0500()
/third_party/cups-filters/utils/
Ddriverless.c109 ptr = memchr(ptr, '\t', sizeof(buffer) - (ptr - buffer)); in listPrintersInArray()
116 ptr = memchr(ptr, '\t', sizeof(buffer) - (ptr - buffer)); in listPrintersInArray()
122 ptr = memchr(ptr, '\t', sizeof(buffer) - (ptr - buffer)); in listPrintersInArray()
141 ptr = memchr(ptr, '\t', sizeof(buffer) - (ptr - buffer)); in listPrintersInArray()
148 ptr = memchr(ptr, '\t', sizeof(buffer) - (ptr - buffer)); in listPrintersInArray()
170 ptr = memchr(ptr, '\t', sizeof(buffer) - (ptr - buffer)); in listPrintersInArray()
176 ptr = memchr(ptr, '\t', sizeof(buffer) - (ptr - buffer)); in listPrintersInArray()
182 ptr = memchr(ptr, '\t', sizeof(buffer) - (ptr - buffer)); in listPrintersInArray()
188 ptr = memchr(ptr, '\t', sizeof(buffer) - (ptr - buffer)); in listPrintersInArray()
194 ptr = memchr(ptr, '\t', sizeof(buffer) - (ptr - buffer)); in listPrintersInArray()
[all …]
/third_party/rust/crates/memchr/fuzz/
DCargo.toml5 name = "memchr-fuzz"
16 [dependencies.memchr]
24 name = "memchr"
25 path = "fuzz_targets/memchr.rs"
DCargo.lock28 name = "memchr"
32 name = "memchr-fuzz"
36 "memchr",
/third_party/rust/crates/memchr/bench/src/memchr/
Dimp.rs1 use memchr::{memrchr, memrchr2, memrchr3, Memchr, Memchr2, Memchr3};
3 use crate::memchr::{c, fallback, naive};
12 while let Some(i) = c::memchr(b1, &haystack[start..]) { in memchr1_libc_count()
22 while let Some(i) = fallback::memchr(b1, &haystack[start..]) { in fallback1_count()
32 while let Some(i) = naive::memchr(b1, &haystack[start..]) { in naive1_count()
/third_party/rust/crates/memchr/src/
Dlib.rs171 pub use crate::memchr::{
172 memchr, memchr2, memchr2_iter, memchr3, memchr3_iter, memchr_iter,
178 mod memchr; module
/third_party/rust/crates/regex/src/
Dfind_byte.rs13 use memchr::memchr; in find_byte()
14 memchr(needle, haystack) in find_byte()
/third_party/ninja/src/
Dbuild_log.cc233 line_end_ = (char*)memchr(line_start_, '\n', buf_end_ - line_start_); in ReadLine()
243 line_end_ = (char*)memchr(line_start_, '\n', buf_end_ - line_start_); in ReadLine()
300 char* end = (char*)memchr(start, kFieldSeparator, line_end - start); in Load()
311 end = (char*)memchr(start, kFieldSeparator, line_end - start); in Load()
318 end = (char*)memchr(start, kFieldSeparator, line_end - start); in Load()
325 end = (char*)memchr(start, kFieldSeparator, line_end - start); in Load()
/third_party/rust/crates/memchr/src/memchr/
Dmod.rs87 pub fn memchr(needle: u8, haystack: &[u8]) -> Option<usize> { in memchr() function
91 naive::memchr(n1, haystack) in memchr()
97 x86::memchr(n1, haystack) in memchr()
107 c::memchr(n1, haystack) in memchr()
117 fallback::memchr(n1, haystack) in memchr()
Dc.rs8 pub fn memchr(needle: u8, haystack: &[u8]) -> Option<usize> { in memchr() function
11 libc::memchr( in memchr()
/third_party/rust/crates/memchr/bench/src/
Dbench.rs6 mod memchr; module
10 memchr::all(c); in all()
/third_party/rust/crates/os_str_bytes/
DCargo.toml23 memchr = { version = "2.4", optional = true }
31 default = ["memchr", "raw_os_str"]
DBUILD.gn26 deps = ["//third_party/rust/crates/memchr:lib"]
28 "memchr",
/third_party/rust/crates/aho-corasick/
DCargo.toml24 std = ["memchr/std"]
27 memchr = { version = "2.4.0", default-features = false }
/third_party/rust/crates/regex/
DBUILD.gn28 "//third_party/rust/crates/memchr:lib",
33 "memchr",
/third_party/musl/
Dmusl_template.gni347 "src/string/memchr.c",
377 "src/string/memchr.c",
460 "$OPTRTDIR/string/arm/memchr.S",
470 "-D__memchr_arm = memchr",
478 "$OPTRTDIR/string/aarch64/memchr-sve.S",
496 "-D__memchr_aarch64_sve = memchr",
509 "$OPTRTDIR/string/aarch64/memchr-mte.S",
527 "-D__memchr_aarch64_mte = memchr",
540 "$OPTRTDIR/string/aarch64/memchr.S",
558 "-D__memchr_aarch64 = memchr",
/third_party/ffmpeg/libavformat/
Ddata_uri.c51 next = av_x_if_null(memchr(opt, ';', data - opt), data); in data_open()
53 if (!memchr(opt, '/', next - opt)) { /* basic validity check */ in data_open()
/third_party/rust/crates/once_cell/
DCargo.lock.msrv11 "memchr",
64 name = "memchr"
115 "memchr",

12345678910>>...12