Searched refs:needed_size (Results 1 – 8 of 8) sorted by relevance
/third_party/ffmpeg/libavcodec/ |
D | fraps.c | 174 unsigned needed_size = avctx->width * avctx->height + 1024; in decode_frame() local 175 needed_size += header_size; in decode_frame() 176 if (buf_size != needed_size) { in decode_frame() 179 buf_size, needed_size); in decode_frame() 183 unsigned needed_size = avctx->width * avctx->height * 3; in decode_frame() local 184 if (version == 0) needed_size /= 2; in decode_frame() 185 needed_size += header_size; in decode_frame() 191 if (buf_size != needed_size) { in decode_frame() 194 buf_size, needed_size); in decode_frame()
|
D | utils.c | 377 int ch, planar, needed_size, ret = 0; in avcodec_fill_audio_frame() local 379 needed_size = av_samples_get_buffer_size(NULL, nb_channels, in avcodec_fill_audio_frame() 382 if (buf_size < needed_size) in avcodec_fill_audio_frame()
|
/third_party/skia/third_party/externals/libwebp/src/utils/ |
D | bit_writer_utils.c | 30 const size_t needed_size = (size_t)needed_size_64b; in BitWriterResize() local 31 if (needed_size_64b != needed_size) { in BitWriterResize() 35 if (needed_size <= bw->max_pos_) return 1; in BitWriterResize() 38 if (new_size < needed_size) new_size = needed_size; in BitWriterResize()
|
/third_party/glib/patch/ |
D | backport-CVE-2023-24593_CVE-2023-25180-1.patch | 362 serialised.data = flavoured_malloc (needed_size, flavour); 371 serialised.data = flavoured_malloc (needed_size, flavour); 1182 serialised.data = flavoured_malloc (needed_size, flavour); 1183 serialised.size = needed_size; 1190 serialised.data = flavoured_malloc (needed_size, flavour); 1191 serialised.size = needed_size; 1198 serialised.data = flavoured_malloc (needed_size, flavour); 1199 serialised.size = needed_size; 1206 serialised.data = flavoured_malloc (needed_size, flavour); 1207 serialised.size = needed_size; [all …]
|
/third_party/node/deps/v8/src/objects/ |
D | bigint.cc | 999 int needed_size = SeqOneByteString::SizeFor(chars_written); in ToString() local 1000 if (needed_size < string_size && !isolate->heap()->IsLargeObject(*result)) { in ToString() 1001 Address new_end = result->address() + needed_size; in ToString() 1003 new_end, (string_size - needed_size), ClearRecordedSlots::kNo); in ToString()
|
/third_party/mesa3d/src/gallium/drivers/iris/ |
D | iris_program.c | 1167 unsigned needed_size, in check_urb_size() argument 1178 if (last_allocated_size < needed_size || in check_urb_size() 1179 (ice->shaders.urb.constrained && last_allocated_size > needed_size)) { in check_urb_size()
|
/third_party/node/deps/v8/src/web-snapshot/ |
D | web-snapshot.cc | 381 size_t needed_size = in WriteSnapshot() local 387 if (total_serializer.ExpandBuffer(needed_size).IsNothing()) { in WriteSnapshot()
|
/third_party/astc-encoder/Source/ |
D | tinyexr.h | 5471 mz_uint64 needed_size, cur_file_ofs, comp_remaining, in mz_zip_reader_extract_to_mem_no_alloc() local 5504 needed_size = (flags & MZ_ZIP_FLAG_COMPRESSED_DATA) ? file_stat.m_comp_size in mz_zip_reader_extract_to_mem_no_alloc() 5506 if (buf_size < needed_size) return MZ_FALSE; in mz_zip_reader_extract_to_mem_no_alloc() 5526 (size_t)needed_size) != needed_size) in mz_zip_reader_extract_to_mem_no_alloc()
|