Home
last modified time | relevance | path

Searched refs:start_ptr (Results 1 – 21 of 21) sorted by relevance

/external/rust/crates/memchr/src/x86/
Dsse2.rs113 let start_ptr = haystack.as_ptr(); in memchr() localVariable
115 let mut ptr = start_ptr; in memchr()
120 return Some(sub(ptr, start_ptr)); in memchr()
127 if let Some(i) = forward_search1(start_ptr, end_ptr, ptr, vn1) { in memchr()
131 ptr = ptr.add(VECTOR_SIZE - (start_ptr as usize & VECTOR_ALIGN)); in memchr()
132 debug_assert!(ptr > start_ptr && end_ptr.sub(VECTOR_SIZE) >= start_ptr); in memchr()
148 let mut at = sub(ptr, start_ptr); in memchr()
176 if let Some(i) = forward_search1(start_ptr, end_ptr, ptr, vn1) { in memchr()
186 return forward_search1(start_ptr, end_ptr, ptr, vn1); in memchr()
197 let start_ptr = haystack.as_ptr(); in memchr2() localVariable
[all …]
Davx.rs25 let start_ptr = haystack.as_ptr(); in memchr() localVariable
27 let mut ptr = start_ptr; in memchr()
37 if let Some(i) = forward_search1(start_ptr, end_ptr, ptr, vn1) { in memchr()
41 ptr = ptr.add(VECTOR_SIZE - (start_ptr as usize & VECTOR_ALIGN)); in memchr()
42 debug_assert!(ptr > start_ptr && end_ptr.sub(VECTOR_SIZE) >= start_ptr); in memchr()
58 let mut at = sub(ptr, start_ptr); in memchr()
86 if let Some(i) = forward_search1(start_ptr, end_ptr, ptr, vn1) { in memchr()
96 return forward_search1(start_ptr, end_ptr, ptr, vn1); in memchr()
107 let start_ptr = haystack.as_ptr(); in memchr2() localVariable
109 let mut ptr = start_ptr; in memchr2()
[all …]
Dsse42.rs39 let start_ptr = haystack.as_ptr(); in memchr3() localVariable
41 let mut ptr = start_ptr; in memchr3()
46 return Some(sub(ptr, start_ptr)); in memchr3()
56 return Some(sub(ptr, start_ptr) + res as usize); in memchr3()
65 return sse2::forward_search3(start_ptr, end_ptr, ptr, vn1, vn2, vn3); in memchr3()
/external/rust/crates/memchr/src/
Dfallback.rs52 let start_ptr = haystack.as_ptr(); in memchr() localVariable
54 let mut ptr = start_ptr; in memchr()
58 return forward_search(start_ptr, end_ptr, ptr, confirm); in memchr()
63 return forward_search(start_ptr, end_ptr, ptr, confirm); in memchr()
66 ptr = ptr.add(USIZE_BYTES - (start_ptr as usize & align)); in memchr()
67 debug_assert!(ptr > start_ptr); in memchr()
68 debug_assert!(end_ptr.sub(USIZE_BYTES) >= start_ptr); in memchr()
81 forward_search(start_ptr, end_ptr, ptr, confirm) in memchr()
91 let start_ptr = haystack.as_ptr(); in memchr2() localVariable
93 let mut ptr = start_ptr; in memchr2()
[all …]
/external/rust/crates/bstr/src/
Dascii.rs59 let start_ptr = slice.as_ptr(); in first_non_ascii_byte_fallback() localVariable
61 let mut ptr = start_ptr; in first_non_ascii_byte_fallback()
65 return first_non_ascii_byte_slow(start_ptr, end_ptr, ptr); in first_non_ascii_byte_fallback()
74 ptr = ptr_add(ptr, USIZE_BYTES - (start_ptr as usize & align)); in first_non_ascii_byte_fallback()
75 debug_assert!(ptr > start_ptr); in first_non_ascii_byte_fallback()
76 debug_assert!(ptr_sub(end_ptr, USIZE_BYTES) >= start_ptr); in first_non_ascii_byte_fallback()
92 start_ptr: *const u8, in first_non_ascii_byte_fallback()
98 let mut at = sub(ptr, start_ptr); in first_non_ascii_byte_fallback()
109 return findpos(start_ptr, ptr); in first_non_ascii_byte_fallback()
114 first_non_ascii_byte_slow(start_ptr, end_ptr, ptr) in first_non_ascii_byte_fallback()
[all …]
/external/rust/crates/bstr/src/byteset/
Dscalar.rs31 let start_ptr = haystack.as_ptr(); in inv_memchr() localVariable
33 let mut ptr = start_ptr; in inv_memchr()
37 return forward_search(start_ptr, end_ptr, ptr, confirm); in inv_memchr()
42 return forward_search(start_ptr, end_ptr, ptr, confirm); in inv_memchr()
45 ptr = ptr.add(USIZE_BYTES - (start_ptr as usize & align)); in inv_memchr()
46 debug_assert!(ptr > start_ptr); in inv_memchr()
47 debug_assert!(end_ptr.sub(USIZE_BYTES) >= start_ptr); in inv_memchr()
60 forward_search(start_ptr, end_ptr, ptr, confirm) in inv_memchr()
70 let start_ptr = haystack.as_ptr(); in inv_memrchr() localVariable
76 return reverse_search(start_ptr, end_ptr, ptr, confirm); in inv_memrchr()
[all …]
/external/libvpx/libvpx/vpx_dsp/mips/
Dadd_noise_msa.c16 void vpx_plane_add_noise_msa(uint8_t *start_ptr, const int8_t *noise, in vpx_plane_add_noise_msa() argument
29 uint8_t *pos0_ptr = start_ptr + (2 * i) * pitch; in vpx_plane_add_noise_msa()
31 uint8_t *pos1_ptr = start_ptr + (2 * i + 1) * pitch; in vpx_plane_add_noise_msa()
/external/pcre/dist2/src/sljit/
DsljitWXExecAllocator.c156 sljit_uw *start_ptr = ((sljit_uw*)ptr) - 1; in sljit_free_exec() local
157 munmap((void*)start_ptr, *start_ptr); in sljit_free_exec()
/external/arm-trusted-firmware/drivers/measured_boot/
Devent_log.c197 const uint8_t *start_ptr; in event_log_init() local
228 start_ptr = (uint8_t *)ptr; in event_log_init()
265 if ((uintptr_t)ptr != ((uintptr_t)start_ptr + LOC_EVENT_SIZE)) { in event_log_init()
/external/libchrome/base/memory/
Dshared_memory_region_unittest.cc21 const char* start_ptr = static_cast<const char*>(memory); in IsMemoryFilledWithByte() local
22 const char* end_ptr = start_ptr + size; in IsMemoryFilledWithByte()
23 for (const char* ptr = start_ptr; ptr < end_ptr; ++ptr) { in IsMemoryFilledWithByte()
Dshared_memory_unittest.cc174 char* start_ptr = static_cast<char*>(memory2.memory()); in TEST_P() local
175 char* end_ptr = start_ptr + kDataSize; in TEST_P()
176 for (char* ptr = start_ptr; ptr < end_ptr; ptr++) in TEST_P()
241 char* start_ptr = static_cast<char*>(memory2.memory()); in TEST_P() local
242 char* end_ptr = start_ptr + kDataSize; in TEST_P()
243 for (char* ptr = start_ptr; ptr < end_ptr; ptr++) { in TEST_P()
/external/libchrome/base/android/library_loader/
Dlibrary_prefetcher.cc62 unsigned char* start_ptr = reinterpret_cast<unsigned char*>(start); in Prefetch() local
65 for (unsigned char* ptr = start_ptr; ptr < end_ptr; ptr += kPageSize) { in Prefetch()
/external/python/cpython3/Objects/
Dsliceobject.c373 PyObject **start_ptr, PyObject **stop_ptr, in _PySlice_GetLongIndices() argument
495 *start_ptr = start; in _PySlice_GetLongIndices()
503 *start_ptr = *stop_ptr = *step_ptr = NULL; in _PySlice_GetLongIndices()
/external/python/cpython3/Include/
Dsliceobject.h38 PyObject **start_ptr, PyObject **stop_ptr,
/external/rust/crates/regex/src/
Ddfa.rs1016 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()
1402 Some(sp) => self.start_ptr(sp), in start_state()
1567 fn start_ptr(&self, si: StatePtr) -> StatePtr { in start_ptr() method
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_tris.c67 GLuint used = intel->batch.used - intel->prim.start_ptr; in intel_flush_inline_primitive()
76 intel->batch.map[intel->prim.start_ptr] = in intel_flush_inline_primitive()
82 intel->batch.used = intel->prim.start_ptr; in intel_flush_inline_primitive()
86 intel->prim.start_ptr = 0; in intel_flush_inline_primitive()
103 intel->prim.start_ptr = intel->batch.used; in intel_start_inline()
Dintel_context.h180 uint32_t start_ptr; /**< for i8xx */ member
/external/webrtc/modules/video_coding/
Dsession_info_unittest.cc40 void VerifyPacket(uint8_t* start_ptr, uint8_t start_value) { in VerifyPacket() argument
42 ASSERT_EQ(start_value + j, start_ptr[j]); in VerifyPacket()
/external/llvm-project/libcxx/utils/gdb/libcxx/
Dprinters.py467 self.start_ptr = self.val["__map_"]["__begin_"]
469 self.node_type = self.start_ptr.type
486 current_addr = self.start_ptr
/external/flatbuffers/tests/rust_usage_test/tests/
Dintegration_test.rs832 let start_ptr = buf.as_ptr() as usize; in struct_vec3_is_written_with_correct_alignment_in_table() localVariable
835 assert!(vec3_ptr > start_ptr); in struct_vec3_is_written_with_correct_alignment_in_table()
837 assert_eq!((vec3_ptr - start_ptr) % aln, 0); in struct_vec3_is_written_with_correct_alignment_in_table()
868 let start_ptr = buf.as_ptr() as usize; in struct_ability_is_written_with_correct_alignment_in_table_vector() localVariable
871 assert!(a_ptr > start_ptr); in struct_ability_is_written_with_correct_alignment_in_table_vector()
873 assert_eq!((a_ptr - start_ptr) % aln, 0); in struct_ability_is_written_with_correct_alignment_in_table_vector()
877 assert!(a_ptr > start_ptr); in struct_ability_is_written_with_correct_alignment_in_table_vector()
879 assert_eq!((a_ptr - start_ptr) % aln, 0); in struct_ability_is_written_with_correct_alignment_in_table_vector()
/external/pcre/dist2/src/
Dpcre2_jit_compile.c393 sljit_s32 start_ptr; member
3252 OP1(SLJIT_MOV, TMP1, 0, SLJIT_MEM1(SLJIT_SP), common->start_ptr); in do_reset_match()
3293 OP1(SLJIT_MOV, SLJIT_S0, 0, SLJIT_MEM1(SLJIT_SP), common->start_ptr); in copy_ovector()
3305 OP1(SLJIT_MOV, SLJIT_S0, 0, SLJIT_MEM1(SLJIT_SP), common->start_ptr); in copy_ovector()
3384 SLJIT_ASSERT(common->start_used_ptr != 0 && common->start_ptr != 0 in return_with_partial_match()
3390 common->mode == PCRE2_JIT_PARTIAL_SOFT ? common->hit_start : common->start_ptr); in return_with_partial_match()
13636 common->start_ptr = common->ovector_start; in jit_compile()
13644 if (common->start_ptr == 0) in jit_compile()
13645 common->start_ptr = OVECTOR(0); in jit_compile()
13761 if (common->start_ptr != OVECTOR(0)) in jit_compile()
[all …]