Searched refs:xnew_array (Results 1 – 6 of 6) sorted by relevance
/dports/ftp/wget/wget-1.21.2/src/ |
H A D | hash.c | 51 # 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 D | utils.h | 51 #define xnew_array(type, len) (xmalloc ((len) * sizeof (type))) macro
|
H A D | host.c | 209 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 D | res.c | 169 newpaths = xnew_array (struct path_info, cnt); in prune_non_exact()
|
H A D | http.c | 166 req->headers = xnew_array (struct request_header, req->hcapacity); in request_new()
|
/dports/ftp/wget/wget-1.21.2/ |
H A D | ChangeLog | 18054 * src/xmalloc.h: New files. Define macros xnew, xnew0, xnew_array, 18061 * src/various: Use new macros xnew, xnew0, xnew_array, and xnew0_array
|