Symbol: hosts
tests/lib/libc/gen/t_sethostname.c
43
static const char hosts[][MAXHOSTNAMELEN] = {
tests/lib/libc/gen/t_sethostname.c
62
for (i = 0; i < __arraycount(hosts); i++) {
tests/lib/libc/gen/t_sethostname.c
66
ATF_REQUIRE(sethostname(hosts[i], sizeof(hosts[i])) == 0);
tests/lib/libc/gen/t_sethostname.c
68
ATF_REQUIRE(strcmp(hosts[i], name) == 0);
tests/lib/libpthread/h_resolv.c
149
hosts = sl_init();
tests/lib/libpthread/h_resolv.c
171
if (hosts->sl_cur == 0)
tests/lib/libpthread/h_resolv.c
176
if ((ask = calloc(hosts->sl_cur, sizeof(int))) == NULL)
tests/lib/libpthread/h_resolv.c
178
if ((got = calloc(hosts->sl_cur, sizeof(int))) == NULL)
tests/lib/libpthread/h_resolv.c
200
for (i = 0; i < (int)hosts->sl_cur; i++) {
tests/lib/libpthread/h_resolv.c
203
hosts->sl_str[i], ask[i], got[i]);
tests/lib/libpthread/h_resolv.c
213
sl_free(hosts, 1);
tests/lib/libpthread/h_resolv.c
50
static StringList *hosts = NULL;
tests/lib/libpthread/h_resolv.c
86
sl_add(hosts, strdup(ptr));
tests/lib/libpthread/h_resolv.c
98
size_t i = (random() & 0x0fffffff) % hosts->sl_cur;
tests/lib/libpthread/h_resolv.c
99
char *host = hosts->sl_str[i];
usr.bin/getent/getent.c
74
static int hosts(int, char *[]);
usr.bin/getent/getent.c
99
{ "hosts", hosts, },
usr.bin/rdist/gram.y
370
insert(char *label, struct namelist *files, struct namelist *hosts,
usr.bin/rdist/gram.y
377
hosts = expand(hosts, E_ALL);
usr.bin/rdist/gram.y
378
for (h = hosts; h != NULL; nexth = h->n_next, free(h), h = nexth) {
usr.bin/rdist/main.c
256
struct namelist *files, *hosts;
usr.bin/rdist/main.c
281
hosts = expand(&tnl, E_ALL);
usr.bin/rdist/main.c
297
prnames(hosts);
usr.bin/rdist/main.c
299
insert(NULL, files, hosts, cmds);
usr.bin/rdist/main.c
302
freenl(hosts);
usr.bin/rup/rup.c
117
hp->next = hosts;
usr.bin/rup/rup.c
133
hosts = hp;
usr.bin/rup/rup.c
70
} *hosts;
usr.bin/rup/rup.c
83
if (!hosts)
usr.bin/rup/rup.c
86
for (hp = hosts; hp != NULL; hp = hp->next) {
usr.bin/rusers/rusers.c
123
hp->next = hosts;
usr.bin/rusers/rusers.c
137
hosts = hp;
usr.bin/rusers/rusers.c
79
} *hosts;
usr.bin/rusers/rusers.c
89
if (!hosts)
usr.bin/rusers/rusers.c
92
for (hp = hosts; hp != NULL; hp = hp->next) {
usr.bin/systat/netcmds.c
300
if (hosts == 0)
usr.bin/systat/netcmds.c
302
free((char *)hosts), hosts = 0;
usr.bin/systat/netcmds.c
306
for (p = hosts; p < hosts+nhosts; p++)
usr.bin/systat/netcmds.c
313
if (reallocarr(&hosts, nhosts + 1, sizeof(*p)) != 0) {
usr.bin/systat/netcmds.c
317
p = &hosts[nhosts++];
usr.bin/systat/netcmds.c
329
if (hosts)
usr.bin/systat/netcmds.c
330
for (p = hosts; p < hosts+nhosts; p++) {
usr.bin/systat/netcmds.c
348
if (hosts)
usr.bin/systat/netcmds.c
349
for (p = hosts; p < hosts+nhosts; p++) {
usr.bin/systat/netcmds.c
374
for (p = hosts; p < hosts+nhosts; p++) {
usr.bin/systat/netcmds.c
72
} *hosts = NULL;
usr.sbin/rpcbind/rpcbind.c
110
static char **hosts = NULL;
usr.sbin/rpcbind/rpcbind.c
370
if (reallocarr(&hosts, nhostsbak, sizeof(*hosts)) != 0) {
usr.sbin/rpcbind/rpcbind.c
375
hosts[0] = __UNCONST("*");
usr.sbin/rpcbind/rpcbind.c
378
hosts[nhostsbak - 1] = __UNCONST("127.0.0.1");
usr.sbin/rpcbind/rpcbind.c
380
hosts[nhostsbak - 1] = __UNCONST("::1");
usr.sbin/rpcbind/rpcbind.c
406
if (inet_pton(AF_INET, hosts[nhostsbak],
usr.sbin/rpcbind/rpcbind.c
414
hosts[nhostsbak], host_addr) == 1) {
usr.sbin/rpcbind/rpcbind.c
421
if (inet_pton(AF_INET6, hosts[nhostsbak],
usr.sbin/rpcbind/rpcbind.c
428
if (inet_pton(AF_INET, hosts[nhostsbak],
usr.sbin/rpcbind/rpcbind.c
449
if (strcmp("*", hosts[nhostsbak]) == 0)
usr.sbin/rpcbind/rpcbind.c
450
hosts[nhostsbak] = NULL;
usr.sbin/rpcbind/rpcbind.c
452
if ((aicode = getaddrinfo(hosts[nhostsbak],
usr.sbin/rpcbind/rpcbind.c
468
(hosts[nhostsbak] == NULL) ? "*" :
usr.sbin/rpcbind/rpcbind.c
469
hosts[nhostsbak], nconf->nc_netid);
usr.sbin/rpcbind/rpcbind.c
758
if (getaddrinfo(hosts[i], NULL, &hints, &res) != 0)
usr.sbin/rpcbind/rpcbind.c
903
if (reallocarr(&hosts, nhosts, sizeof(*hosts)) != 0)
usr.sbin/rpcbind/rpcbind.c
905
hosts[nhosts - 1] = strdup(optarg);
usr.sbin/rpcbind/rpcbind.c
906
if (hosts[nhosts - 1] == NULL)
usr.sbin/sysinst/net.c
1166
FILE *hosts;
usr.sbin/sysinst/net.c
1187
hosts = target_fopen("/etc/hosts", "a");
usr.sbin/sysinst/net.c
1188
if (hosts != 0) {
usr.sbin/sysinst/net.c
1191
write_etc_hosts(hosts);
usr.sbin/sysinst/net.c
1192
(void)fclose(hosts);
usr.sbin/ypserv/revnetgroup/revnetgroup.c
100
if (hosts != -1) {
usr.sbin/ypserv/revnetgroup/revnetgroup.c
104
hosts = 0;
usr.sbin/ypserv/revnetgroup/revnetgroup.c
107
if (hosts != -1) {
usr.sbin/ypserv/revnetgroup/revnetgroup.c
111
hosts = 1;
usr.sbin/ypserv/revnetgroup/revnetgroup.c
122
if (hosts == -1)
usr.sbin/ypserv/revnetgroup/revnetgroup.c
159
if (hosts) {
usr.sbin/ypserv/revnetgroup/revnetgroup.c
92
int hosts = -1;