Home
last modified time | relevance | path

Searched refs:p_end (Results 1 – 25 of 26) sorted by relevance

12

/third_party/ffmpeg/libavcodec/
Ddvbsub_parser.c48 uint8_t *p, *p_end; in dvbsub_parse() local
117 p_end = pc->packet_buf + pc->packet_index; in dvbsub_parse()
119 while (p < p_end) in dvbsub_parse()
123 if (6 <= p_end - p) in dvbsub_parse()
127 if (len + 6 <= p_end - p) in dvbsub_parse()
137 if (1 < p_end - p) in dvbsub_parse()
Dass.c174 const char *p_end = p + size; in ff_ass_bprint_text_event() local
176 for (; p < p_end && *p; p++) { in ff_ass_bprint_text_event()
195 if (p < p_end - 1) in ff_ass_bprint_text_event()
197 } else if (p[0] == '\r' && p < p_end - 1 && p[1] == '\n') { in ff_ass_bprint_text_event()
Dlibxavs.c90 uint8_t *p, *p_end; in encode_nals() local
102 p_end = pkt->data + size; in encode_nals()
112 int size = p_end - p; in encode_nals()
Dgifdec.c91 uint32_t *p_end = p + (picture->linesize[0] / sizeof(uint32_t)) * picture->height; in gif_fill() local
93 for (; p < p_end; p++) in gif_fill()
Ddvbsubdec.c1447 const uint8_t *p, *p_end; in dvbsub_decode() local
1473 p_end = buf + buf_size; in dvbsub_decode()
1475 while (p_end - p >= 6 && *p == 0x0f) { in dvbsub_decode()
1487 if (p_end - p < segment_length) { in dvbsub_decode()
Dlibaribb24.c219 ptrdiff_t region_length = region->p_end - region->p_start; in libaribb24_handle_regions()
/third_party/benchmark/src/
Dbenchmark_runner.cc180 char* p_end; in ParseBenchMinTime() local
183 IterationCount num_iters = std::strtol(value.c_str(), &p_end, 10); in ParseBenchMinTime()
187 BM_CHECK(errno == 0 && p_end != nullptr && *p_end == 'x') in ParseBenchMinTime()
202 char* p_end; in ParseBenchMinTime() local
205 double min_time = std::strtod(value.c_str(), &p_end); in ParseBenchMinTime()
209 BM_CHECK(errno == 0 && p_end != nullptr && in ParseBenchMinTime()
210 ((has_suffix && *p_end == 's') || *p_end == '\0')) in ParseBenchMinTime()
/third_party/mesa3d/src/gallium/auxiliary/util/
Du_split_prim.h19 unsigned p_end; member
39 s->p_end = start + count; in util_split_prim_init()
58 if ((s->p_end - s->p_start) + s->close_first <= max_verts) { in util_split_prim_next()
59 s->emit(s->priv, s->p_start, s->p_end - s->p_start); in util_split_prim_next()
/third_party/ffmpeg/libavformat/
Dmpegts.c1258 static inline int get8(const uint8_t **pp, const uint8_t *p_end) in get8() argument
1264 if (p >= p_end) in get8()
1271 static inline int get16(const uint8_t **pp, const uint8_t *p_end) in get16() argument
1277 if (1 >= p_end - p) in get16()
1286 static char *getstr8(const uint8_t **pp, const uint8_t *p_end) in getstr8() argument
1293 len = get8(&p, p_end); in getstr8()
1296 if (len > p_end - p) in getstr8()
1354 const uint8_t **pp, const uint8_t *p_end) in parse_section_header() argument
1358 val = get8(pp, p_end); in parse_section_header()
1363 val = get16(pp, p_end); in parse_section_header()
[all …]
Drtsp.c2359 const char *p = p1->buf, *p_end = p1->buf + p1->buf_size; in sdp_probe() local
2362 while (p < p_end && *p != '\0') { in sdp_probe()
2363 if (sizeof("c=IN IP") - 1 < p_end - p && in sdp_probe()
2367 while (p < p_end - 1 && *p != '\n') p++; in sdp_probe()
2368 if (++p >= p_end) in sdp_probe()
/third_party/python/Parser/
Dtokenizer.c1350 tok_get(struct tok_state *tok, const char **p_start, const char **p_end) in tok_get() argument
1355 *p_start = *p_end = NULL; in tok_get()
1535 *p_end = tok->cur; in tok_get()
1545 *p_end = tok->cur; in tok_get()
1605 *p_end = tok->cur; in tok_get()
1662 *p_end = tok->cur - 1; /* Leave '\n' out of the string */ in tok_get()
1681 *p_end = tok->cur; in tok_get()
1693 *p_end = tok->cur; in tok_get()
1867 *p_end = tok->cur; in tok_get()
1890 *p_end = tok->cur; in tok_get()
[all …]
/third_party/skia/third_party/externals/harfbuzz/util/
Dhb-subset.cc264 const char *p_end = arg + strlen (arg); in parse_glyphs() local
267 while (p < p_end) in parse_glyphs()
269 while (p < p_end && (*p == ' ' || *p == ',')) in parse_glyphs()
273 while (end < p_end && *end != ' ' && *end != ',') in parse_glyphs()
/third_party/json/include/nlohmann/detail/
Djson_pointer.hpp231 char* p_end = nullptr; in array_index() local
233 unsigned long long res = std::strtoull(p, &p_end, 10); // NOLINT(runtime/int) in array_index()
234 if (p == p_end // invalid input or empty string in array_index()
236 … || JSON_HEDLEY_UNLIKELY(static_cast<std::size_t>(p_end - p) != s.size())) // incomplete read in array_index()
/third_party/ffmpeg/doc/examples/
Dfiltering_audio.c205 const uint16_t *p_end = p + n; in print_frame() local
207 while (p < p_end) { in print_frame()
/third_party/mesa3d/src/intel/common/
Dintel_decoder.c1014 if (iter->p_end && p >= iter->p_end) in iter_decode_field_raw()
1018 if (!iter->p_end || (p + 1) < iter->p_end) in iter_decode_field_raw()
1159 iter->p_end = length >= 0 ? &p[length] : NULL; in intel_field_iterator_init()
1172 if (!result && iter->p_end) { in intel_field_iterator_next()
Dintel_decoder.h88 const uint32_t *p_end; member
/third_party/skia/third_party/externals/freetype/src/cff/
Dcffload.c353 FT_Byte* p_end; in cff_index_load_offsets() local
366 p_end = p + data_size; in cff_index_load_offsets()
371 for ( ; p < p_end; p++, poff++ ) in cff_index_load_offsets()
376 for ( ; p < p_end; p += 2, poff++ ) in cff_index_load_offsets()
381 for ( ; p < p_end; p += 3, poff++ ) in cff_index_load_offsets()
386 for ( ; p < p_end; p += 4, poff++ ) in cff_index_load_offsets()
/third_party/wpa_supplicant/wpa_supplicant-2.9/hostapd/
Dap_ctrl_iface.c4049 char *p_start = cmd, *p_end; in hostapd_global_ctrl_iface_dup_network() local
4054 p_end = os_strchr(p_start, ' '); in hostapd_global_ctrl_iface_dup_network()
4055 if (!p_end) { in hostapd_global_ctrl_iface_dup_network()
4061 *p_end = '\0'; in hostapd_global_ctrl_iface_dup_network()
4069 p_start = p_end + 1; in hostapd_global_ctrl_iface_dup_network()
4070 p_end = os_strchr(p_start, ' '); in hostapd_global_ctrl_iface_dup_network()
4071 if (!p_end) { in hostapd_global_ctrl_iface_dup_network()
4077 *p_end = '\0'; in hostapd_global_ctrl_iface_dup_network()
4085 p_start = p_end + 1; in hostapd_global_ctrl_iface_dup_network()
/third_party/openssl/crypto/ts/
Dts_rsp_sign.c825 char *p_end = genTime_str + sizeof(genTime_str); in TS_RESP_set_genTime_with_precision() local
840 p += BIO_snprintf(p, p_end - p, in TS_RESP_set_genTime_with_precision()
/third_party/node/deps/openssl/openssl/crypto/ts/
Dts_rsp_sign.c825 char *p_end = genTime_str + sizeof(genTime_str); in TS_RESP_set_genTime_with_precision() local
840 p += BIO_snprintf(p, p_end - p, in TS_RESP_set_genTime_with_precision()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/hostapd/
Dap_ctrl_iface.c4704 char *p_start = cmd, *p_end; in hostapd_global_ctrl_iface_dup_network() local
4709 p_end = os_strchr(p_start, ' '); in hostapd_global_ctrl_iface_dup_network()
4710 if (!p_end) { in hostapd_global_ctrl_iface_dup_network()
4716 *p_end = '\0'; in hostapd_global_ctrl_iface_dup_network()
4724 p_start = p_end + 1; in hostapd_global_ctrl_iface_dup_network()
4725 p_end = os_strchr(p_start, ' '); in hostapd_global_ctrl_iface_dup_network()
4726 if (!p_end) { in hostapd_global_ctrl_iface_dup_network()
4732 *p_end = '\0'; in hostapd_global_ctrl_iface_dup_network()
4740 p_start = p_end + 1; in hostapd_global_ctrl_iface_dup_network()
/third_party/mbedtls/library/
Dbignum.c462 char *p_end = *p + buflen; in mpi_write_hlp() local
475 *(--p_end) = (char) ('0' + r); in mpi_write_hlp()
477 *(--p_end) = (char) ('A' + (r - 0xA)); in mpi_write_hlp()
483 memmove(*p, p_end, length); in mpi_write_hlp()
/third_party/python/Modules/
D_datetimemodule.c735 const char *p_end = tstr_end; in parse_hh_mm_ss_ff() local
746 if (p >= p_end) { in parse_hh_mm_ss_ff()
761 size_t len_remains = p_end - p; in parse_hh_mm_ss_ff()
794 const char *p_end = dtstr + dtlen; in parse_isoformat_time() local
801 } while (++tzinfo_pos < p_end); in parse_isoformat_time()
809 else if (tzinfo_pos == p_end) { in parse_isoformat_time()
825 size_t tzlen = p_end - tzinfo_pos; in parse_isoformat_time()
833 rv = parse_hh_mm_ss_ff(tzinfo_pos, p_end, &tzhour, &tzminute, &tzsecond, in parse_isoformat_time()
/third_party/skia/third_party/externals/libpng/
Dpng.c929 png_const_bytep p, p_end;
934 p_end = png_ptr->chunk_list;
935 p = p_end + png_ptr->num_chunk_list*5; /* beyond end */
948 while (p > p_end);
/third_party/skia/third_party/externals/freetype/src/sfnt/
Dttcmap.c991 FT_Byte* p_end = ends; in tt_cmap4_validate() local
1000 end = TT_NEXT_USHORT( p_end ); in tt_cmap4_validate()

12