Home
last modified time | relevance | path

Searched refs:h_name (Results 1 – 25 of 29) sorted by relevance

12

/external/tcpdump/missing/
Dgetnameinfo.c256 p = strchr(hp->h_name, '.');
259 if (strlen(hp->h_name) + 1 > hostlen) {
265 strcpy(host, hp->h_name);
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/
Dhost_resolver.cc151 hostent_.h_name = strdup(ai->ai_canonname); in gethostbyname()
153 hostent_.h_name = strdup(name); in gethostbyname()
412 if (NULL != hostent_.h_name) { in hostent_cleanup()
413 free(hostent_.h_name); in hostent_cleanup()
427 hostent_.h_name = NULL; in hostent_cleanup()
/external/chromium_org/third_party/openssl/openssl/crypto/bio/
Db_sock.c322 j=strlen(a->h_name)+1;
323 if ((ret->h_name=OPENSSL_malloc(j)) == NULL) goto err;
324 memcpy((char *)ret->h_name,a->h_name,j);
369 if (a->h_name != NULL) OPENSSL_free(a->h_name);
/external/openssl/crypto/bio/
Db_sock.c322 j=strlen(a->h_name)+1;
323 if ((ret->h_name=OPENSSL_malloc(j)) == NULL) goto err;
324 memcpy((char *)ret->h_name,a->h_name,j);
369 if (a->h_name != NULL) OPENSSL_free(a->h_name);
/external/iputils/
Dtracepath.c185 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()
Dtraceroute6.c461 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()
Dping.c297 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()
Dclockdiff.c607 myname = strdup(hp->h_name); in main()
614 hisname = strdup(hp->h_name); in main()
Dping6.c1828 || 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()
Drdisc.c707 snprintf(buf, sizeof(buf), "%s (%s)", phe->h_name, inet_ntoa(addr)); in pr_name()
/external/libpcap/Win32/Src/
Dgetaddrinfo.c594 } 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/ppp/pppd/plugins/radius/
Dip_util.c113 return ((hp==NULL)?"unknown":hp->h_name); in rc_ip_hostname()
/external/chromium_org/third_party/openssl/openssl/apps/
Ds_socket.c450 if ((*host=(char *)OPENSSL_malloc(strlen(h1->h_name)+1)) == NULL) in do_accept()
455 BUF_strlcpy(*host,h1->h_name,strlen(h1->h_name)+1); in do_accept()
/external/openssl/apps/
Ds_socket.c450 if ((*host=(char *)OPENSSL_malloc(strlen(h1->h_name)+1)) == NULL) in do_accept()
456 BUF_strlcpy(*host,h1->h_name,strlen(h1->h_name)+1); in do_accept()
/external/tcpdump/
Daddrtoname.c112 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/chromium_org/native_client_sdk/src/libraries/third_party/newlib-extras/
Dnetdb.h99 char *h_name; /* official name of host */ member
/external/chromium_org/third_party/npapi/npspy/extern/nspr/
Dprnetdb.h66 char *h_name; /* official name of host */ member
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/
Dhost_resolver_test.cc351 ASSERT_STREQ(FAKE_HOSTNAME, host->h_name); in TEST_F()
379 ASSERT_STREQ("8.8.8.8", host->h_name); in TEST_F()
/external/mdnsresponder/mDNSPosix/
Dnss_mdns.c959 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/iproute2/lib/
Dutils.c591 n->name = strdup(h_ent->h_name); in resolve_address()
/external/chromium_org/native_client_sdk/src/examples/demo/nacl_io_demo/
Dhandlers.c955 RESPONSE_STRING(info->h_name); in HandleGethostbyname()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_platform_limits_posix.h597 char *h_name; member
Dsanitizer_platform_limits_posix.cc921 CHECK_SIZE_AND_OFFSET(hostent, h_name);
/external/lldb/source/Host/common/
DHost.cpp1170 s.assign (h->h_name); in GetHostname()
/external/iptables/libxtables/
Dxtables.c1195 return host->h_name; in ipaddr_to_host()

12