Home
last modified time | relevance | path

Searched refs:end_ptr (Results 1 – 25 of 35) sorted by relevance

12

/third_party/rust/crates/memchr/src/memchr/
Dfallback.rs55 let end_ptr = start_ptr.add(haystack.len()); in memchr() localVariable
57 return forward_search(start_ptr, end_ptr, ptr, confirm); in memchr()
62 return forward_search(start_ptr, end_ptr, ptr, confirm); in memchr()
67 debug_assert!(end_ptr.sub(USIZE_BYTES) >= start_ptr); in memchr()
68 while loop_size == LOOP_SIZE && ptr <= end_ptr.sub(loop_size) { in memchr()
80 forward_search(start_ptr, end_ptr, ptr, confirm) in memchr()
94 let end_ptr = start_ptr.add(haystack.len()); in memchr2() localVariable
96 return forward_search(start_ptr, end_ptr, ptr, confirm); in memchr2()
103 return forward_search(start_ptr, end_ptr, ptr, confirm); in memchr2()
108 debug_assert!(end_ptr.sub(USIZE_BYTES) >= start_ptr); in memchr2()
[all …]
/third_party/rust/crates/memchr/src/memchr/x86/
Dsse2.rs112 let end_ptr = start_ptr.add(haystack.len()); in memchr() localVariable
116 while ptr < end_ptr { in memchr()
125 if let Some(i) = forward_search1(start_ptr, end_ptr, ptr, vn1) { in memchr()
130 debug_assert!(ptr > start_ptr && end_ptr.sub(VECTOR_SIZE) >= start_ptr); in memchr()
131 while loop_size == LOOP_SIZE && ptr <= end_ptr.sub(loop_size) { in memchr()
171 while ptr <= end_ptr.sub(VECTOR_SIZE) { in memchr()
172 debug_assert!(sub(end_ptr, ptr) >= VECTOR_SIZE); in memchr()
174 if let Some(i) = forward_search1(start_ptr, end_ptr, ptr, vn1) { in memchr()
179 if ptr < end_ptr { in memchr()
180 debug_assert!(sub(end_ptr, ptr) < VECTOR_SIZE); in memchr()
[all …]
Davx.rs66 let end_ptr = start_ptr.add(haystack.len()); in memchr() localVariable
77 if let Some(i) = forward_search1(start_ptr, end_ptr, ptr, vn1) { in memchr()
82 debug_assert!(ptr > start_ptr && end_ptr.sub(VECTOR_SIZE) >= start_ptr); in memchr()
83 while loop_size == LOOP_SIZE && ptr <= end_ptr.sub(loop_size) { in memchr()
103 while ptr <= end_ptr.sub(VECTOR_SIZE) { in memchr()
104 debug_assert!(sub(end_ptr, ptr) >= VECTOR_SIZE); in memchr()
106 if let Some(i) = forward_search1(start_ptr, end_ptr, ptr, vn1) { in memchr()
111 if ptr < end_ptr { in memchr()
112 debug_assert!(sub(end_ptr, ptr) < VECTOR_SIZE); in memchr()
113 ptr = ptr.sub(VECTOR_SIZE - sub(end_ptr, ptr)); in memchr()
[all …]
Dsse42.rs37 let end_ptr = haystack[haystack.len()..].as_ptr(); in memchr3() localVariable
41 while ptr < end_ptr { in memchr3()
49 while ptr <= end_ptr.sub(VECTOR_SIZE) { in memchr3()
57 if ptr < end_ptr { in memchr3()
58 debug_assert!(sub(end_ptr, ptr) < VECTOR_SIZE); in memchr3()
59 ptr = ptr.sub(VECTOR_SIZE - sub(end_ptr, ptr)); in memchr3()
60 debug_assert_eq!(sub(end_ptr, ptr), VECTOR_SIZE); in memchr3()
62 return sse2::forward_search3(start_ptr, end_ptr, ptr, vn1, vn2, vn3); in memchr3()
/third_party/skia/third_party/externals/harfbuzz/src/
Dhb-buffer-deserialize-text.hh411 const char **end_ptr, in _hb_buffer_deserialize_text() argument
550 *end_ptr = p; in _hb_buffer_deserialize_text()
562 *end_ptr = p; in _hb_buffer_deserialize_text()
574 *end_ptr = p; in _hb_buffer_deserialize_text()
586 *end_ptr = p; in _hb_buffer_deserialize_text()
598 *end_ptr = p; in _hb_buffer_deserialize_text()
610 *end_ptr = p; in _hb_buffer_deserialize_text()
662 *end_ptr = p; in _hb_buffer_deserialize_text()
689 *end_ptr = p; in _hb_buffer_deserialize_text()
718 *end_ptr = p; in _hb_buffer_deserialize_text()
[all …]
Dhb-buffer-deserialize-json.hh491 const char **end_ptr, in _hb_buffer_deserialize_json() argument
503 *end_ptr = ++p; in _hb_buffer_deserialize_json()
555 *end_ptr = p; in _hb_buffer_deserialize_json()
637 *end_ptr = p; in _hb_buffer_deserialize_json()
649 *end_ptr = p; in _hb_buffer_deserialize_json()
661 *end_ptr = p; in _hb_buffer_deserialize_json()
673 *end_ptr = p; in _hb_buffer_deserialize_json()
685 *end_ptr = p; in _hb_buffer_deserialize_json()
697 *end_ptr = p; in _hb_buffer_deserialize_json()
709 *end_ptr = p; in _hb_buffer_deserialize_json()
[all …]
Dhb-buffer-serialize.cc747 const char **end_ptr, /* May be NULL */ in hb_buffer_deserialize_glyphs() argument
752 if (!end_ptr) in hb_buffer_deserialize_glyphs()
753 end_ptr = &end; in hb_buffer_deserialize_glyphs()
754 *end_ptr = buf; in hb_buffer_deserialize_glyphs()
760 if (end_ptr) in hb_buffer_deserialize_glyphs()
761 *end_ptr = buf; in hb_buffer_deserialize_glyphs()
770 *end_ptr = buf; in hb_buffer_deserialize_glyphs()
783 buf, buf_len, end_ptr, in hb_buffer_deserialize_glyphs()
788 buf, buf_len, end_ptr, in hb_buffer_deserialize_glyphs()
819 const char **end_ptr, /* May be NULL */ in hb_buffer_deserialize_unicode() argument
[all …]
Dhb-number-parser.hh122 strtod_rl (const char *p, const char **end_ptr /* IN/OUT */) in strtod_rl() argument
132 const char *pe = *end_ptr; in strtod_rl()
216 *end_ptr = p; in strtod_rl()
Dhb-buffer-deserialize-json.rl48 *end_ptr = p;
114 const char **end_ptr,
126 *end_ptr = ++p;
138 *end_ptr = p;
Dhb-number-parser.rl95 strtod_rl (const char *p, const char **end_ptr /* IN/OUT */)
105 const char *pe = *end_ptr;
115 *end_ptr = p;
Dhb-buffer-deserialize-text.rl48 *end_ptr = p;
120 const char **end_ptr,
140 *end_ptr = p;
Dhb-buffer.h584 const char **end_ptr,
592 const char **end_ptr,
/third_party/musl/libc-test/src/functional/
Dtest-malloc-stats-print.c29 char *end_ptr = NULL; in parse_amount() local
30 long long result = strtoll(*s, &end_ptr, 10); in parse_amount()
31 if (end_ptr == *s) { in parse_amount()
34 *s = end_ptr; in parse_amount()
35 if ((!isspace(*end_ptr) && *end_ptr != '\n' && *end_ptr != '\0') || result < 0) { in parse_amount()
Dtest-malloc-info.c82 char *end_ptr; in parse_amount() local
83 long long result = strtoll(s, &end_ptr, 10); in parse_amount()
84 if (end_ptr != s + strlen(s)) { in parse_amount()
/third_party/rust/crates/memchr/src/memmem/
Dgenericsimd.rs135 let end_ptr = start_ptr.add(haystack.len()); in fwd_find() localVariable
136 let max_ptr = end_ptr.sub(min_haystack_len); in fwd_find()
146 fwd, needle, ptr, end_ptr, rare1chunk, rare2chunk, !0, in fwd_find()
153 if ptr < end_ptr { in fwd_find()
154 let remaining = diff(end_ptr, ptr); in fwd_find()
188 fwd, needle, ptr, end_ptr, rare1chunk, rare2chunk, mask, in fwd_find()
221 end_ptr: *const u8, in fwd_find_in_chunk()
236 if end_ptr.sub(needle.len()) < ptr { in fwd_find_in_chunk()
/third_party/curl/lib/
Daltsvc.c535 char *end_ptr; in Curl_altsvc_parse() local
578 port = strtoul(p, &end_ptr, 10); in Curl_altsvc_parse()
580 end_ptr = (char *)p; /* not left uninitialized */ in Curl_altsvc_parse()
581 if(!port || port > USHRT_MAX || end_ptr == p || *end_ptr != '\"') { in Curl_altsvc_parse()
587 p = end_ptr; in Curl_altsvc_parse()
632 num = strtoul(value_ptr, &end_ptr, 10); in Curl_altsvc_parse()
633 if((end_ptr != value_ptr) && (num < ULONG_MAX)) { in Curl_altsvc_parse()
Dhostip.c1159 char *end_ptr; in Curl_loadhostpairs() local
1176 tmp_port = strtoul(port_ptr, &end_ptr, 10); in Curl_loadhostpairs()
1177 if(tmp_port > USHRT_MAX || end_ptr == port_ptr || *end_ptr != ':') in Curl_loadhostpairs()
1182 addresses = end_ptr + 1; in Curl_loadhostpairs()
1185 while(*end_ptr) { in Curl_loadhostpairs()
1189 addr_begin = end_ptr + 1; in Curl_loadhostpairs()
1193 end_ptr = addr_end; in Curl_loadhostpairs()
/third_party/skia/third_party/externals/libpng/contrib/libtests/
Dpngunknown.c398 png_infop info_ptr, end_ptr; member
417 d->info_ptr = d->end_ptr = NULL; in init_display()
427 png_destroy_read_struct(&d->png_ptr, &d->info_ptr, &d->end_ptr); in clean_display()
430 if (d->png_ptr != NULL || d->info_ptr != NULL || d->end_ptr != NULL) in clean_display()
684 d->end_ptr = png_create_info_struct(d->png_ptr); in check()
685 if (d->info_ptr == NULL || d->end_ptr == NULL) in check()
859 png_read_end(d->png_ptr, d->end_ptr); in check()
868 flags[2] = get_valid(d, d->end_ptr); in check()
869 flags[3] = get_unknown(d, d->end_ptr, 1/*after IDAT*/); in check()
/third_party/rust/crates/memchr/src/memmem/prefilter/
Dgenericsimd.rs59 let end_ptr = start_ptr.add(haystack.len()); in find() localVariable
60 let max_ptr = end_ptr.sub(min_haystack_len); in find()
79 if ptr < end_ptr { in find()
/third_party/ffmpeg/libavformat/
Drtpdec_mpeg4.c307 char *end_ptr = NULL; in parse_fmtp() local
308 long long int val = strtoll(value, &end_ptr, 10); in parse_fmtp()
309 if (end_ptr == value || end_ptr[0] != '\0') { in parse_fmtp()
Drtpenc_xiph.c75 uint8_t *end_ptr = s->buf + 6 + max_pkt_size; // what we're allowed to write in ff_rtp_send_xiph() local
77 int remaining = end_ptr - ptr; in ff_rtp_send_xiph()
/third_party/glslang/StandAlone/
Dspirv-remap.cpp266 char* end_ptr = nullptr; in parseCmdLine() local
267 int verb = ::strtol(argv[a], &end_ptr, 10); in parseCmdLine()
271 if (*end_ptr == '\0' && end_ptr != argv[a]) { in parseCmdLine()
/third_party/mbedtls/programs/x509/
Dcert_write.c261 char *end_ptr = NULL; in parse_serial_decimal_format() local
264 dec = strtoull(ibuf, &end_ptr, 10); in parse_serial_decimal_format()
266 if ((errno != 0) || (end_ptr == ibuf)) { in parse_serial_decimal_format()
/third_party/ffmpeg/libavcodec/
Daudiotoolboxdec.c468 type *end_ptr = in_ptr + frame->nb_samples * avctx->ch_layout.nb_channels; \
470 …for (; in_ptr < end_ptr; in_ptr += avctx->ch_layout.nb_channels, out_ptr += avctx->ch_layout.nb_ch…
/third_party/skia/third_party/externals/libpng/
Dpngrutil.c3206 png_bytep end_ptr = 0; in png_combine_row() local
3238 end_ptr = dp + PNG_ROWBYTES(pixel_depth, row_width) - 1; in png_combine_row()
3239 end_byte = *end_ptr; in png_combine_row()
3678 if (end_ptr != NULL) in png_combine_row()
3679 *end_ptr = (png_byte)((end_byte & end_mask) | (*end_ptr & ~end_mask)); in png_combine_row()

12