/external/rust/crates/memchr/ |
D | README.md | 1 memchr chapter 3 The `memchr` crate provides heavily optimized routines for searching bytes. 5 …tus](https://github.com/BurntSushi/rust-memchr/workflows/ci/badge.svg)](https://github.com/BurntSu… 6 [![](http://meritbadge.herokuapp.com/memchr)](https://crates.io/crates/memchr) 13 [https://docs.rs/memchr](https://docs.rs/memchr) 18 The `memchr` function is traditionally provided by libc, but its 26 `memchr` that should perform competitively with the one found in GNU's libc. 32 `memchr3`, `memrchr2` and `memrchr3`. The difference between `memchr` and 38 memchr links to the standard library by default, but you can disable the 43 memchr = { version = "2", default-features = false } [all …]
|
D | Cargo.toml.orig | 2 name = "memchr" 5 description = "Safe interface to memchr." 6 documentation = "https://docs.rs/memchr/" 7 homepage = "https://github.com/BurntSushi/rust-memchr" 8 repository = "https://github.com/BurntSushi/rust-memchr" 10 keywords = ["memchr", "char", "scan", "strchr", "string"] 15 name = "memchr" 21 # The 'std' feature permits the memchr crate to use the standard library. This 26 # The 'use_std' feature is DEPRECATED. It will be removed in memchr 3. Until
|
D | METADATA | 1 name: "memchr" 2 description: "Safe interface to memchr." 6 value: "https://crates.io/crates/memchr" 10 value: "https://static.crates.io/crates/memchr/memchr-2.3.4.crate"
|
D | Cargo.toml | 14 name = "memchr" 18 description = "Safe interface to memchr." 19 homepage = "https://github.com/BurntSushi/rust-memchr" 20 documentation = "https://docs.rs/memchr/" 22 keywords = ["memchr", "char", "scan", "strchr", "string"] 24 repository = "https://github.com/BurntSushi/rust-memchr" 29 name = "memchr"
|
/external/llvm-project/llvm/test/Transforms/InstCombine/ |
D | memchr.ll | 2 ; Test that the memchr library call simplifier works correctly. 16 declare i8* @memchr(i8*, i32, i32) 24 %dst = call i8* @memchr(i8* %str, i32 119, i32 14) 35 %dst = call i8* @memchr(i8* %str, i32 119, i32 1) 46 %dst = call i8* @memchr(i8* %src, i32 0, i32 14) 53 ; CHECK-NEXT: [[DST:%.*]] = call i8* @memchr(i8* nonnull dereferenceable(14) getelementptr inbou… 58 %dst = call i8* @memchr(i8* %src, i32 %chr, i32 14) 69 %dst = call i8* @memchr(i8* %src, i32 65280, i32 14) 81 %dst = call i8* @memchr(i8* %src, i32 119, i32 100) 93 %dst = call i8* @memchr(i8* %src, i32 120, i32 100) [all …]
|
/external/llvm/test/Transforms/InstCombine/ |
D | memchr.ll | 2 ; Test that the memchr library call simplifier works correctly. 16 declare i8* @memchr(i8*, i32, i32) 24 %dst = call i8* @memchr(i8* %str, i32 119, i32 14) 35 %dst = call i8* @memchr(i8* %str, i32 119, i32 1) 46 %dst = call i8* @memchr(i8* %src, i32 0, i32 14) 53 ; CHECK-NEXT: [[DST:%.*]] = call i8* @memchr(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @… 58 %dst = call i8* @memchr(i8* %src, i32 %chr, i32 14) 69 %dst = call i8* @memchr(i8* %src, i32 65280, i32 14) 81 %dst = call i8* @memchr(i8* %src, i32 119, i32 100) 93 %dst = call i8* @memchr(i8* %src, i32 120, i32 100) [all …]
|
D | strchr-1.ll | 47 ; CHECK: call i8* @memchr 85 ; CHECK-NEXT: %memchr.bounds = icmp ult i16 [[TRUNC]], 16 88 ; CHECK-NEXT: %memchr.bits = icmp ne i16 [[AND]], 0 89 ; CHECK-NEXT: %memchr1 = and i1 %memchr.bounds, %memchr.bits
|
/external/llvm-project/llvm/test/CodeGen/SystemZ/ |
D | memchr-01.ll | 1 ; Test memchr using SRST, with the correct prototype. 5 declare i8 *@memchr(i8 *%src, i32 %char, i64 %len) 18 %res = call i8 *@memchr(i8 *%src, i32 %char, i64 %len) 34 %res1 = call i8 *@memchr(i8 *%src, i32 %charext, i64 %len) 35 %res2 = call i8 *@memchr(i8 *%res1, i32 %charext, i64 %len) 53 %res1 = call i8 *@memchr(i8 *%src, i32 %charext, i64 %len) 55 %res2 = call i8 *@memchr(i8 *%res1, i32 %charext, i64 %len)
|
D | memchr-nobuiltin.ll | 1 ; Test that memchr won't be converted to SRST if calls are 6 declare i8 *@memchr(i8 *%src, i16 %char, i32 %len) 12 ; CHECK: brasl %r14, memchr 14 %res = call i8 *@memchr(i8 *%src, i16 %char, i32 %len) nobuiltin
|
/external/llvm/test/CodeGen/SystemZ/ |
D | memchr-02.ll | 1 ; Test memchr using SRST, with the correct prototype. 5 declare i8 *@memchr(i8 *%src, i32 %char, i64 %len) 18 %res = call i8 *@memchr(i8 *%src, i32 %char, i64 %len) 34 %res1 = call i8 *@memchr(i8 *%src, i32 %charext, i64 %len) 35 %res2 = call i8 *@memchr(i8 *%res1, i32 %charext, i64 %len) 53 %res1 = call i8 *@memchr(i8 *%src, i32 %charext, i64 %len) 55 %res2 = call i8 *@memchr(i8 *%res1, i32 %charext, i64 %len)
|
D | memchr-nobuiltin.ll | 1 ; Test that memchr won't be converted to SRST if calls are 6 declare i8 *@memchr(i8 *%src, i16 %char, i32 %len) 12 ; CHECK: brasl %r14, memchr 14 %res = call i8 *@memchr(i8 *%src, i16 %char, i32 %len) nobuiltin
|
D | memchr-01.ll | 1 ; Test memchr using SRST, with a weird but usable prototype. 5 declare i8 *@memchr(i8 *%src, i16 %char, i32 %len) 19 %res = call i8 *@memchr(i8 *%src, i16 %char, i32 %len)
|
/external/rust/crates/memchr/src/tests/ |
D | memchr.rs | 3 use {memchr, memchr2, memchr3, memrchr, memrchr2, memrchr3}; 10 test.one(false, memchr); in memchr1_find() 17 test.one(false, fallback::memchr); in memchr1_fallback_find() 93 memchr(n1, &corpus) == naive::memchr(n1, &corpus)
|
D | miri.rs | 3 use crate::{memchr, memchr2, memchr3, memrchr, memrchr2, memrchr3}; 7 assert_eq!(memchr(b'a', b"abcda"), Some(0)); in test_with_miri() 8 assert_eq!(memchr(b'z', b"abcda"), None); in test_with_miri()
|
/external/rust/crates/regex/src/ |
D | find_byte.rs | 13 use memchr::memchr; in find_byte() 14 memchr(needle, haystack) in find_byte()
|
/external/libcxx/include/ |
D | string.h | 95 void* __libcpp_memchr(const void* __s, int __c, size_t __n) {return (void*)memchr(__s, __c, __n);} in __libcpp_memchr() 97 const void* memchr(const void* __s, int __c, size_t __n) {return __libcpp_memchr(__s, __c, __n);} in memchr() function 99 void* memchr( void* __s, int __c, size_t __n) {return __libcpp_memchr(__s, __c, __n);} in memchr() function
|
/external/llvm-project/libcxx/include/ |
D | string.h | 94 void* __libcpp_memchr(const void* __s, int __c, size_t __n) {return (void*)memchr(__s, __c, __n);} in __libcpp_memchr() 96 const void* memchr(const void* __s, int __c, size_t __n) {return __libcpp_memchr(__s, __c, __n);} in memchr() function 98 void* memchr( void* __s, int __c, size_t __n) {return __libcpp_memchr(__s, __c, __n);} in memchr() function
|
/external/llvm-project/llvm/test/CodeGen/AMDGPU/ |
D | mem-builtins.ll | 5 declare hidden i8 addrspace(1)* @memchr(i8 addrspace(1)* readonly nocapture, i32, i64) #1 23 …0:0: in function test_memchr void (i8 addrspace(1)*, i32, i64): unsupported call to function memchr 25 ; GCN: s_add_u32 s{{[0-9]+}}, s{{[0-9]+}}, memchr@rel32@lo+4 26 ; GCN: s_addc_u32 s{{[0-9]+}}, s{{[0-9]+}}, memchr@rel32@hi+12 28 %res = call i8 addrspace(1)* @memchr(i8 addrspace(1)* %src, i32 %char, i64 %len)
|
/external/llvm/test/Instrumentation/EfficiencySanitizer/ |
D | str-nobuiltin.ll | 7 declare i8* @memchr(i8* %a, i32 %b, i64 %c) 15 ; CHECK: call{{.*}}@memchr{{.*}} #[[ATTR:[0-9]+]] 25 tail call i8* @memchr(i8* %a, i32 1, i64 12)
|
/external/llvm-project/llvm/test/Instrumentation/MemorySanitizer/ |
D | str-nobuiltin.ll | 8 declare i8* @memchr(i8* %a, i32 %b, i64 %c) 16 ; CHECK: call{{.*}}@memchr{{.*}} #[[ATTR:[0-9]+]] 26 tail call i8* @memchr(i8* %a, i32 1, i64 12)
|
/external/llvm/test/Instrumentation/MemorySanitizer/ |
D | str-nobuiltin.ll | 7 declare i8* @memchr(i8* %a, i32 %b, i64 %c) 15 ; CHECK: call{{.*}}@memchr{{.*}} #[[ATTR:[0-9]+]] 25 tail call i8* @memchr(i8* %a, i32 1, i64 12)
|
/external/llvm-project/libc/test/src/string/ |
D | memchr_test.cpp | 16 return reinterpret_cast<const char *>(__llvm_libc::memchr(src, c, size)); in call_memchr() 83 __llvm_libc::memchr(src, 'd', size); in TEST() 86 __llvm_libc::memchr(src, 'z', size); in TEST()
|
/external/llvm/test/Instrumentation/ThreadSanitizer/ |
D | str-nobuiltin.ll | 7 declare i8* @memchr(i8* %a, i32 %b, i64 %c) 15 ; CHECK: call{{.*}}@memchr{{.*}} #[[ATTR:[0-9]+]] 25 tail call i8* @memchr(i8* %a, i32 1, i64 12)
|
/external/llvm/test/Instrumentation/AddressSanitizer/ |
D | str-nobuiltin.ll | 7 declare i8* @memchr(i8* %a, i32 %b, i64 %c) 15 ; CHECK: call{{.*}}@memchr{{.*}} #[[ATTR:[0-9]+]] 25 tail call i8* @memchr(i8* %a, i32 1, i64 12)
|
/external/llvm-project/llvm/test/Instrumentation/ThreadSanitizer/ |
D | str-nobuiltin.ll | 7 declare i8* @memchr(i8* %a, i32 %b, i64 %c) nounwind 15 ; CHECK: call{{.*}}@memchr{{.*}} #[[ATTR:[0-9]+]] 25 tail call i8* @memchr(i8* %a, i32 1, i64 12)
|