Searched refs:nalloc (Results 1 – 6 of 6) sorted by path
24 array->nalloc = n; in nxt_array_create()46 uint32_t nalloc, new_alloc; in nxt_array_add() local48 nalloc = array->nalloc; in nxt_array_add()50 if (array->nelts == nalloc) { in nxt_array_add()52 if (nalloc < 16) { in nxt_array_add()54 new_alloc = (nalloc == 0) ? 4 : nalloc * 2; in nxt_array_add()58 new_alloc = nalloc + nalloc / 2; in nxt_array_add()67 nxt_memcpy(p, array->elts, array->size * nalloc); in nxt_array_add()74 array->nalloc = new_alloc; in nxt_array_add()131 if (dst->nalloc >= src->nelts) { in nxt_array_copy()
16 uint16_t nalloc; member
40 static void *nxt_cache_shm_alloc(void *data, size_t size, nxt_uint_t nalloc);73 nxt_cache_shm_alloc(void *data, size_t size, nxt_uint_t nalloc) in nxt_cache_shm_alloc() argument
105 nxt_uint_t nalloc; in nxt_cert_bio() local112 nalloc = 4; in nxt_cert_bio()114 cert = nxt_zalloc(sizeof(nxt_cert_t) + nalloc * sizeof(X509 *)); in nxt_cert_bio()234 if (cert->count == nalloc) { in nxt_cert_bio()235 nalloc += 4; in nxt_cert_bio()238 + nalloc * sizeof(X509 *)); in nxt_cert_bio()
20 list->nalloc = n; in nxt_list_create()38 if (last->nelts == list->nalloc) { in nxt_list_add()43 sizeof(nxt_list_part_t) + list->nalloc * list->size); in nxt_list_add()
24 uint32_t nalloc; member27 uint16_t nalloc; member