Home
last modified time | relevance | path

Searched refs:required_size (Results 1 – 10 of 10) sorted by relevance

/third_party/mbedtls/programs/psa/
Dpsa_constant_names.c56 size_t *required_size, in append() argument
59 *required_size += length; in append()
60 if (*required_size < buffer_size) { in append()
67 size_t *required_size, in append_integer() argument
71 size_t n = snprintf(*buffer, buffer_size - *required_size, format, value); in append_integer()
72 if (n < buffer_size - *required_size) *buffer += n; in append_integer()
73 *required_size += n; in append_integer()
82 size_t *required_size, in append_with_curve() argument
87 append(buffer, buffer_size, required_size, string, length); in append_with_curve()
88 append(buffer, buffer_size, required_size, "(", 1); in append_with_curve()
[all …]
/third_party/jerryscript/jerry-core/jmem/
Djmem-heap.c140 const size_t required_size = ((size + JMEM_ALIGNMENT - 1) / JMEM_ALIGNMENT) * JMEM_ALIGNMENT; in jmem_heap_alloc() local
146 if (required_size == JMEM_ALIGNMENT in jmem_heap_alloc()
202 if (current_p->size >= required_size) in jmem_heap_alloc()
208 if (current_p->size > required_size) in jmem_heap_alloc()
211 …jmem_heap_free_t *const remaining_p = (jmem_heap_free_t *) ((uint8_t *) current_p + required_size); in jmem_heap_alloc()
215 remaining_p->size = current_p->size - (uint32_t) required_size; in jmem_heap_alloc()
236 JERRY_CONTEXT (jmem_heap_allocated_size) += required_size; in jmem_heap_alloc()
546 const size_t required_size = aligned_new_size - aligned_old_size; in jmem_heap_realloc_block() local
549 if (JERRY_CONTEXT (jmem_heap_allocated_size) + required_size >= JERRY_CONTEXT (jmem_heap_limit)) in jmem_heap_realloc_block()
564 if (required_size <= next_p->size) in jmem_heap_realloc_block()
[all …]
/third_party/boost/boost/heap/
Dheap_merge.hpp33 static void reserve (Heap1 & lhs, std::size_t required_size) in reserve()
39 static void reserve (Heap1 & lhs, std::size_t required_size) in reserve()
41 lhs.reserve(required_size); in reserve()
53 std::size_t required_size = lhs.size() + rhs.size(); in merge() local
54 space_reserver::reserve(lhs, required_size); in merge()
/third_party/alsa-utils/axfer/
Dcontainer-riff-wave.c239 unsigned int required_size; in parse_wave_subchunk() local
271 required_size = in parse_wave_subchunk()
275 required_size = in parse_wave_subchunk()
280 if (subchunk_data_size < required_size) in parse_wave_subchunk()
284 required_size); in parse_wave_subchunk()
289 subchunk_data_size -= required_size; in parse_wave_subchunk()
/third_party/gstreamer/gstplugins_bad/sys/winscreencap/
Ddxgicapture.c832 guint required_size; in _update_work_texture() local
853 move_rects_capacity_size, self->move_rects, &required_size); in _update_work_texture()
857 (required_size / sizeof (DXGI_OUTDUPL_MOVE_RECT)) * 2; in _update_work_texture()
863 required_size, self->move_rects, &required_size); in _update_work_texture()
866 move_count = required_size / sizeof (DXGI_OUTDUPL_MOVE_RECT); in _update_work_texture()
873 dirty_rects_capacity_size, self->dirty_rects, &required_size); in _update_work_texture()
877 self->dirty_rects_capacity = (required_size / sizeof (RECT)) * 2; in _update_work_texture()
882 required_size, self->dirty_rects, &required_size); in _update_work_texture()
886 dirty_count = required_size / sizeof (RECT); in _update_work_texture()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/tag/
Dgstvorbistag.c814 int required_size; in gst_tag_list_to_vorbiscomment_buffer() local
822 required_size = id_data_length + 4 + vendor_len + 4 + 1; in gst_tag_list_to_vorbiscomment_buffer()
824 required_size += 4 * my_data.count + my_data.data_count; in gst_tag_list_to_vorbiscomment_buffer()
826 buffer = gst_buffer_new_and_alloc (required_size); in gst_tag_list_to_vorbiscomment_buffer()
/third_party/mesa3d/src/glx/
Dindirect_vertex_array.c443 size_t required_size) in allocate_array_info_cache() argument
446 if (arrays->array_info_cache_buffer_size < required_size) { in allocate_array_info_cache()
448 required_size + MAX_HEADER_SIZE); in allocate_array_info_cache()
456 arrays->array_info_cache_buffer_size = required_size; in allocate_array_info_cache()
459 arrays->array_info_cache_size = required_size; in allocate_array_info_cache()
489 const size_t required_size = arrays->enabled_client_array_count * 12; in fill_array_info_cache() local
493 if (!allocate_array_info_cache(arrays, required_size)) { in fill_array_info_cache()
/third_party/lwip/src/core/
Dmem.c256 mem_size_t required_size = size + LWIP_MEM_ALIGN_SIZE(sizeof(struct memp_malloc_helper)); in mem_malloc() local
261 if (required_size <= memp_pools[poolnr]->size) { in mem_malloc()
/third_party/jerryscript/jerry-core/ecma/base/
Decma-helpers-string.c2499 lit_utf8_size_t required_size) /**< required size */ in ecma_stringbuilder_grow() argument
2504 const lit_utf8_size_t new_size = header_p->current_size + required_size; in ecma_stringbuilder_grow()
2510 jmem_stats_allocate_string_bytes (required_size); in ecma_stringbuilder_grow()
2513 return ((lit_utf8_byte_t *) header_p) + header_p->current_size - required_size; in ecma_stringbuilder_grow()
/third_party/gstreamer/gstplugins_bad/gst/dvbsubenc/libimagequant/
Dlibimagequant.c1951 size_t required_size; in liq_write_remapped_image() local
1966 required_size = input_image->width * input_image->height; in liq_write_remapped_image()
1967 if (buffer_size < required_size) { in liq_write_remapped_image()