Home
last modified time | relevance | path

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

/unit/src/
H A Dnxt_array.c46 uint32_t nalloc, new_alloc; in nxt_array_add() local
54 new_alloc = (nalloc == 0) ? 4 : nalloc * 2; in nxt_array_add()
58 new_alloc = nalloc + nalloc / 2; in nxt_array_add()
61 p = nxt_mp_alloc(array->mem_pool, array->size * new_alloc); in nxt_array_add()
74 array->nalloc = new_alloc; in nxt_array_add()