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

12345

/netbsd-6-1-5-RELEASE/external/bsd/atf/dist/test-programs/
H A Dcommon.sh38 for h_name in "${@}"; do
39 echo ${srcdir}/${h_name}
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/unit/atf-src/test-programs/
H A Dcommon.sh38 for h_name in "${@}"; do
39 echo ${srcdir}/${h_name}
/netbsd-6-1-5-RELEASE/dist/ipf/lib/
H A Dhostname.c33 if (hp != NULL && hp->h_name != NULL &&
34 *hp->h_name != '\0') {
35 strncpy(hostbuf, hp->h_name, sizeof(hostbuf));
/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/dist/lib/roken/
H A Dhostent_find_fqdn.c41 * Try to find a fqdn (with `.') in he if possible, else return h_name
47 const char *ret = he->h_name;
H A Dcopyhostent.c54 res->h_name = NULL;
59 res->h_name = strdup (h->h_name);
60 if (res->h_name == NULL) {
H A Dfreehostent.c49 free (h->h_name);
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/contrib/idn/idnkit-1.0-src/wsock/wsock11/
H A Ddllfunc.c101 dumpName(ret->h_name, hbuff, sizeof(hbuff)));
102 stat = idnConvRsp(encodeCtx, ret->h_name, nbuff,
109 strcpy(ret->h_name, nbuff);
140 dumpName(ret->h_name, hbuff, sizeof(hbuff)));
141 stat = idnConvRsp(encodeCtx, ret->h_name,
148 strcpy(ret->h_name, nbuff);
/netbsd-6-1-5-RELEASE/external/bsd/ntp/dist/arlib/
H A Darplib.h14 char *h_name; /* official name of host */ member in struct:hent
H A Darlib.c231 if (rptr->re_he.h_name)
232 (void)free(rptr->re_he.h_name);
266 rptr->re_he.h_name = NULL;
699 if (!rptr->re_he.h_name)
701 rptr->re_he.h_name = (char *)malloc(len+1);
702 if (!rptr->re_he.h_name)
704 (void)strcpy(rptr->re_he.h_name, ar_hostbuf);
721 if (!rptr->re_he.h_name)
723 rptr->re_he.h_name = (char *)malloc(len);
724 if (!rptr->re_he.h_name)
[all...]
/netbsd-6-1-5-RELEASE/external/bsd/ntp/dist/libntp/
H A Dnumtohost.c44 (void) strncpy(bp, hp->h_name, LIB_BUFLENGTH-1);
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/contrib/idn/idnkit-1.0-src/wsock/common/
H A Ddump.c84 if (strlen(hp->h_name) + 1 < size) {
85 sprintf(p, "%s ", hp->h_name);
H A Dhook.c192 dumpName(pHost->h_name, hbuff, sizeof(hbuff)));
193 if (idnConvRsp(pHook->ctx, pHost->h_name,
197 strcpy(pHost->h_name, nbuff);
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/contrib/query-loc-0.4.0/
H A Dquery-loc.c78 hp->h_name);
79 loc = getlocbyname (hp->h_name, FALSE);
/netbsd-6-1-5-RELEASE/usr.sbin/lpr/pac/
H A Dpac.c86 char *h_name; /* Name of this user */ member in struct:hent
280 hp->h_name);
308 hp->h_name, hp->h_count);
345 hp->h_name = strdup(name);
346 if (hp->h_name == NULL)
368 if (strcmp(hp->h_name, name) == 0)
405 r = strcmp(h1->h_name, h2->h_name);
/netbsd-6-1-5-RELEASE/usr.bin/config/
H A Dhash.c61 const char *h_name; /* the string */ member in struct:hashent
146 hp->h_name = name;
188 if (hp->h_hash == h && strcmp(hp->h_name, s) == 0)
189 return (hp->h_name);
243 if (hp->h_name == nam) {
271 if (hp->h_name != name)
292 if (hp->h_name == nam)
314 rval += (*cbfunc)(hp->h_name, hp->h_value, arg);
/netbsd-6-1-5-RELEASE/external/bsd/libbind/dist/irs/
H A Dgethostent_r.c176 len += strlen(he->h_name) + 1;
202 n = strlen(he->h_name) + 1;
203 strcpy(cp, he->h_name);
204 hptr->h_name = cp;
247 if ((n = strlen(he->h_name) + 1) < (eob - cp)) {
248 strcpy(cp, he->h_name);
249 hptr->h_name = cp;
H A Dirp_ho.c179 if (ho->h_name != NULL &&
180 strcmp(name, ho->h_name) == 0 &&
234 if (ho->h_name != NULL &&
381 if (ho->h_name != NULL)
382 free(ho->h_name);
/netbsd-6-1-5-RELEASE/usr.bin/xlint/lint2/
H A Dhash.c104 if (strcmp(hte->h_name, s) == 0)
113 hte->h_name = xstrdup(s);
162 free(__UNCONST(hte->h_name));
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/lib/lwres/
H A Dgethost.c32 * char *h_name; // official name of host
43 * \li h_name:
84 * length len bytes which is used to store the h_name, h_aliases, and
96 * used to store the h_name, h_aliases, and h_addr_list elements of the
133 * names referenced by the h_name, h_aliases, and h_addr_list elements of
315 len += strlen(he->h_name) + 1;
346 n = strlen(he->h_name) + 1;
347 strcpy(cp, he->h_name);
348 hptr->h_name = cp;
/netbsd-6-1-5-RELEASE/distrib/utils/libhack/
H A Dgethost.c132 host.h_name = (char *)name;
220 host.h_name = cp;
249 if (strcasecmp(p->h_name, name) == 0)
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/contrib/queryperf/missing/
H A Dgetnameinfo.c203 p = strchr(hp->h_name, '.');
206 if (strlen(hp->h_name) > hostlen) {
212 strcpy(host, hp->h_name);
/netbsd-6-1-5-RELEASE/external/cddl/osnet/dist/common/ctf/
H A Dctf_hash.c117 hep->h_name = name;
156 ctsp = &fp->ctf_str[CTF_NAME_STID(hep->h_name)];
157 str = ctsp->cts_strs + CTF_NAME_OFFSET(hep->h_name);
/netbsd-6-1-5-RELEASE/lib/libcompat/4.3/
H A Drexec.c86 *ahost = hp->h_name;
87 (void)ruserpass(hp->h_name, &name, &pass);
109 warn("Cannot connect to %s", hp->h_name);
/netbsd-6-1-5-RELEASE/gnu/dist/gmake/
H A Dremote-cstms.c211 host ? host->h_name : inet_ntoa (permit.addr),
220 host ? host->h_name : inet_ntoa (permit.addr),
227 host ? host->h_name : inet_ntoa (permit.addr),
/netbsd-6-1-5-RELEASE/dist/ipf/ipsend/
H A Darp.c97 if (!(ether_hostton(hp->h_name, (struct ether_addr *)ether)))
99 if (!(ether_hostton(hp->h_name, ether)))

Completed in 295 milliseconds

12345