Home
last modified time | relevance | path

Searched refs:end_ptr (Results 1 - 25 of 33) sorted by relevance

12

/third_party/rust/crates/memchr/src/memchr/x86/
H A Dsse2.rs112 let end_ptr = start_ptr.add(haystack.len()); in memchr()
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, pt in memchr()
[all...]
H A Davx.rs66 let end_ptr = start_ptr.add(haystack.len()); in memchr()
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, pt in memchr()
[all...]
H A Dsse42.rs37 let end_ptr = haystack[haystack.len()..].as_ptr(); in memchr3()
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/rust/crates/memchr/src/memchr/
H A Dfallback.rs55 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()
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()
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 in memchr2()
[all...]
/third_party/musl/libc-test/src/functional/
H A 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()
H A 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/skia/third_party/externals/harfbuzz/src/
H A Dhb-buffer-deserialize-json.hh491 const char **end_ptr, in _hb_buffer_deserialize_json()
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 in _hb_buffer_deserialize_json()
488 _hb_buffer_deserialize_json(hb_buffer_t *buffer, const char *buf, unsigned int buf_len, const char **end_ptr, hb_font_t *font) _hb_buffer_deserialize_json() argument
[all...]
H A Dhb-buffer-deserialize-text.hh411 const char **end_ptr, in _hb_buffer_deserialize_text()
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 in _hb_buffer_deserialize_text()
408 _hb_buffer_deserialize_text(hb_buffer_t *buffer, const char *buf, unsigned int buf_len, const char **end_ptr, hb_font_t *font) _hb_buffer_deserialize_text() argument
[all...]
H A Dhb-buffer-serialize.cc731 * @end_ptr: (out) (optional): output pointer to the character after last
747 const char **end_ptr, /* May be NULL */ in hb_buffer_deserialize_glyphs()
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()
744 hb_buffer_deserialize_glyphs(hb_buffer_t *buffer, const char *buf, int buf_len, const char **end_ptr, hb_font_t *font, hb_buffer_serialize_format_t format) hb_buffer_deserialize_glyphs() argument
816 hb_buffer_deserialize_unicode(hb_buffer_t *buffer, const char *buf, int buf_len, const char **end_ptr, hb_buffer_serialize_format_t format) hb_buffer_deserialize_unicode() argument
[all...]
H A Dhb-number-parser.hh122 strtod_rl (const char *p, const char **end_ptr /* IN/OUT */) in strtod_rl()
132 const char *pe = *end_ptr; in strtod_rl()
216 *end_ptr = p; in strtod_rl()
H A Dhb-buffer.h584 const char **end_ptr,
592 const char **end_ptr,
/third_party/rust/crates/memchr/src/memmem/
H A Dgenericsimd.rs110 // guarantee that end_ptr.sub(needle.len()) won't result in UB. We could
135 let end_ptr = start_ptr.add(haystack.len());
136 let max_ptr = end_ptr.sub(min_haystack_len);
146 fwd, needle, ptr, end_ptr, rare1chunk, rare2chunk, !0,
153 if ptr < end_ptr {
154 let remaining = diff(end_ptr, ptr);
188 fwd, needle, ptr, end_ptr, rare1chunk, rare2chunk, mask,
198 /// pointed to by ptr, with the end of the haystack pointed to by end_ptr. When
215 /// loads on ptr up to (end_ptr - needle.len()).
221 end_ptr in fwd_find_in_chunk()
[all...]
/third_party/curl/lib/
H A 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()
H A 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/spirv-tools/tools/util/
H A Dflags.cpp89 char* end_ptr = nullptr; in parse_flag_value() local
90 const uint64_t number = strtoull(value.c_str(), &end_ptr, 10); in parse_flag_value()
91 if (end_ptr == nullptr || end_ptr != value.c_str() + value.size() || in parse_flag_value()
/third_party/rust/crates/memchr/src/memmem/prefilter/
H A Dgenericsimd.rs59 let end_ptr = start_ptr.add(haystack.len());
60 let max_ptr = end_ptr.sub(min_haystack_len);
79 if ptr < end_ptr {
/third_party/skia/third_party/externals/libpng/contrib/libtests/
H A 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/ffmpeg/libavformat/
H A 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()
H A 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/
H A Dspirv-remap.cpp273 char* end_ptr = nullptr; in parseCmdLine() local
274 int verb = ::strtol(argv[a], &end_ptr, 10); in parseCmdLine()
278 if (*end_ptr == '\0' && end_ptr != argv[a]) { in parseCmdLine()
/third_party/mbedtls/programs/x509/
H A Dcert_write.c259 char *end_ptr = NULL; in parse_serial_decimal_format() local
262 dec = strtoull(ibuf, &end_ptr, 10); in parse_serial_decimal_format()
264 if ((errno != 0) || (end_ptr == ibuf)) { in parse_serial_decimal_format()
/third_party/ffmpeg/libavcodec/
H A 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_channels) { \
/third_party/backends/backend/
H A Davision.c7895 uint8_t* end_ptr = begin_ptr + s->avdimen.hw_bytes_per_line; in reader_process() local
7897 while (begin_ptr < end_ptr) { in reader_process()
7900 *begin_ptr++ = *end_ptr; in reader_process()
7901 *end_ptr-- = tmp; in reader_process()
7915 uint8_t* end_ptr = begin_ptr + s->avdimen.hw_bytes_per_line - 3; in reader_process() local
7917 while (begin_ptr < end_ptr) { in reader_process()
7922 *begin_ptr++ = *end_ptr; in reader_process()
7923 *end_ptr++ = tmp; in reader_process()
7927 *begin_ptr++ = *end_ptr; in reader_process()
7928 *end_ptr in reader_process()
7954 uint8_t* end_ptr = begin_ptr + s->avdimen.hw_bytes_per_line; reader_process() local
[all...]
H A Depson.c2390 char *end_ptr; in attach() local
2398 end_ptr = strchr (device_name, ' '); in attach()
2399 if (end_ptr != NULL) in attach()
2401 *end_ptr = '\0'; in attach()
2527 char *end_ptr; in attach() local
2535 end_ptr = strchr (device_name, ' '); in attach()
2536 if (end_ptr != NULL) in attach()
2538 *end_ptr = '\0'; in attach()
/third_party/skia/third_party/externals/libpng/
H A Dpngrutil.c3205 png_bytep end_ptr = 0; in png_combine_row() local
3236 /* end_ptr == NULL is a flag to say do nothing */ in png_combine_row()
3237 end_ptr = dp + PNG_ROWBYTES(pixel_depth, row_width) - 1; in png_combine_row()
3238 end_byte = *end_ptr; in png_combine_row()
3665 /* Here if pixel_depth < 8 to check 'end_ptr' below. */ in png_combine_row()
3677 if (end_ptr != NULL) in png_combine_row()
3678 *end_ptr = (png_byte)((end_byte & end_mask) | (*end_ptr & ~end_mask)); in png_combine_row()

Completed in 37 milliseconds

12