Home
last modified time | relevance | path

Searched refs:initial_capacity (Results 1 – 4 of 4) sorted by relevance

/hardware/google/gfxstream/guest/mesa/src/util/
Dstring_buffer.c47 _mesa_string_buffer_create(void *mem_ctx, uint32_t initial_capacity) in _mesa_string_buffer_create() argument
56 str->capacity = initial_capacity ? initial_capacity : 32; in _mesa_string_buffer_create()
Dstring_buffer.h45 _mesa_string_buffer_create(void *mem_ctx, uint32_t initial_capacity);
/hardware/google/gfxstream/guest/android-emu/aemu/base/
Daddress_space.h308 int initial_capacity) in address_space_allocator_init() argument
310 address_space_assert(initial_capacity >= 1); in address_space_allocator_init()
314 malloc(sizeof(struct address_block) * initial_capacity); in address_space_allocator_init()
315 memset(allocator->blocks, 0, sizeof(struct address_block) * initial_capacity); in address_space_allocator_init()
325 allocator->capacity = initial_capacity; in address_space_allocator_init()
/hardware/google/aemu/base/include/aemu/base/
Daddress_space.h457 int initial_capacity) in address_space_allocator_init() argument
459 address_space_assert(initial_capacity >= 1); in address_space_allocator_init()
463 malloc(sizeof(struct address_block) * initial_capacity); in address_space_allocator_init()
464 memset(allocator->blocks, 0, sizeof(struct address_block) * initial_capacity); in address_space_allocator_init()
474 allocator->capacity = initial_capacity; in address_space_allocator_init()