/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 | 256 p = strchr(hp->h_name, '.'); 259 if (strlen(hp->h_name) + 1 > hostlen) { 265 strcpy(host, hp->h_name);
|
/external/libpcap/Win32/Src/ |
D | getaddrinfo.c | 594 } else if ((hp->h_name == NULL) || (hp->h_name[0] == 0) 936 if (hp && hp->h_name && hp->h_name[0] && hp->h_addr_list[0]) { 940 GET_CANONNAME(cur, hp->h_name); 948 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()
|
D | clockdiff.c | 607 myname = strdup(hp->h_name); in main() 614 hisname = strdup(hp->h_name); in main()
|
D | ping6.c | 1828 || idna_to_unicode_lzlz(hp->h_name, &s, 0) != IDNA_SUCCESS in pr_addr() 1833 return hp ? (s ? s : hp->h_name) : pr_addr_n(addr); in pr_addr()
|
D | rdisc.c | 707 snprintf(buf, sizeof(buf), "%s (%s)", phe->h_name, inet_ntoa(addr)); in pr_name()
|
/external/ppp/pppd/plugins/radius/ |
D | ip_util.c | 113 return ((hp==NULL)?"unknown":hp->h_name); in rc_ip_hostname()
|
/external/tcpdump/ |
D | addrtoname.c | 112 host.h_name = hostbuf; in win32_gethostbyaddr() 125 strcpy(host.h_name, hname); in win32_gethostbyaddr() 253 p->name = strdup(hp->h_name); in getname() 304 p->name = strdup(hp->h_name); in getname6()
|
/external/mdnsresponder/mDNSPosix/ |
D | nss_mdns.c | 959 result->hostent->h_name [0] = 0; in mdns_lookup_addr() 1447 result->hostent->h_name = in add_hostname_len() 1476 char * hostname = result->hostent->h_name; in add_hostname_or_alias() 1523 result->hostent->h_name = result->header->hostname; in init_result()
|
/external/libvncserver/x11vnc/ |
D | inet.c | 101 str = strdup(hp->h_name); in raw2host() 131 str = strdup(hp->h_name); in ip2host()
|
/external/iproute2/lib/ |
D | utils.c | 591 n->name = strdup(h_ent->h_name); in resolve_address()
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_platform_limits_posix.h | 610 char *h_name; member
|
D | sanitizer_platform_limits_posix.cc | 947 CHECK_SIZE_AND_OFFSET(hostent, h_name);
|
D | sanitizer_common_interceptors.inc | 1845 if (h->h_name) 1846 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, h->h_name, REAL(strlen)(h->h_name) + 1);
|
/external/lldb/source/Host/common/ |
D | Host.cpp | 1170 s.assign (h->h_name); in GetHostname()
|
/external/iptables/libxtables/ |
D | xtables.c | 1195 return host->h_name; in ipaddr_to_host()
|
/external/blktrace/ |
D | blktrace.c | 972 strcpy(hostname, hent->h_name); in net_setup_addr()
|
/external/compiler-rt/lib/msan/tests/ |
D | msan_test.cc | 962 ASSERT_NE((void *) 0, (he)->h_name); \ 965 EXPECT_NOT_POISONED(strlen((he)->h_name)); \
|
/external/libvncserver/x11vnc/misc/enhanced_tightvnc_viewer/src/patches/ |
D | tight-vncviewer-full.patch | 16865 + str = strdup(hp->h_name);
|