/external/chromium/third_party/libjingle/source/talk/base/ |
H A D | nethelpers.cc | 79 total_len += strlen(ent->h_name) + 1; 98 result->h_name = p; 99 memcpy(p, ent->h_name, strlen(ent->h_name) + 1); 100 p += strlen(ent->h_name) + 1;
|
/external/ppp/pppd/plugins/radius/ |
H A D | ip_util.c | 113 return ((hp==NULL)?"unknown":hp->h_name);
|
/external/dropbear/ |
H A D | fake-rfc2553.c | 72 if (strlcpy(host, hp->h_name, hostlen) >= hostlen) 202 if (hp && hp->h_name && hp->h_name[0] && hp->h_addr_list[0]) {
|
/external/openssh/openbsd-compat/ |
H A D | fake-rfc2553.c | 75 if (strlcpy(host, hp->h_name, hostlen) >= hostlen) 210 if (hp && hp->h_name && hp->h_name[0] && hp->h_addr_list[0]) {
|
/external/tcpdump/missing/ |
H A D | getnameinfo.c | 256 p = strchr(hp->h_name, '.'); 259 if (strlen(hp->h_name) + 1 > hostlen) { 265 strcpy(host, hp->h_name);
|
H A D | getaddrinfo.c | 582 } else if ((hp->h_name == NULL) || (hp->h_name[0] == 0) 924 if (hp && hp->h_name && hp->h_name[0] && hp->h_addr_list[0]) { 928 GET_CANONNAME(cur, hp->h_name); 936 if ((cn = strdup(hp->h_name)) == NULL) {
|
/external/openssl/crypto/bio/ |
H A D | b_sock.c | 322 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/quake/quake/src/WinQuake/ |
H A D | mplpc.cpp | 103 char h_name[1]; // h_name is the only important value
member in struct:__anon12355 464 s->h_name = HostEnt_hname;
465 fstrncpyfrom(s->h_name, (char *) FARPKL(&old->h_name), HOSTENT_STRLEN_LIMIT-1);
466 s->h_name[HOSTENT_STRLEN_LIMIT-1] = 0;
610 if (FARPKL(&retVal->h_name) == 0) {
651 if (FARPKL(&retVal->h_name) == 0) {
|
H A D | net_mp.cpp | 385 Q_strncpy (name, (char *)hostentry->h_name, NET_NAMELEN - 1);
|
H A D | net_udp.cpp | 458 Q_strncpy (name, (char *)hostentry->h_name, NET_NAMELEN - 1);
|
H A D | net_wins.cpp | 517 Q_strncpy (name, (char *)hostentry->h_name, NET_NAMELEN - 1);
|
H A D | mpdosock.h | 148 char FAR * h_name; /* official name of host */
member in struct:hostent
|
H A D | net_bw.cpp | 127 char *h_name; /* official name of host */
member in struct:hostent
|
/external/openssl/apps/ |
H A D | s_socket.c | 450 if ((*host=(char *)OPENSSL_malloc(strlen(h1->h_name)+1)) == NULL) 455 BUF_strlcpy(*host,h1->h_name,strlen(h1->h_name)+1);
|
/external/mdnsresponder/mDNSPosix/ |
H A D | nss_mdns.c | 959 result->hostent->h_name [0] = 0; 1447 result->hostent->h_name = 1476 char * hostname = result->hostent->h_name; 1523 result->hostent->h_name = result->header->hostname;
|
/external/tcpdump/ |
H A D | addrtoname.c | 103 * h_name in struct hostent is only valid. 113 host.h_name = hostbuf; 126 strcpy(host.h_name, hname); 254 p->name = strdup(hp->h_name); 299 p->name = strdup(hp->h_name);
|
/external/iproute2/lib/ |
H A D | utils.c | 586 n->name = strdup(h_ent->h_name);
|
/external/ping/ |
H A D | ping.c | 1599 snprintf(buf, sizeof(buf), "%s (%s)", hp->h_name, 1852 strncpy(hnamebuf, hp->h_name, sizeof(hnamebuf) - 1);
|
/external/iptables/iptables/ |
H A D | xtables.c | 1098 return host->h_name;
|
/external/blktrace/ |
H A D | blktrace.c | 972 strcpy(hostname, hent->h_name);
|
/external/chromium/third_party/libevent/ |
H A D | http.c | 133 if (strlcpy(host, hp->h_name, hostlen) >= hostlen)
|