Home
last modified time | relevance | path

Searched refs:initial_length (Results 1 – 2 of 2) sorted by relevance

/third_party/iowow/src/utils/
Diwarr.c180 iwrc iwulist_init(IWULIST *list, size_t initial_length, size_t unit_size) { in iwulist_init() argument
184 if (!initial_length) { in iwulist_init()
185 initial_length = IWULIST_ALLOC_UNIT; in iwulist_init()
187 list->anum = initial_length; in iwulist_init()
188 list->array = malloc(unit_size * initial_length); in iwulist_init()
195 IWULIST *iwulist_create(size_t initial_length, size_t unit_size) { in iwulist_create() argument
200 if (iwulist_init(list, initial_length, unit_size)) { in iwulist_create()
Diwarr.h84 IW_EXPORT iwrc iwulist_init(IWULIST *list, size_t initial_length, size_t unit_size);
93 IW_EXPORT IWULIST *iwulist_create(size_t initial_length, size_t unit_size);\