Home
last modified time | relevance | path

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

/dports/ftp/wget/wget-1.21.2/src/
H A Dhash.c51 # define xnew_array(type, len) (xmalloc ((len) * sizeof (type))) macro
292 ht->cells = xnew_array (struct cell, ht->size); in hash_table_new()
399 cells = xnew_array (struct cell, newsize); in grow_hash_table()
H A Dutils.h51 #define xnew_array(type, len) (xmalloc ((len) * sizeof (type))) macro
H A Dhost.c209 al->addresses = xnew_array (ip_address, cnt); in address_list_from_addrinfo()
280 al->addresses = xnew_array (ip_address, count); in address_list_from_ipv4_addresses()
677 al->addresses = xnew_array (ip_address, count); in address_list_from_hostent()
H A Dres.c169 newpaths = xnew_array (struct path_info, cnt); in prune_non_exact()
H A Dhttp.c166 req->headers = xnew_array (struct request_header, req->hcapacity); in request_new()
/dports/ftp/wget/wget-1.21.2/
H A DChangeLog18054 * src/xmalloc.h: New files. Define macros xnew, xnew0, xnew_array,
18061 * src/various: Use new macros xnew, xnew0, xnew_array, and xnew0_array