/freebsd-current/contrib/atf/test-programs/ |
H A D | common.sh | 34 for h_name in "${@}"; do 35 echo ${srcdir}/${h_name}
|
/freebsd-current/sbin/ipf/libipf/ |
H A D | hostname.c | 31 if (hp != NULL && hp->h_name != NULL && 32 *hp->h_name != '\0') { 33 strncpy(hostbuf, hp->h_name, sizeof(hostbuf));
|
/freebsd-current/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-current/contrib/ntp/libntp/ |
H A D | numtohost.c | 40 strlcpy(bp, hp->h_name, LIB_BUFLENGTH);
|
/freebsd-current/usr.sbin/lpr/pac/ |
H A D | pac.c | 76 char *h_name; /* Name of this user */ member in struct:hent 266 printf("%-24s %7.2f %4d $%6.2f\n", hp->h_name, 295 hp->h_name, hp->h_count); 330 hp->h_name = (char *) calloc(sizeof(char), strlen(name)+1); 331 strcpy(hp->h_name, name); 352 if (strcmp(hp->h_name, name) == 0) 404 r = strcmp(h1->h_name, h2->h_name);
|
/freebsd-current/usr.sbin/bootparamd/bootparamd/ |
H A D | bootparamd.c | 66 if (debug) warnx("this is host %s", he->h_name); 67 if (dolog) syslog(LOG_NOTICE,"This is host %s\n", he->h_name); 69 strncpy(askname, he->h_name, sizeof(askname)); 125 strncpy(askname, he->h_name, sizeof(askname)); 208 if (he && !strcmp(he->h_name, l_askname)) match = 1; 315 if (he && !strcmp(l_askname, he->h_name)) { 332 if (he && !strcmp(l_askname, he->h_name)) { 334 snprintf(l_hostname, len, "%s", he->h_name);
|
/freebsd-current/usr.bin/bluetooth/bthost/ |
H A D | bthost.c | 97 printf("%s", reverse? he->h_name : 103 reverse? he->h_name :
|
/freebsd-current/lib/libc/tests/nss/ |
H A D | gethostby_test.c | 148 if (src->h_name != NULL) { 149 dest->h_name = strdup(src->h_name); 150 ATF_REQUIRE(dest->h_name != NULL); 195 free(ht->h_name); 222 if (ht1->h_name == NULL || ht2->h_name == NULL) 227 strcmp(ht1->h_name, ht2->h_name) != 0) 378 rv = check_addrinfo_for_name(ai, he->h_name); [all...] |
/freebsd-current/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-current/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-current/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-current/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-current/lib/libc/net/ |
H A D | gethostnamadr.c | 111 len += strlen(he->h_name) + 1; 137 n = strlen(he->h_name) + 1; 138 strcpy(cp, he->h_name); 139 hptr->h_name = cp; 285 if (ht->h_name != NULL) 286 desired_size += strlen(ht->h_name) + 1; 322 if (new_ht.h_name != NULL) { 323 size = strlen(new_ht.h_name); 324 memcpy(p, new_ht.h_name, size); 325 new_ht.h_name [all...] |
H A D | gethostbydns.c | 151 he->h_name = NULL; 195 he->h_name = bp; 197 /* The qname can be abbreviated, but h_name is now absolute. */ 198 qname = he->h_name; 261 he->h_name = bp; 319 he->h_name = bp; 334 he->h_name = bp; 349 if (strcasecmp(he->h_name, bp) != 0) { 351 AskedForGot, he->h_name, bp); 362 he->h_name [all...] |
H A D | name6.c | 298 if (hp2 && strcmp(hp->h_name, hp2->h_name) == 0) { 414 if (hp->h_name != NULL) 415 size += strlen(hp->h_name) + 1; 442 if (hp->h_name != NULL) { 443 nhp->h_name = cp; 444 strcpy(cp, hp->h_name); 447 nhp->h_name = NULL; 485 hp->h_name = (char *)name; 516 hp->h_name [all...] |
/freebsd-current/usr.bin/talk/ |
H A D | io.c | 77 hp2 = gethostbyname(hp->h_name); 83 his_machine_name = strdup(hp->h_name);
|
/freebsd-current/sbin/ipf/ipsend/ |
H A D | arp.c | 83 if (!(ether_hostton(hp->h_name, (struct ether_addr *)ether))) 85 if (!(ether_hostton(hp->h_name, ether)))
|
/freebsd-current/contrib/tcp_wrappers/ |
H A D | socket.c | 336 STRN_CPY(host->name, hp->h_name, sizeof(host->name)); 361 } else if (STR_NE(host->name, hp->h_name) 371 host->name, STRING_LENGTH, hp->h_name); 396 inet_ntoa(sin->sin_addr), STRING_LENGTH, hp->h_name);
|
/freebsd-current/sys/sys/ |
H A D | module_khelp.h | 52 char h_name[HELPER_NAME_MAXLEN]; member in struct:helper
|
/freebsd-current/usr.sbin/bluetooth/bthidcontrol/ |
H A D | hid.c | 111 (he != NULL && he->h_name != NULL)? 112 he->h_name : "");
|
/freebsd-current/usr.sbin/bootparamd/callbootd/ |
H A D | callbootd.c | 41 printf("%s answered:\n", he ? he->h_name : inet_ntoa(raddr->sin_addr)); 53 printf("%s answered:\n", he ? he->h_name : inet_ntoa(raddr->sin_addr));
|
/freebsd-current/lib/libutil/ |
H A D | realhostname.c | 58 strlcpy(trimmed, hp->h_name, sizeof(trimmed)); 63 strlcpy(lookup, hp->h_name, sizeof(lookup));
|
/freebsd-current/sys/kern/ |
H A D | kern_khelp.c | 86 h->h_name, h->h_hooks[i].hook_type, 245 if (strncmp(h->h_name, hname, HELPER_NAME_MAXLEN) == 0) { 303 __func__, h->h_name, 334 strlcpy(kmd->helper->h_name, kmd->name, HELPER_NAME_MAXLEN);
|