Searched refs:h_aliases (Results 1 – 20 of 20) sorted by relevance
/external/c-ares/ |
D | ares__get_hostent.c | 174 hostent->h_aliases = NULL; in ares__get_hostent() 196 hostent->h_aliases = malloc((naliases + 1) * sizeof(char *)); in ares__get_hostent() 197 if (!hostent->h_aliases) in ares__get_hostent() 199 alias = hostent->h_aliases; in ares__get_hostent() 245 if (hostent->h_aliases) in ares__get_hostent() 247 for (alias = hostent->h_aliases; *alias; alias++) in ares__get_hostent() 249 free(hostent->h_aliases); in ares__get_hostent()
|
D | ares_parse_ptr_reply.c | 184 hostent->h_aliases = malloc((aliascnt+1) * sizeof (char *)); in ares_parse_ptr_reply() 185 if (hostent->h_aliases) in ares_parse_ptr_reply() 190 hostent->h_aliases[i] = aliases[i]; in ares_parse_ptr_reply() 191 hostent->h_aliases[aliascnt] = NULL; in ares_parse_ptr_reply()
|
D | ares_free_hostent.c | 35 for (p = host->h_aliases; *p; p++) in ares_free_hostent() 37 free(host->h_aliases); in ares_free_hostent()
|
D | ahost.c | 185 if (host->h_aliases[0]) in callback() 190 for (i = 0; host->h_aliases[i]; i++) in callback() 191 printf("%s ", host->h_aliases[i]); in callback()
|
D | ares_parse_ns_reply.c | 166 hostent->h_aliases = nameservers; in ares_parse_ns_reply()
|
D | ares_gethostbyname.c | 302 hostent.h_aliases = aliases; in fake_hostent() 404 for (alias = (*host)->h_aliases; *alias; alias++) in file_lookup()
|
D | ares_parse_aaaa_reply.c | 236 hostent->h_aliases = aliases; in ares_parse_aaaa_reply()
|
D | ares_parse_a_reply.c | 238 hostent->h_aliases = aliases; in ares_parse_a_reply()
|
/external/syslinux/core/lwip/src/api/ |
D | netdb.c | 109 s_hostent.h_aliases = &s_aliases; in lwip_gethostbyname() 117 LWIP_DEBUGF(DNS_DEBUG, ("hostent.h_aliases == %p\n", s_hostent.h_aliases)); in lwip_gethostbyname() 118 if (s_hostent.h_aliases != NULL) { in lwip_gethostbyname() 120 for ( idx=0; s_hostent.h_aliases[idx]; idx++) { in lwip_gethostbyname() 121 LWIP_DEBUGF(DNS_DEBUG, ("hostent.h_aliases[%i]-> == %p\n", idx, s_hostent.h_aliases[idx])); in lwip_gethostbyname() 122 LWIP_DEBUGF(DNS_DEBUG, ("hostent.h_aliases[%i]-> == %s\n", idx, s_hostent.h_aliases[idx])); in lwip_gethostbyname() 215 ret->h_aliases = &(h->aliases); in lwip_gethostbyname_r()
|
/external/ltp/testcases/network/multicast/mc_gethost/ |
D | mc_gethost.c | 89 if (host->h_aliases && *host->h_aliases) { 91 for (cp = (char **)host->h_aliases; *cp; cp++)
|
/external/mdnsresponder/mDNSWindows/mdnsNSP/ |
D | mdnsNSP.c | 1557 he->h_aliases = (char **)( dst - base ); in QueryCopyQuerySetTo() 1900 for ( i = 0; node->m_host.h_aliases[i]; i++ ) in IsLocalName() 1902 if ( strstr( node->m_host.h_aliases[i], ".local" ) ) in IsLocalName() 1933 for ( i = 0; node->m_host.h_aliases[i]; i++ ) in IsSameName() 1935 if ( strcmp( node->m_host.h_aliases[i], name ) == 0 ) in IsSameName() 2034 if ( info->m_host.h_aliases ) in HostsFileInfoFree() 2038 for ( i = 0; info->m_host.h_aliases[i]; i++ ) in HostsFileInfoFree() 2040 free( info->m_host.h_aliases[i] ); in HostsFileInfoFree() 2043 free( info->m_host.h_aliases ); in HostsFileInfoFree() 2200 (*hInfo)->m_host.h_aliases = (char**) malloc( sizeof(char**) * numAliases ); in HostsFileNext() [all …]
|
/external/syslinux/core/lwip/src/include/lwip/ |
D | netdb.h | 74 char **h_aliases; /* A pointer to an array of pointers to alternative host names, member
|
/external/libcups/cups/ |
D | http-addr.c | 713 cg->hostent.h_aliases = NULL; in httpGetHostByName() 750 cg->hostent.h_aliases = NULL; in httpGetHostByName()
|
/external/curl/lib/ |
D | curl_addrinfo.c | 432 h->h_aliases = NULL; in Curl_ip2addr()
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_platform_limits_posix.h | 671 char **h_aliases; member
|
D | sanitizer_platform_limits_posix.cc | 1005 CHECK_SIZE_AND_OFFSET(hostent, h_aliases);
|
D | sanitizer_common_interceptors.inc | 2192 char **p = h->h_aliases; 2198 ctx, h->h_aliases, (p - h->h_aliases + 1) * sizeof(*h->h_aliases));
|
/external/mdnsresponder/mDNSPosix/ |
D | nss_mdns.c | 1524 result->hostent->h_aliases = result->header->aliases; in init_result()
|
/external/compiler-rt/lib/msan/tests/ |
D | msan_test.cc | 966 ASSERT_NE((void *) 0, (he)->h_aliases); \ 969 char **p = (he)->h_aliases; \
|
/external/curl/ |
D | CHANGES.0 | 10986 expecting h_aliases of the hostent struct to always be non-NULL.
|