Searched refs:initial_capacity (Results 1 – 4 of 4) sorted by relevance
47 _mesa_string_buffer_create(void *mem_ctx, uint32_t initial_capacity) in _mesa_string_buffer_create() argument56 str->capacity = initial_capacity ? initial_capacity : 32; in _mesa_string_buffer_create()
45 _mesa_string_buffer_create(void *mem_ctx, uint32_t initial_capacity);
308 int initial_capacity) in address_space_allocator_init() argument310 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()
457 int initial_capacity) in address_space_allocator_init() argument459 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()