Lines Matching refs:addresses
280 static int uv__interface_addresses_v6(uv_interface_address_t** addresses, in uv__interface_addresses_v6() argument
341 *addresses = uv__calloc(1, *count * sizeof(uv_interface_address_t)); in uv__interface_addresses_v6()
342 if (!(*addresses)) { in uv__interface_addresses_v6()
347 address = *addresses; in uv__interface_addresses_v6()
371 uv_free_interface_addresses(*addresses, count_names); in uv__interface_addresses_v6()
403 int uv_interface_addresses(uv_interface_address_t** addresses, int* count) { in uv_interface_addresses() argument
418 *addresses = NULL; in uv_interface_addresses()
491 *addresses = uv__calloc(1, (*count + count_v6) * in uv_interface_addresses()
494 if (!(*addresses)) { in uv_interface_addresses()
501 address = *addresses; in uv_interface_addresses()
525 uv_free_interface_addresses(*addresses, count_names); in uv_interface_addresses()
544 uv_free_interface_addresses(*addresses, count_names); in uv_interface_addresses()
557 uv_free_interface_addresses(*addresses, count_names); in uv_interface_addresses()
578 void uv_free_interface_addresses(uv_interface_address_t* addresses, in uv_free_interface_addresses() argument
582 uv__free(addresses[i].name); in uv_free_interface_addresses()
583 uv__free(addresses); in uv_free_interface_addresses()