Home
last modified time | relevance | path

Searched refs:h_aliases (Results 1 – 20 of 20) sorted by relevance

/external/c-ares/
Dares__get_hostent.c174 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()
Dares_parse_ptr_reply.c184 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()
Dares_free_hostent.c35 for (p = host->h_aliases; *p; p++) in ares_free_hostent()
37 free(host->h_aliases); in ares_free_hostent()
Dahost.c185 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()
Dares_parse_ns_reply.c166 hostent->h_aliases = nameservers; in ares_parse_ns_reply()
Dares_gethostbyname.c302 hostent.h_aliases = aliases; in fake_hostent()
404 for (alias = (*host)->h_aliases; *alias; alias++) in file_lookup()
Dares_parse_aaaa_reply.c236 hostent->h_aliases = aliases; in ares_parse_aaaa_reply()
Dares_parse_a_reply.c238 hostent->h_aliases = aliases; in ares_parse_a_reply()
/external/syslinux/core/lwip/src/api/
Dnetdb.c109 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/
Dmc_gethost.c89 if (host->h_aliases && *host->h_aliases) {
91 for (cp = (char **)host->h_aliases; *cp; cp++)
/external/mdnsresponder/mDNSWindows/mdnsNSP/
DmdnsNSP.c1557 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/
Dnetdb.h74 char **h_aliases; /* A pointer to an array of pointers to alternative host names, member
/external/libcups/cups/
Dhttp-addr.c713 cg->hostent.h_aliases = NULL; in httpGetHostByName()
750 cg->hostent.h_aliases = NULL; in httpGetHostByName()
/external/curl/lib/
Dcurl_addrinfo.c432 h->h_aliases = NULL; in Curl_ip2addr()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_platform_limits_posix.h671 char **h_aliases; member
Dsanitizer_platform_limits_posix.cc1005 CHECK_SIZE_AND_OFFSET(hostent, h_aliases);
Dsanitizer_common_interceptors.inc2192 char **p = h->h_aliases;
2198 ctx, h->h_aliases, (p - h->h_aliases + 1) * sizeof(*h->h_aliases));
/external/mdnsresponder/mDNSPosix/
Dnss_mdns.c1524 result->hostent->h_aliases = result->header->aliases; in init_result()
/external/compiler-rt/lib/msan/tests/
Dmsan_test.cc966 ASSERT_NE((void *) 0, (he)->h_aliases); \
969 char **p = (he)->h_aliases; \
/external/curl/
DCHANGES.010986 expecting h_aliases of the hostent struct to always be non-NULL.