/third_party/musl/src/network/ |
D | gethostbyname2_r.c | 54 h->h_aliases = (void *)buf; in gethostbyname2_r() 66 h->h_name = h->h_aliases[0] = buf; in gethostbyname2_r() 71 h->h_aliases[1] = buf; in gethostbyname2_r() 72 strcpy(h->h_aliases[1], name); in gethostbyname2_r() 73 buf += strlen(h->h_aliases[1])+1; in gethostbyname2_r() 74 } else h->h_aliases[1] = 0; in gethostbyname2_r() 76 h->h_aliases[2] = 0; in gethostbyname2_r()
|
D | gethostbyaddr_r.c | 40 h->h_aliases = (void *)buf; in gethostbyaddr_r() 47 h->h_aliases[0] = buf; in gethostbyaddr_r() 48 h->h_aliases[1] = 0; in gethostbyaddr_r() 68 h->h_name = h->h_aliases[0]; in gethostbyaddr_r()
|
/third_party/node/deps/cares/src/lib/ |
D | ares__get_hostent.c | 171 hostent->h_aliases = NULL; in ares__get_hostent() 193 hostent->h_aliases = ares_malloc((naliases + 1) * sizeof(char *)); in ares__get_hostent() 194 if (!hostent->h_aliases) in ares__get_hostent() 196 alias = hostent->h_aliases; in ares__get_hostent() 242 if (hostent->h_aliases) in ares__get_hostent() 244 for (alias = hostent->h_aliases; *alias; alias++) in ares__get_hostent() 246 ares_free(hostent->h_aliases); in ares__get_hostent()
|
D | ares_parse_ptr_reply.c | 196 hostent->h_aliases = ares_malloc((aliascnt+1) * sizeof (char *)); in ares_parse_ptr_reply() 197 if (!hostent->h_aliases) in ares_parse_ptr_reply() 203 hostent->h_aliases[i] = aliases[i]; in ares_parse_ptr_reply() 204 hostent->h_aliases[aliascnt] = NULL; in ares_parse_ptr_reply()
|
D | ares_free_hostent.c | 34 for (p = host->h_aliases; p && *p; p++) in ares_free_hostent() 36 ares_free(host->h_aliases); in ares_free_hostent()
|
D | ares_parse_ns_reply.c | 161 hostent->h_aliases = nameservers; in ares_parse_ns_reply()
|
D | ares__addrinfo2hostent.c | 94 (*host)->h_aliases = aliases; in ares__addrinfo2hostent()
|
D | ares_gethostbyname.c | 322 for (alias = (*host)->h_aliases; *alias; alias++) in file_lookup()
|
/third_party/musl/porting/liteos_a/user/src/network/ |
D | gethostbyaddr_r.c | 39 h->h_aliases = (void *)buf; in gethostbyaddr_r() 46 h->h_aliases[0] = buf; in gethostbyaddr_r() 47 h->h_aliases[1] = 0; in gethostbyaddr_r() 67 h->h_name = h->h_aliases[0]; in gethostbyaddr_r()
|
D | ent.c | 81 hd->he.h_aliases = hd->aliases; in gethostent_resolv()
|
/third_party/node/src/ |
D | cares_wrap.h | 78 dest->h_aliases = nullptr; in cares_wrap_hostent_cpy() 90 src->h_aliases[alias_count] != nullptr; in cares_wrap_hostent_cpy() 94 dest->h_aliases = node::Malloc<char*>(alias_count + 1); in cares_wrap_hostent_cpy() 96 const size_t cur_alias_size = strlen(src->h_aliases[i]) + 1; in cares_wrap_hostent_cpy() 97 dest->h_aliases[i] = node::Malloc(cur_alias_size); in cares_wrap_hostent_cpy() 98 memcpy(dest->h_aliases[i], src->h_aliases[i], cur_alias_size); in cares_wrap_hostent_cpy() 100 dest->h_aliases[alias_count] = nullptr; in cares_wrap_hostent_cpy()
|
D | cares_wrap.cc | 164 for (uint32_t i = 0; host->h_aliases[i] != nullptr; ++i) in HostentToNames() 165 names.emplace_back(OneByteString(env->isolate(), host->h_aliases[i])); in HostentToNames() 177 for (uint32_t i = 0; host->h_aliases[i] != nullptr; ++i) { in HostentToNames() 181 OneByteString(env->isolate(), host->h_aliases[i])).Check(); in HostentToNames() 248 if ((*type == ns_t_cname_or_a && ptr->h_name && ptr->h_aliases[0]) || in ParseGeneralReply() 266 for (uint32_t i = 0; ptr->h_aliases[i] != nullptr; i++) { in ParseGeneralReply() 267 auto alias = OneByteString(env->isolate(), ptr->h_aliases[i]); in ParseGeneralReply() 1873 if (host->h_aliases != nullptr) { in safe_free_hostent() 1875 while (host->h_aliases[idx]) { in safe_free_hostent() 1876 free(host->h_aliases[idx++]); in safe_free_hostent() [all …]
|
/third_party/node/deps/cares/src/tools/ |
D | ahost.c | 195 if (host->h_aliases[0]) in callback() 200 for (i = 0; host->h_aliases[i]; i++) in callback() 201 printf("%s ", host->h_aliases[i]); in callback()
|
/third_party/lwip/src/api/ |
D | netdb.c | 115 s_hostent.h_aliases = &s_aliases; in lwip_gethostbyname() 123 LWIP_DEBUGF(DNS_DEBUG, ("hostent.h_aliases == %p\n", (void *)s_hostent.h_aliases)); in lwip_gethostbyname() 215 ret->h_aliases = &h->aliases; in lwip_gethostbyname_r()
|
/third_party/lwip/src/include/lwip/ |
D | netdb.h | 94 char **h_aliases; /* A pointer to an array of pointers to alternative host names, member
|
/third_party/musl/ndk_musl_include/ |
D | netdb.h | 71 char **h_aliases; member
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/ |
D | netdb.h | 71 char **h_aliases; member
|
/third_party/musl/porting/uniproton/kernel/include/ |
D | netdb.h | 71 char **h_aliases; member
|
/third_party/musl/porting/liteos_a/kernel/include/ |
D | netdb.h | 71 char **h_aliases; member
|
/third_party/musl/include/ |
D | netdb.h | 71 char **h_aliases; member
|
/third_party/musl/porting/liteos_m/kernel/include/ |
D | netdb.h | 71 char **h_aliases; member
|
/third_party/musl/libc-test/src/api/ |
D | netdb.c | 13 F(char**, h_aliases) in f()
|
/third_party/rust/crates/libc/src/unix/newlib/ |
D | mod.rs | 90 pub h_aliases: *mut *mut ::c_char,
|
/third_party/rust/crates/libc/src/unix/ |
D | mod.rs | 147 pub h_aliases: *mut *mut ::c_char,
|
/third_party/python/Modules/ |
D | socketmodule.c | 5563 if (h->h_aliases) { 5564 for (pch = h->h_aliases; *pch != NULL; pch++) {
|