Searched refs:initial_length (Results 1 – 2 of 2) sorted by relevance
180 iwrc iwulist_init(IWULIST *list, size_t initial_length, size_t unit_size) { in iwulist_init() argument184 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() argument200 if (iwulist_init(list, initial_length, unit_size)) { in iwulist_create()
84 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);\