Lines Matching refs:nhosts
347 int parsestat, i, nhosts = 0, buflen; local
402 if (nhosts == 0 && strcasestr(instr, filter) == 0) {
422 if (nhosts && strcasestr(instr, h_name) == 0) {
430 (void *)&taddr[nhosts]:
431 (void *)&taddr6[nhosts];
446 if (nhosts == 1 && hp) {
486 if (nhosts > 0) {
526 if (nhosts > 0) {
548 if (++nhosts == 1) {
567 if (nhosts >= ntaddr) {
611 } else if (nhosts) {
627 ((nhosts + 1) * sizeof (char *) +
628 (nhosts * sizeof (*addrp))), sizeof (char *)));
629 for (i = 0, --addrp; i < nhosts; i++, --addrp) {
638 ((nhosts + 1) * sizeof (char *) +
639 (nhosts * sizeof (*addrp6))), sizeof (char *)));
640 for (i = 0, --addrp6; i < nhosts; i++, --addrp6) {
647 hp->h_addr_list[nhosts] = 0;