Home
last modified time | relevance | path

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

/third_party/node/deps/cares/src/lib/
Dares__htable.c194 ares__llist_t **prealloc_llist = NULL; in ares__htable_expand() local
217 prealloc_llist = in ares__htable_expand()
218 ares_malloc_zero(sizeof(*prealloc_llist) * prealloc_llist_len); in ares__htable_expand()
219 if (prealloc_llist == NULL) { in ares__htable_expand()
224 prealloc_llist[i] = ares__llist_create(htable->bucket_free); in ares__htable_expand()
225 if (prealloc_llist[i] == NULL) { in ares__htable_expand()
272 if (prealloc_llist == NULL || prealloc_llist_len == 0) { in ares__htable_expand()
275 buckets[idx] = prealloc_llist[prealloc_llist_len - 1]; in ares__htable_expand()
302 ares__htable_buckets_destroy(prealloc_llist, (unsigned int)prealloc_llist_len, in ares__htable_expand()