/third_party/mesa3d/src/util/ |
D | vl_vlc.h | 46 unsigned bytes_left; member 92 assert(vlc->bytes_left); in vl_vlc_next_input() 94 if (len < vlc->bytes_left) in vl_vlc_next_input() 95 vlc->bytes_left -= len; in vl_vlc_next_input() 97 len = vlc->bytes_left; in vl_vlc_next_input() 98 vlc->bytes_left = 0; in vl_vlc_next_input() 132 unsigned bytes_left = vlc->end - vlc->data; in vl_vlc_fillbits() local 135 if (bytes_left == 0) { in vl_vlc_fillbits() 137 if (vlc->bytes_left) { in vl_vlc_fillbits() 145 } else if (bytes_left >= 4) { in vl_vlc_fillbits() [all …]
|
/third_party/ffmpeg/libavcodec/ |
D | mlp_parser.c | 39 int bytes_left; member 83 mp->bytes_left = 0; in mlp_parse() 102 if (mp->bytes_left == 0) { in mlp_parse() 116 mp->bytes_left = ((mp->pc.index > 0 ? mp->pc.buffer[0] : buf[0]) << 8) in mlp_parse() 118 mp->bytes_left = (mp->bytes_left & 0xfff) * 2; in mlp_parse() 119 if (mp->bytes_left <= 0) { // prevent infinite loop in mlp_parse() 122 mp->bytes_left -= mp->pc.index; in mlp_parse() 125 next = (mp->bytes_left > buf_size) ? END_NOT_FOUND : mp->bytes_left; in mlp_parse() 128 mp->bytes_left -= buf_size; in mlp_parse() 132 mp->bytes_left = 0; in mlp_parse()
|
D | mpegvideo_parser.c | 42 int frame_rate_index, ext_type, bytes_left; in mpegvideo_extract_headers() local 58 bytes_left = buf_end - buf; in mpegvideo_extract_headers() 61 if (bytes_left >= 2) { in mpegvideo_extract_headers() 63 if (bytes_left >= 4) in mpegvideo_extract_headers() 68 if (bytes_left >= 7) { in mpegvideo_extract_headers() 84 if (bytes_left >= 1) { in mpegvideo_extract_headers() 88 if (bytes_left >= 6) { in mpegvideo_extract_headers() 116 if (bytes_left >= 5) { in mpegvideo_extract_headers()
|
D | fitsenc.c | 44 int ret, bitpix, naxis3 = 1, i, j, k, bytes_left; in fits_encode_frame() local 105 bytes_left = padded_data_size - data_size; in fits_encode_frame() 106 memset(bytestream, 0, bytes_left); in fits_encode_frame() 107 bytestream += bytes_left; in fits_encode_frame()
|
D | brenderpix.c | 145 unsigned int bytes_left; in pix_decode_frame() local 268 bytes_left = bytestream2_get_bytes_left(&gb); in pix_decode_frame() 270 if (chunk_type != IMAGE_DATA_CHUNK || data_len != bytes_left || in pix_decode_frame() 271 bytes_left / bytes_per_scanline < hdr.height) { in pix_decode_frame()
|
D | fitsdec.c | 109 int lines_read, bytes_left, i, ret; in fits_read_header() local 124 bytes_left = (((lines_read + 35) / 36) * 36 - lines_read) * 80; in fits_read_header() 125 if (end - ptr8 < bytes_left) in fits_read_header() 127 ptr8 += bytes_left; in fits_read_header()
|
D | vc2enc.c | 645 int i, j, slice_x, slice_y, bytes_left = 0; in calc_slice_sizes() local 672 bytes_left += args->bytes; in calc_slice_sizes() 682 bytes_left = s->frame_max_bytes - bytes_left; in calc_slice_sizes() 685 while (bytes_left > 0) { in calc_slice_sizes() 690 if (bytes_left <= 0) in calc_slice_sizes() 700 if ((bytes_left - diff) > 0) { in calc_slice_sizes() 703 bytes_left -= diff; in calc_slice_sizes()
|
D | ralf.c | 436 int bytes_left; in decode_frame() local 497 bytes_left = src_size - table_bytes - 2; in decode_frame() 500 if (bytes_left < ctx->block_size[i]) { in decode_frame() 511 bytes_left -= ctx->block_size[i]; in decode_frame()
|
/third_party/libunwind/src/ |
D | os-linux.h | 239 ssize_t bytes_left = mi->buf_end - mi->buf; in maps_next() local 242 for (i = 0; i < bytes_left; ++i) in maps_next() 255 if (bytes_left > 0) in maps_next() 256 memmove (mi->buf_end - mi->buf_size, mi->buf, bytes_left); in maps_next() 259 nread = read (mi->fd, mi->buf + bytes_left, in maps_next() 260 mi->buf_size - bytes_left); in maps_next() 263 else if ((size_t) (nread + bytes_left) < mi->buf_size) in maps_next() 268 memmove (mi->buf_end - nread - bytes_left, mi->buf, in maps_next() 269 nread + bytes_left); in maps_next() 270 mi->buf = mi->buf_end - nread - bytes_left; in maps_next() [all …]
|
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/codecparsers/ |
D | dboolhuff.c | 45 size_t bytes_left = br->user_buffer_end - bufptr; in vp8dx_bool_decoder_fill() local 46 size_t bits_left = bytes_left * CHAR_BIT; in vp8dx_bool_decoder_fill() 53 bytes_left > sizeof (decrypted) ? sizeof (decrypted) : bytes_left; in vp8dx_bool_decoder_fill()
|
/third_party/gstreamer/gstplugins_good/gst/rtp/ |
D | gstrtpklvpay.c | 148 guint bytes_left; in gst_rtp_klv_pay_handle_buffer() local 150 bytes_left = map.size - offset; in gst_rtp_klv_pay_handle_buffer() 151 payload_size = MIN (bytes_left, max_payload_size); in gst_rtp_klv_pay_handle_buffer() 155 if (payload_size == bytes_left) { in gst_rtp_klv_pay_handle_buffer()
|
D | gstrtpjpegpay.c | 728 guint bytes_left; in gst_rtp_jpeg_pay_handle_buffer() local 863 bytes_left = in gst_rtp_jpeg_pay_handle_buffer() 868 bytes_left += sizeof (restart_marker_header); in gst_rtp_jpeg_pay_handle_buffer() 871 list = gst_buffer_list_new_sized ((bytes_left / max_payload_size) + 1); in gst_rtp_jpeg_pay_handle_buffer() 885 (bytes_left < (mtu - rtp_header_size) ? bytes_left : in gst_rtp_jpeg_pay_handle_buffer() 898 if (payload_size == bytes_left) { in gst_rtp_jpeg_pay_handle_buffer() 943 bytes_left -= quant_data_size; in gst_rtp_jpeg_pay_handle_buffer() 968 bytes_left -= payload_size; in gst_rtp_jpeg_pay_handle_buffer()
|
/third_party/skia/third_party/externals/libpng/contrib/oss-fuzz/ |
D | libpng_read_fuzzer.cc | 48 size_t bytes_left; member 73 if (length > buf_state->bytes_left) { in user_read_data() 77 buf_state->bytes_left -= length; in user_read_data() 129 png_handler.buf_state->bytes_left = size - kPngHeaderSize; in LLVMFuzzerTestOneInput()
|
/third_party/toybox/toys/pending/ |
D | dd.c | 230 unsigned long long bytes_left = TT.c_count; in dd_main() local 232 bytes_left *= TT.in.sz; in dd_main() 234 while (bytes_left) { in dd_main() 235 int chunk = bytes_left < TT.in.sz ? bytes_left : TT.in.sz; in dd_main() 267 bytes_left -= n; in dd_main()
|
/third_party/ffmpeg/libavformat/ |
D | dxa.c | 35 uint32_t bytes_left; member 124 c->bytes_left = fsize; in dxa_read_header() 160 if(!c->readvid && c->has_sound && c->bytes_left){ in dxa_read_packet() 163 size = FFMIN(c->bytes_left, c->bpc); in dxa_read_packet() 168 c->bytes_left -= size; in dxa_read_packet()
|
/third_party/ltp/testcases/kernel/mem/mmapstress/ |
D | mmapstress01.c | 157 off64_t bytes_left; local 159 off_t bytes_left; local 313 for (bytes_left = filesize; bytes_left; bytes_left -= c) { 314 write_cnt = min(pagesize, bytes_left);
|
D | mmapstress10.c | 185 off64_t bytes_left; local 187 off_t bytes_left; local 363 for (bytes_left = filesize; bytes_left; bytes_left -= c) { 364 write_cnt = min(pagesize, bytes_left);
|
/third_party/skia/third_party/externals/libjpeg-turbo/ |
D | jmemmgr.c | 111 size_t bytes_left; /* bytes still available in this pool */ member 119 size_t bytes_left; /* bytes still available in this pool */ member 217 (long)shdr_ptr->bytes_used, (long)shdr_ptr->bytes_left); in print_mem_stats() 299 if (hdr_ptr->bytes_left >= sizeofobject) in alloc_small() 329 hdr_ptr->bytes_left = sizeofobject + slop; in alloc_small() 343 hdr_ptr->bytes_left -= sizeofobject; in alloc_small() 405 hdr_ptr->bytes_left = 0; in alloc_large() 1034 lhdr_ptr->bytes_left + in free_pool() 1047 space_freed = shdr_ptr->bytes_used + shdr_ptr->bytes_left + in free_pool()
|
/third_party/mesa3d/src/gallium/frontends/omx/ |
D | vid_dec_common.h | 109 unsigned bytes_left; \ 188 unsigned bytes_left;
|
/third_party/mesa3d/src/intel/compiler/ |
D | brw_nir_lower_mem_access_bit_sizes.c | 124 const unsigned bytes_left = bytes_read - load_offset; in lower_mem_load_bit_size() local 129 load_bit_size = util_next_power_of_two(MIN2(bytes_left, 4)) * 8; in lower_mem_load_bit_size() 134 DIV_ROUND_UP(MIN2(bytes_left, 16), 4); in lower_mem_load_bit_size()
|
/third_party/mesa3d/src/gallium/frontends/omx/bellagio/ |
D | vid_dec_mpeg12.c | 157 unsigned bytes = priv->bytes_left - (vl_vlc_bits_left(vlc) / 8); in vid_dec_mpeg12_Decode() 363 priv->bytes_left = vl_vlc_bits_left(vlc) / 8; in vid_dec_mpeg12_Decode()
|
D | vid_dec.c | 483 priv->bytes_left = vl_vlc_bits_left(&vlc) / 8; in vid_dec_DecodeBuffer() 491 unsigned bytes = priv->bytes_left - vl_vlc_bits_left(&vlc) / 8; in vid_dec_DecodeBuffer()
|
/third_party/mbedtls/tests/suites/ |
D | test_suite_bignum.function | 80 size_t *bytes_left = state; 83 if (*bytes_left == 0) { 86 buf[i] = *bytes_left & 0xff; 87 --(*bytes_left); 1210 size_t bytes_left = rng_bytes; 1223 f_rng_bytes_left, &bytes_left); 1237 TEST_ASSERT((int) bytes_left == rng_bytes - wanted_bytes);
|
/third_party/lwip/src/apps/http/ |
D | httpd.c | 1095 int bytes_left; local 1109 bytes_left = fs_bytes_left(hs->handle); 1110 if (bytes_left <= 0) { 1120 count = LWIP_MIN(hs->buf_len, bytes_left); 1124 if (bytes_left < count) { 1125 count = bytes_left;
|
/third_party/mesa3d/src/gallium/frontends/omx/tizonia/ |
D | h264dprc.c | 307 priv->bytes_left = vl_vlc_bits_left(&vlc) / 8; in decode_frame() 315 unsigned bytes = priv->bytes_left - vl_vlc_bits_left(&vlc) / 8; in decode_frame()
|