/third_party/musl/src/network/ |
H A D | gethostbyname2_r.c | 66 h->h_name = h->h_aliases[0] = buf; in gethostbyname2_r() 67 strcpy(h->h_name, canon); in gethostbyname2_r() 68 buf += strlen(h->h_name)+1; in gethostbyname2_r() 70 if (strcmp(h->h_name, name)) { in gethostbyname2_r()
|
H A D | gethostbyaddr_r.c | 68 h->h_name = h->h_aliases[0]; in gethostbyaddr_r()
|
/third_party/musl/libc-test/src/functionalext/supplement/manual/network/ |
H A D | gethostbyname2_r.c | 36 EXPECT_STREQ("gethostbyname2_r_0100", h.h_name, "127.0.0.1"); in gethostbyname2_r_0100() 53 EXPECT_TRUE("gethostbyname2_r_0200", strcmp(h.h_name, "::1") == 0); in gethostbyname2_r_0200() 84 EXPECT_STREQ("gethostbyname2_r_0400", "localhost", h.h_name); in gethostbyname2_r_0400()
|
H A D | gethostbyname2.c | 41 EXPECT_STREQ("gethostbyname2_0100", hptr->h_name, "127.0.0.1"); in gethostbyname2_0100() 58 EXPECT_STREQ("gethostbyname2_0200", hptr->h_name, "::1"); in gethostbyname2_0200()
|
H A D | gethostbyaddr_r.c | 35 EXPECT_TRUE("gethostbyaddr_r_0100", strcmp(h.h_name, "localhost") == 0); in gethostbyaddr_r_0100()
|
H A D | gethostbyaddr.c | 39 EXPECT_STREQ("gethostbyaddre_0100", hptr->h_name, "localhost"); in gethostbyaddre_0100()
|
H A D | gethostbyname_r.c | 47 EXPECT_STREQ("gethostbyname_r_0100", h.h_name, "127.0.0.1"); in gethostbyname_r_0100()
|
/third_party/node/deps/cares/src/lib/ |
H A D | ares__addrinfo2hostent.c | 136 (*host)->h_name = ares_strdup(ai->cnames->name); in ares__addrinfo2hostent() 137 if ((*host)->h_name == NULL && ai->cnames->name) { in ares__addrinfo2hostent() 141 (*host)->h_name = ares_strdup(ai->name); in ares__addrinfo2hostent() 142 if ((*host)->h_name == NULL && ai->name) { in ares__addrinfo2hostent()
|
H A D | ares_parse_ptr_reply.c | 182 hostent->h_name = ares_strdup(hostname); in ares_parse_ptr_reply() 183 if (hostent->h_name == NULL) { in ares_parse_ptr_reply()
|
H A D | ares_parse_ns_reply.c | 96 hostent->h_name = ares_strdup(hostname); in ares_parse_ns_reply() 97 if (hostent->h_name == NULL) { in ares_parse_ns_reply()
|
H A D | ares_free_hostent.c | 45 ares_free(host->h_name); in ares_free_hostent()
|
/third_party/python/Modules/ |
H A D | getnameinfo.c | 191 p = strchr(hp->h_name, '.'); 194 if (strlen(hp->h_name) > hostlen) { 200 strcpy(host, hp->h_name);
|
H A D | getaddrinfo.c | 508 if (hp && hp->h_name && hp->h_name[0] && hp->h_addr_list[0]) { 510 GET_CANONNAME(cur, hp->h_name); 578 if ((hp->h_name == NULL) || (hp->h_name[0] == 0) || 622 GET_CANONNAME(top, hp->h_name);
|
/third_party/curl/lib/ |
H A D | curl_addrinfo.c | 243 * char *h_name; 273 DEBUGASSERT((he->h_name != NULL) && (he->h_addr_list != NULL)); in Curl_he2ai() 277 size_t namelen = strlen(he->h_name) + 1; /* include null-terminator */ in Curl_he2ai() 295 memcpy(ai->ai_canonname, he->h_name, namelen); in Curl_he2ai() 418 h->h_name = hoststr; in Curl_ip2addr()
|
/third_party/lwip/src/api/ |
H A D | netdb.c | 113 s_hostent.h_name = s_hostname; in lwip_gethostbyname() 122 LWIP_DEBUGF(DNS_DEBUG, ("hostent.h_name == %s\n", s_hostent.h_name)); in lwip_gethostbyname() 214 ret->h_name = hostname; in lwip_gethostbyname_r()
|
/third_party/node/src/ |
H A D | cares_wrap.h | 81 dest->h_name = nullptr; in cares_wrap_hostent_cpy() 83 /* copy `h_name` */ in cares_wrap_hostent_cpy() 84 size_t name_size = strlen(src->h_name) + 1; in cares_wrap_hostent_cpy() 85 dest->h_name = node::Malloc<char>(name_size); in cares_wrap_hostent_cpy() 86 memcpy(dest->h_name, src->h_name, name_size); in cares_wrap_hostent_cpy()
|
/third_party/ffmpeg/libavformat/ |
H A D | os_support.c | 128 ai->ai_canonname = h ? av_strdup(h->h_name) : NULL; in ff_getaddrinfo() 160 snprintf(host, hostlen, "%s", ent->h_name); in ff_getnameinfo()
|
/third_party/toybox/toys/lsb/ |
H A D | hostname.c | 66 snprintf(toybuf, sizeof(toybuf), "%s", h->h_name); in hostname_main()
|
/third_party/ltp/testcases/network/sockets/ |
H A 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()
|
/third_party/musl/porting/liteos_a/user/src/network/ |
H A D | gethostbyaddr_r.c | 67 h->h_name = h->h_aliases[0]; in gethostbyaddr_r()
|
/third_party/lwip/src/include/lwip/ |
H A D | netdb.h | 93 char *h_name; /* Official name of the host. */ member
|
/third_party/musl/porting/liteos_a/kernel/include/ |
H A D | netdb.h | 70 char *h_name; member
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/ |
H A D | netdb.h | 70 char *h_name; member
|
/third_party/musl/porting/uniproton/kernel/include/ |
H A D | netdb.h | 70 char *h_name; member
|
/third_party/musl/porting/liteos_m/kernel/include/ |
H A D | netdb.h | 70 char *h_name; member
|