Searched refs:alloc_cnt (Results 1 – 3 of 3) sorted by relevance
354 size_t *alloc_cnt, size_t *num) in socket_list_append() argument356 if (*num >= *alloc_cnt) { in socket_list_append()358 size_t new_alloc = (*alloc_cnt) << 1; in socket_list_append()364 *alloc_cnt = new_alloc; in socket_list_append()375 size_t alloc_cnt = 1 << 4; in channel_socket_list() local376 ares_socket_t *out = ares_malloc(alloc_cnt * sizeof(*out)); in channel_socket_list()398 if (!socket_list_append(&out, conn->fd, &alloc_cnt, num)) { in channel_socket_list()
253 size_t alloc_cnt = ares__round_up_pow2(dnsrec->qdcount + 1); in ares_dns_record_query_add() local256 sizeof(*temp) * alloc_cnt); in ares_dns_record_query_add()261 dnsrec->qdalloc = alloc_cnt; in ares_dns_record_query_add()
181 size_t alloc_cnt, free_cnt, prv_alloc, prv_free; \190 mbedtls_memory_buffer_alloc_count_get(&alloc_cnt, &free_cnt); \198 (unsigned) (alloc_cnt - prv_alloc));