Home
last modified time | relevance | path

Searched refs:allocated (Results 1 – 5 of 5) sorted by relevance

/elf/
A Dstringtable.c35 table->allocated = 128; in stringtable_init()
37 table->entries = xcalloc (table->allocated, sizeof (table->entries[0])); in stringtable_init()
60 uint32_t new_allocated = table->allocated * 2; in stringtable_rehash()
65 for (uint32_t i = 0; i < table->allocated; ++i) in stringtable_rehash()
78 table->allocated = new_allocated; in stringtable_rehash()
85 if (table->allocated == 0) in stringtable_add()
95 = table->entries[hash & (table->allocated - 1)]; in stringtable_add()
104 if (table->count * 3 > table->allocated * 2) in stringtable_add()
111 uint32_t index = hash & (table->allocated - 1); in stringtable_add()
163 for (uint32_t i = 0; i < table->allocated; ++i) in stringtable_finalize()
[all …]
A Dstringtable_free.c24 for (uint32_t i = 0; i < table->allocated; ++i) in stringtable_free()
A Dstringtable.h39 uint32_t allocated; /* Length of the entries array. */ member
A Ddl-find_object.c112 size_t allocated; member
144 count += seg->allocated; in _dlfo_mappings_segment_count_allocated()
177 result->allocated = size; in _dlfo_mappings_segment_allocate_unpadded()
196 minimum_growth = 2* previous->allocated; in _dlfo_mappings_segment_allocate()
226 result->allocated = (((uintptr_t) (end - ptr) in _dlfo_mappings_segment_allocate()
229 assert (result->allocated >= size); in _dlfo_mappings_segment_allocate()
622 if (remaining_to_add < seg->allocated) in _dlfo_update_init_seg()
626 seg->size = seg->allocated; in _dlfo_update_init_seg()
A Ddl-tls.c436 void *allocated = malloc (size + alignment + sizeof (void *)); in _dl_allocate_tls_storage() local
437 if (__glibc_unlikely (allocated == NULL)) in _dl_allocate_tls_storage()
445 void *aligned = (void *) roundup ((uintptr_t) allocated, alignment); in _dl_allocate_tls_storage()
458 (sizeof (void *) + TLS_PRE_TCB_SIZE + (uintptr_t) allocated, in _dl_allocate_tls_storage()
469 *tcb_to_pointer_to_free_location (result) = allocated; in _dl_allocate_tls_storage()
473 free (allocated); in _dl_allocate_tls_storage()

Completed in 8 milliseconds