/third_party/rust/crates/memchr/src/memchr/ |
D | fallback.rs | 51 let start_ptr = haystack.as_ptr(); in memchr() localVariable 52 let mut ptr = start_ptr; in memchr() 55 let end_ptr = start_ptr.add(haystack.len()); in memchr() 57 return forward_search(start_ptr, end_ptr, ptr, confirm); in memchr() 62 return forward_search(start_ptr, end_ptr, ptr, confirm); in memchr() 65 ptr = ptr.add(USIZE_BYTES - (start_ptr as usize & align)); in memchr() 66 debug_assert!(ptr > start_ptr); in memchr() 67 debug_assert!(end_ptr.sub(USIZE_BYTES) >= start_ptr); in memchr() 80 forward_search(start_ptr, end_ptr, ptr, confirm) in memchr() 90 let start_ptr = haystack.as_ptr(); in memchr2() localVariable [all …]
|
/third_party/rust/crates/memchr/src/memchr/x86/ |
D | sse2.rs | 111 let start_ptr = haystack.as_ptr(); in memchr() localVariable 112 let end_ptr = start_ptr.add(haystack.len()); in memchr() 113 let mut ptr = start_ptr; in memchr() 118 return Some(sub(ptr, start_ptr)); in memchr() 125 if let Some(i) = forward_search1(start_ptr, end_ptr, ptr, vn1) { in memchr() 129 ptr = ptr.add(VECTOR_SIZE - (start_ptr as usize & VECTOR_ALIGN)); in memchr() 130 debug_assert!(ptr > start_ptr && end_ptr.sub(VECTOR_SIZE) >= start_ptr); in memchr() 146 let mut at = sub(ptr, start_ptr); in memchr() 174 if let Some(i) = forward_search1(start_ptr, end_ptr, ptr, vn1) { in memchr() 184 return forward_search1(start_ptr, end_ptr, ptr, vn1); in memchr() [all …]
|
D | avx.rs | 34 start_ptr: *const u8, in memchr() 41 let mut at = sub(ptr, start_ptr); in memchr() 65 let start_ptr = haystack.as_ptr(); in memchr() localVariable 66 let end_ptr = start_ptr.add(haystack.len()); in memchr() 67 let mut ptr = start_ptr; in memchr() 77 if let Some(i) = forward_search1(start_ptr, end_ptr, ptr, vn1) { in memchr() 81 ptr = ptr.add(VECTOR_SIZE - (start_ptr as usize & VECTOR_ALIGN)); in memchr() 82 debug_assert!(ptr > start_ptr && end_ptr.sub(VECTOR_SIZE) >= start_ptr); in memchr() 99 return Some(matched(start_ptr, ptr, eqa, eqb, eqc, eqd)); in memchr() 106 if let Some(i) = forward_search1(start_ptr, end_ptr, ptr, vn1) { in memchr() [all …]
|
D | sse42.rs | 36 let start_ptr = haystack.as_ptr(); in memchr3() localVariable 38 let mut ptr = start_ptr; in memchr3() 43 return Some(sub(ptr, start_ptr)); in memchr3() 53 return Some(sub(ptr, start_ptr) + res as usize); in memchr3() 62 return sse2::forward_search3(start_ptr, end_ptr, ptr, vn1, vn2, vn3); in memchr3()
|
/third_party/rust/crates/memchr/src/memmem/prefilter/ |
D | genericsimd.rs | 58 let start_ptr = haystack.as_ptr(); in find() localVariable 59 let end_ptr = start_ptr.add(haystack.len()); in find() 61 let mut ptr = start_ptr; in find() 75 return Some(matched(prestate, start_ptr, ptr, chunki)); in find() 88 return Some(matched(prestate, start_ptr, ptr, chunki)); in find() 193 start_ptr: *const u8, in matched() 197 let found = diff(ptr, start_ptr) + chunki; in matched()
|
/third_party/rust/crates/memchr/src/memmem/ |
D | genericsimd.rs | 134 let start_ptr = haystack.as_ptr(); in fwd_find() localVariable 135 let end_ptr = start_ptr.add(haystack.len()); in fwd_find() 137 let mut ptr = start_ptr; in fwd_find() 149 return Some(matched(start_ptr, ptr, chunki)); in fwd_find() 191 return Some(matched(start_ptr, ptr, chunki)); in fwd_find() 257 fn matched(start_ptr: *const u8, ptr: *const u8, chunki: usize) -> usize { in matched() 258 diff(ptr, start_ptr) + chunki in matched()
|
/third_party/pcre2/pcre2/src/sljit/ |
D | sljitWXExecAllocator.c | 135 sljit_uw *start_ptr = ((sljit_uw*)ptr) - 1; in sljit_free_exec() local 136 munmap((void*)start_ptr, *start_ptr); in sljit_free_exec()
|
/third_party/node/deps/v8/src/third_party/vtune/ |
D | vtune-jit.cc | 151 char* start_ptr = NULL; in GetFunctionNameFromMixedName() local 159 start_ptr = const_cast<char*>(str + index); in GetFunctionNameFromMixedName() 180 return std::string(start_ptr, count); in GetFunctionNameFromMixedName()
|
/third_party/python/Objects/ |
D | sliceobject.c | 382 PyObject **start_ptr, PyObject **stop_ptr, in _PySlice_GetLongIndices() argument 504 *start_ptr = start; in _PySlice_GetLongIndices() 512 *start_ptr = *stop_ptr = *step_ptr = NULL; in _PySlice_GetLongIndices()
|
/third_party/python/Include/ |
D | sliceobject.h | 38 PyObject **start_ptr, PyObject **stop_ptr,
|
/third_party/rust/crates/regex/src/ |
D | dfa.rs | 1016 next = self.start_ptr(next); in exec_byte() 1312 let start_ptr = self.restore_state(start).unwrap(); in clear_cache() localVariable 1313 self.start = self.start_ptr(start_ptr); in clear_cache() 1400 Some(sp) => self.start_ptr(sp), in start_state() 1565 fn start_ptr(&self, si: StatePtr) -> StatePtr { in start_ptr() method
|
/third_party/pcre2/pcre2/src/ |
D | pcre2_jit_compile.c | 393 sljit_s32 start_ptr; member 3325 OP1(SLJIT_MOV, TMP1, 0, SLJIT_MEM1(SLJIT_SP), common->start_ptr); in do_reset_match() 3366 OP1(SLJIT_MOV, SLJIT_S0, 0, SLJIT_MEM1(SLJIT_SP), common->start_ptr); in copy_ovector() 3378 OP1(SLJIT_MOV, SLJIT_S0, 0, SLJIT_MEM1(SLJIT_SP), common->start_ptr); in copy_ovector() 3457 SLJIT_ASSERT(common->start_used_ptr != 0 && common->start_ptr != 0 in return_with_partial_match() 3463 common->mode == PCRE2_JIT_PARTIAL_SOFT ? common->hit_start : common->start_ptr); in return_with_partial_match() 13865 common->start_ptr = common->ovector_start; in jit_compile() 13873 if (common->start_ptr == 0) in jit_compile() 13874 common->start_ptr = OVECTOR(0); in jit_compile() 13993 if (common->start_ptr != OVECTOR(0)) in jit_compile() [all …]
|