/freebsd-11-stable/contrib/atf/test-programs/ |
H A D | common.sh | 34 for h_name in "${@}"; do 35 echo ${srcdir}/${h_name}
|
/freebsd-11-stable/crypto/heimdal/lib/roken/ |
H A D | hostent_find_fqdn.c | 39 * Try to find a fqdn (with `.') in he if possible, else return h_name 45 const char *ret = he->h_name;
|
H A D | copyhostent.c | 52 res->h_name = NULL; 57 res->h_name = strdup (h->h_name); 58 if (res->h_name == NULL) {
|
H A D | freehostent.c | 47 free (h->h_name);
|
/freebsd-11-stable/contrib/ipfilter/lib/ |
H A D | hostname.c | 33 if (hp != NULL && hp->h_name != NULL && 34 *hp->h_name != '\0') { 35 strncpy(hostbuf, hp->h_name, sizeof(hostbuf));
|
/freebsd-11-stable/contrib/ntp/libntp/ |
H A D | numtohost.c | 40 strlcpy(bp, hp->h_name, LIB_BUFLENGTH);
|
/freebsd-11-stable/usr.sbin/lpr/pac/ |
H A D | pac.c | 88 char *h_name; /* Name of this user */ member in struct:hent 278 printf("%-24s %7.2f %4d $%6.2f\n", hp->h_name, 307 hp->h_name, hp->h_count); 342 hp->h_name = (char *) calloc(sizeof(char), strlen(name)+1); 343 strcpy(hp->h_name, name); 364 if (strcmp(hp->h_name, name) == 0) 416 r = strcmp(h1->h_name, h2->h_name);
|
/freebsd-11-stable/usr.bin/xlint/lint2/ |
H A D | hash.c | 102 if (strcmp(hte->h_name, s) == 0) 111 hte->h_name = xstrdup(s); 160 free((void *)hte->h_name);
|
H A D | emit2.c | 107 outname(tp->t_tag->h_name); 110 outname(tp->t_tynam->h_name); 181 outname(hte->h_name); 214 errx(1, "internal error: dumpname() %s", hte->h_name);
|
H A D | chk.c | 141 msg(0, hte->h_name, mkpos(&fcall->f_pos)); 144 msg(0, hte->h_name, mkpos(&usym->u_pos)); 162 msg(1, hte->h_name, mkpos(&sym->s_pos)); 187 msg(2, hte->h_name, mkpos(&sym->s_pos)); 217 msg(3, hte->h_name, pos1, mkpos(&sym->s_pos)); 272 msg(17, hte->h_name, 281 msg(4, hte->h_name, pos1, mkpos(&call->f_pos)); 320 msg(5, hte->h_name, pos1, mkpos(&sym->s_pos)); 402 msg(7, hte->h_name, pos1, mkpos(&call->f_pos)); 584 msg(6, hte->h_name, [all...] |
/freebsd-11-stable/usr.sbin/timed/timedc/ |
H A D | cmds.c | 211 printf("%s is down\n", hp->h_name); 215 hp->h_name); 218 printf("%s is unreachable\n", hp->h_name); 234 hp->h_name, avg/SECDAY, myname); 238 hp->h_name, -avg/SECDAY, myname); 245 hp->h_name, measure_delta, myname); 248 hp->h_name, myname); 251 hp->h_name, -measure_delta, myname);
|
/freebsd-11-stable/usr.bin/bluetooth/bthost/ |
H A D | bthost.c | 98 printf("%s", reverse? he->h_name : 104 reverse? he->h_name :
|
/freebsd-11-stable/usr.sbin/bootparamd/bootparamd/ |
H A D | bootparamd.c | 71 if (debug) warnx("this is host %s", he->h_name); 72 if (dolog) syslog(LOG_NOTICE,"This is host %s\n", he->h_name); 74 strncpy(askname, he->h_name, sizeof(askname)); 132 strncpy(askname, he->h_name, sizeof(askname)); 218 if (he && !strcmp(he->h_name, askname)) match = 1; 328 if (he && !strcmp(askname, he->h_name)) { 345 if (he && !strcmp(askname, he->h_name)) { 347 snprintf(hostname, len, "%s", he->h_name);
|
/freebsd-11-stable/lib/libc/tests/nss/ |
H A D | gethostby_test.c | 151 if (src->h_name != NULL) { 152 dest->h_name = strdup(src->h_name); 153 ATF_REQUIRE(dest->h_name != NULL); 198 free(ht->h_name); 225 if (ht1->h_name == NULL || ht2->h_name == NULL) 230 strcmp(ht1->h_name, ht2->h_name) != 0) 381 rv = check_addrinfo_for_name(ai, he->h_name); [all...] |
/freebsd-11-stable/contrib/ldns/compat/ |
H A D | fake-rfc2553.c | 74 if (strlcpy(host, hp->h_name, hostlen) >= hostlen) 204 if (hp && hp->h_name && hp->h_name[0] && hp->h_addr_list[0]) {
|
/freebsd-11-stable/cddl/contrib/opensolaris/common/ctf/ |
H A D | ctf_hash.c | 117 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);
|
/freebsd-11-stable/lib/libc/net/ |
H A D | gethostbydns.c | 156 he->h_name = NULL; 200 he->h_name = bp; 202 /* The qname can be abbreviated, but h_name is now absolute. */ 203 qname = he->h_name; 266 he->h_name = bp; 321 he->h_name = bp; 336 he->h_name = bp; 351 if (strcasecmp(he->h_name, bp) != 0) { 353 AskedForGot, he->h_name, bp); 364 he->h_name [all...] |
H A D | gethostnamadr.c | 112 len += strlen(he->h_name) + 1; 138 n = strlen(he->h_name) + 1; 139 strcpy(cp, he->h_name); 140 hptr->h_name = cp; 286 if (ht->h_name != NULL) 287 desired_size += strlen(ht->h_name) + 1; 323 if (new_ht.h_name != NULL) { 324 size = strlen(new_ht.h_name); 325 memcpy(p, new_ht.h_name, size); 326 new_ht.h_name [all...] |
H A D | name6.c | 299 if (hp2 && strcmp(hp->h_name, hp2->h_name) == 0) { 415 if (hp->h_name != NULL) 416 size += strlen(hp->h_name) + 1; 443 if (hp->h_name != NULL) { 444 nhp->h_name = cp; 445 strcpy(cp, hp->h_name); 448 nhp->h_name = NULL; 486 hp->h_name = (char *)name; 517 hp->h_name [all...] |
/freebsd-11-stable/contrib/unbound/compat/ |
H A D | fake-rfc2553.c | 72 if (strlcpy(host, hp->h_name, hostlen) >= hostlen) 200 if (hp && hp->h_name && hp->h_name[0] && hp->h_addr_list[0]) {
|
/freebsd-11-stable/crypto/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]) {
|
/freebsd-11-stable/usr.bin/talk/ |
H A D | io.c | 81 hp2 = gethostbyname(hp->h_name); 87 his_machine_name = strdup(hp->h_name);
|
/freebsd-11-stable/contrib/ipfilter/ipsend/ |
H A D | arp.c | 89 if (!(ether_hostton(hp->h_name, (struct ether_addr *)ether))) 91 if (!(ether_hostton(hp->h_name, ether)))
|
/freebsd-11-stable/sys/sys/ |
H A D | module_khelp.h | 52 char h_name[HELPER_NAME_MAXLEN]; member in struct:helper
|
/freebsd-11-stable/contrib/tcp_wrappers/ |
H A D | socket.c | 340 STRN_CPY(host->name, hp->h_name, sizeof(host->name)); 365 } else if (STR_NE(host->name, hp->h_name) 375 host->name, STRING_LENGTH, hp->h_name); 400 inet_ntoa(sin->sin_addr), STRING_LENGTH, hp->h_name);
|