Searched refs:needed_size (Results 1 – 9 of 9) sorted by relevance
/third_party/ffmpeg/libavcodec/ |
D | fraps.c | 171 unsigned needed_size = avctx->width * avctx->height + 1024; in decode_frame() local 172 needed_size += header_size; in decode_frame() 173 if (buf_size != needed_size) { in decode_frame() 176 buf_size, needed_size); in decode_frame() 180 unsigned needed_size = avctx->width * avctx->height * 3; in decode_frame() local 181 if (version == 0) needed_size /= 2; in decode_frame() 182 needed_size += header_size; in decode_frame() 188 if (buf_size != needed_size) { in decode_frame() 191 buf_size, needed_size); in decode_frame()
|
D | utils.c | 389 int ch, planar, needed_size, ret = 0; in avcodec_fill_audio_frame() local 391 needed_size = av_samples_get_buffer_size(NULL, nb_channels, in avcodec_fill_audio_frame() 394 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/node/deps/cares/src/lib/ |
D | ares__buf.c | 184 size_t needed_size) in ares__buf_ensure_space() argument 201 needed_size++; in ares__buf_ensure_space() 205 if (remaining_size >= needed_size) { in ares__buf_ensure_space() 213 if (remaining_size >= needed_size) { in ares__buf_ensure_space() 228 } while (remaining_size < needed_size); in ares__buf_ensure_space()
|
/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()
|