Searched refs:h_name (Results 1 - 21 of 21) sorted by relevance

/external/chromium/third_party/libjingle/source/talk/base/
H A Dnethelpers.cc79 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 Dip_util.c113 return ((hp==NULL)?"unknown":hp->h_name);
/external/dropbear/
H A Dfake-rfc2553.c72 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 Dfake-rfc2553.c75 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 Dgetnameinfo.c256 p = strchr(hp->h_name, '.');
259 if (strlen(hp->h_name) + 1 > hostlen) {
265 strcpy(host, hp->h_name);
H A Dgetaddrinfo.c582 } 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 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/quake/quake/src/WinQuake/
H A Dmplpc.cpp103 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 Dnet_mp.cpp385 Q_strncpy (name, (char *)hostentry->h_name, NET_NAMELEN - 1);
H A Dnet_udp.cpp458 Q_strncpy (name, (char *)hostentry->h_name, NET_NAMELEN - 1);
H A Dnet_wins.cpp517 Q_strncpy (name, (char *)hostentry->h_name, NET_NAMELEN - 1);
H A Dmpdosock.h148 char FAR * h_name; /* official name of host */ member in struct:hostent
H A Dnet_bw.cpp127 char *h_name; /* official name of host */ member in struct:hostent
/external/openssl/apps/
H A Ds_socket.c450 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 Dnss_mdns.c959 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 Daddrtoname.c103 * 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 Dutils.c586 n->name = strdup(h_ent->h_name);
/external/ping/
H A Dping.c1599 snprintf(buf, sizeof(buf), "%s (%s)", hp->h_name,
1852 strncpy(hnamebuf, hp->h_name, sizeof(hnamebuf) - 1);
/external/iptables/iptables/
H A Dxtables.c1098 return host->h_name;
/external/blktrace/
H A Dblktrace.c972 strcpy(hostname, hent->h_name);
/external/chromium/third_party/libevent/
H A Dhttp.c133 if (strlcpy(host, hp->h_name, hostlen) >= hostlen)

Completed in 4201 milliseconds