/external/c-ares/ |
D | ares__get_hostent.c | 178 hostent->h_name = strdup(txthost); in ares__get_hostent() 179 if (!hostent->h_name) in ares__get_hostent() 243 if (hostent->h_name) in ares__get_hostent() 244 free((char *) hostent->h_name); in ares__get_hostent()
|
D | ares_gethostbyname.c | 293 hostent.h_name = strdup(name); in fake_hostent() 294 if (!hostent.h_name) in fake_hostent() 307 free((char *)(hostent.h_name)); in fake_hostent() 402 if (strcasecmp((*host)->h_name, name) == 0) in file_lookup()
|
D | ares_free_hostent.c | 34 free((char *)(host->h_name)); in ares_free_hostent()
|
D | acountry.c | 239 host->h_name)); in callback() 241 cname = host->h_name; /* CNAME gets put here */ in callback()
|
D | ares_getnameinfo.c | 240 char *end = ares_striendstr(host->h_name, domain); in nameinfo_callback() 247 (char *)(host->h_name), in nameinfo_callback()
|
D | ares_parse_ns_reply.c | 165 hostent->h_name = hostname; in ares_parse_ns_reply()
|
D | ahost.c | 183 printf("%-32s\t%s", host->h_name, addr_buf); in callback()
|
/external/openssh/openbsd-compat/ |
D | fake-rfc2553.c | 75 if (strlcpy(host, hp->h_name, hostlen) >= hostlen) in getnameinfo() 210 if (hp && hp->h_name && hp->h_name[0] && hp->h_addr_list[0]) { in getaddrinfo()
|
/external/tcpdump/missing/ |
D | getnameinfo.c | 251 p = strchr(hp->h_name, '.'); 254 if (strlen(hp->h_name) + 1 > hostlen) { 260 strcpy(host, hp->h_name);
|
/external/syslinux/core/lwip/src/api/ |
D | netdb.c | 108 s_hostent.h_name = (char*)name; in lwip_gethostbyname() 116 LWIP_DEBUGF(DNS_DEBUG, ("hostent.h_name == %s\n", s_hostent.h_name)); in lwip_gethostbyname() 214 ret->h_name = (char*)hostname; in lwip_gethostbyname_r()
|
/external/netperf/src/missing/ |
D | getaddrinfo.c | 417 canonname = hostent->h_name; 445 canonname = hostent->h_name; 578 if (nodelen <= strlen(hostent->h_name)) { 582 strcpy(node, hostent->h_name);
|
/external/libcups/cups/ |
D | http-addr.c | 425 strlcpy(name, host->h_name, (size_t)namelen); in httpAddrLookup() 712 cg->hostent.h_name = (char *)name; in httpGetHostByName() 749 cg->hostent.h_name = (char *)name; in httpGetHostByName() 855 if ((host = gethostbyname(s)) != NULL && host->h_name) in httpGetHostname() 861 strlcpy(s, host->h_name, (size_t)slen); in httpGetHostname()
|
/external/libpcap/Win32/Src/ |
D | getaddrinfo.c | 589 } else if ((hp->h_name == NULL) || (hp->h_name[0] == 0) 931 if (hp && hp->h_name && hp->h_name[0] && hp->h_addr_list[0]) { 935 GET_CANONNAME(cur, hp->h_name); 943 if ((cn = strdup(hp->h_name)) == NULL) {
|
/external/iputils/ |
D | tracepath.c | 185 if (h && idna_to_unicode_lzlz(h->h_name, &idn, 0) != IDNA_SUCCESS) in recverr() 189 print_host(abuf, h ? (idn ? idn : h->h_name) : abuf, show_both); in recverr() 191 print_host(h ? (idn ? idn : h->h_name) : abuf, abuf, show_both); in recverr()
|
D | traceroute6.c | 461 hostname = (char *)hp->h_name; in main() 917 if (idna_to_unicode_lzlz(hp->h_name, &s, 0) != IDNA_SUCCESS) in print() 922 Printf(" %s (%s)", hp ? (s ? s : hp->h_name) : hostname, pa); in print()
|
D | ping.c | 297 if (idna_to_unicode_lzlz(hp->h_name, &hnamebuf, 0) != IDNA_SUCCESS) { in main() 298 hnamebuf = strdup(hp->h_name); in main() 305 strncpy(hnamebuf, hp->h_name, sizeof(hnamebuf) - 1); in main() 1325 if (idna_to_unicode_lzlz(hp->h_name, &s, 0) != IDNA_SUCCESS) in pr_addr() 1330 snprintf(buf, sizeof(buf), "%s (%s)", s ? s : hp->h_name, in pr_addr()
|
/external/curl/lib/ |
D | curl_addrinfo.c | 282 DEBUGASSERT((he->h_name != NULL) && (he->h_addr_list != NULL)); in Curl_he2ai() 298 if((ai->ai_canonname = strdup(he->h_name)) == NULL) { in Curl_he2ai() 431 h->h_name = hoststr; in Curl_ip2addr()
|
/external/ppp/pppd/plugins/radius/ |
D | ip_util.c | 113 return ((hp==NULL)?"unknown":hp->h_name); in rc_ip_hostname()
|
/external/ltp/testcases/network/sockets/ |
D | ltpClient.c | 123 hostEntry->h_name, in main() 235 progName, hostEntry->h_name, in main() 635 printf("(%s)\n", hostEntry2->h_name); in ltp_traceroute()
|
/external/syslinux/core/lwip/src/include/lwip/ |
D | netdb.h | 73 char *h_name; /* Official name of the host. */ member
|
/external/syslinux/utils/ |
D | gethostip.c | 105 printf("%s%s", sep, host->h_name); in main()
|
/external/ltp/testcases/network/multicast/mc_gethost/ |
D | mc_gethost.c | 88 printf("name: %s\n", host->h_name);
|
/external/abi-compliance-checker/modules/Internals/Styles/ |
D | SymbolsList.css | 32 span.h_name {
|
/external/mdnsresponder/mDNSWindows/mdnsNSP/ |
D | mdnsNSP.c | 1553 he->h_name = (char *)( dst - base ); in QueryCopyQuerySetTo() 1896 if ( strstr( node->m_host.h_name, ".local" ) == NULL ) in IsLocalName() 1929 if ( strcmp( node->m_host.h_name, name ) != 0 ) in IsSameName() 2046 if ( info->m_host.h_name ) in HostsFileInfoFree() 2048 free( info->m_host.h_name ); in HostsFileInfoFree() 2049 info->m_host.h_name = NULL; in HostsFileInfoFree() 2149 (*hInfo)->m_host.h_name = (char*) malloc( strlen( tok ) + 1 ); in HostsFileNext() 2150 require_action( (*hInfo)->m_host.h_name, exit, err = kNoMemoryErr ); in HostsFileNext() 2151 strcpy( (*hInfo)->m_host.h_name, tok ); in HostsFileNext()
|
/external/tcpdump/ |
D | addrtoname.c | 109 host.h_name = hostbuf; in win32_gethostbyaddr() 122 strcpy(host.h_name, hname); in win32_gethostbyaddr() 250 p->name = strdup(hp->h_name); in getname() 301 p->name = strdup(hp->h_name); in getname6()
|