/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()
|
D | ent.c | 87 hd->he.h_aliases = hd->aliases; in gethostent_resolv()
|
/third_party/node/deps/cares/src/lib/ |
D | ares_parse_ns_reply.c | 103 hostent->h_aliases = ares_malloc((ancount + 1) * sizeof(*hostent->h_aliases)); in ares_parse_ns_reply() 104 if (hostent->h_aliases == NULL) { in ares_parse_ns_reply() 108 memset(hostent->h_aliases, 0, (ancount + 1) * sizeof(*hostent->h_aliases)); in ares_parse_ns_reply() 131 hostent->h_aliases[nscount] = ares_strdup(hostname); in ares_parse_ns_reply() 132 if (hostent->h_aliases[nscount] == NULL) { in ares_parse_ns_reply()
|
D | ares_parse_ptr_reply.c | 106 hostent->h_aliases = ares_malloc((ancount + 1) * sizeof(*hostent->h_aliases)); in ares_parse_ptr_reply() 107 if (hostent->h_aliases == NULL) { in ares_parse_ptr_reply() 111 memset(hostent->h_aliases, 0, (ancount + 1) * sizeof(*hostent->h_aliases)); in ares_parse_ptr_reply() 166 hostent->h_aliases[ptrcount] = ares_strdup(hostname); in ares_parse_ptr_reply() 167 if (hostent->h_aliases[ptrcount] == NULL) { in ares_parse_ptr_reply()
|
D | ares_free_hostent.c | 46 for (p = host->h_aliases; p && *p; p++) { in ares_free_hostent() 49 ares_free(host->h_aliases); in ares_free_hostent()
|
D | ares__hosts_file.c | 944 (*hostent)->h_aliases = in ares__hosts_entry_to_hostent() 945 ares_malloc_zero((naliases + 1) * sizeof(*(*hostent)->h_aliases)); in ares__hosts_entry_to_hostent() 946 if ((*hostent)->h_aliases == NULL) { in ares__hosts_entry_to_hostent() 956 (*hostent)->h_aliases[idx] = ares_strdup(ares__llist_node_val(node)); in ares__hosts_entry_to_hostent() 957 if ((*hostent)->h_aliases[idx] == NULL) { in ares__hosts_entry_to_hostent()
|
D | ares__addrinfo2hostent.c | 110 (*host)->h_aliases = aliases; in ares__addrinfo2hostent()
|
/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 | 79 dest->h_aliases = nullptr; in cares_wrap_hostent_cpy() 91 src->h_aliases[alias_count] != nullptr; in cares_wrap_hostent_cpy() 95 dest->h_aliases = node::Malloc<char*>(alias_count + 1); in cares_wrap_hostent_cpy() 97 const size_t cur_alias_size = strlen(src->h_aliases[i]) + 1; in cares_wrap_hostent_cpy() 98 dest->h_aliases[i] = node::Malloc(cur_alias_size); in cares_wrap_hostent_cpy() 99 memcpy(dest->h_aliases[i], src->h_aliases[i], cur_alias_size); in cares_wrap_hostent_cpy() 101 dest->h_aliases[alias_count] = nullptr; in cares_wrap_hostent_cpy()
|
D | cares_wrap.cc | 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() [all …]
|
/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/porting/uniproton/kernel/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/liteos_m/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/libc-test/src/api/ |
D | netdb.c | 13 F(char**, h_aliases) in f()
|
/third_party/musl/include/ |
D | netdb.h | 97 char **h_aliases; member
|
/third_party/curl/lib/ |
D | curl_addrinfo.c | 419 h->h_aliases = NULL; in Curl_ip2addr()
|
/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++) {
|
/third_party/rust/crates/libc/src/fuchsia/ |
D | mod.rs | 225 pub h_aliases: *mut *mut ::c_char,
|