Lines Matching refs:h_aliases
166 for (uint32_t i = 0; host->h_aliases[i] != nullptr; ++i) in HostentToNames()
167 names.emplace_back(OneByteString(env->isolate(), host->h_aliases[i])); in HostentToNames()
179 for (uint32_t i = 0; host->h_aliases[i] != nullptr; ++i) { in HostentToNames()
183 OneByteString(env->isolate(), host->h_aliases[i])).Check(); in HostentToNames()
249 if ((*type == ns_t_cname_or_a && ptr->h_name && ptr->h_aliases[0]) || in ParseGeneralReply()
267 for (uint32_t i = 0; ptr->h_aliases[i] != nullptr; i++) { in ParseGeneralReply()
268 auto alias = OneByteString(env->isolate(), ptr->h_aliases[i]); in ParseGeneralReply()
1866 if (host->h_aliases != nullptr) { in safe_free_hostent()
1868 while (host->h_aliases[idx]) { in safe_free_hostent()
1869 free(host->h_aliases[idx++]); in safe_free_hostent()
1871 free(host->h_aliases); in safe_free_hostent()
1872 host->h_aliases = nullptr; in safe_free_hostent()