Home
last modified time | relevance | path

Searched refs:nhost (Results 1 – 4 of 4) sorted by relevance

/titanic_50/usr/src/cmd/cmd-inet/usr.bin/
H A Dwhois.c266 char *host, *nhost, *p; in whois() local
296 nhost = NULL; in whois()
302 if ((flags & WHOIS_RECURSE) && nhost == NULL) { in whois()
312 s_asprintf(&nhost, "%.*s", in whois()
323 s_asprintf(&nhost, "%.*s", in whois()
331 s_asprintf(&nhost, "%s", in whois()
339 if (nhost != NULL) { in whois()
340 whois(query, nhost, 0); in whois()
341 free(nhost); in whois()
/titanic_50/usr/src/lib/nametoaddr/straddr/common/
H A Dstraddr.c182 int nhost; /* the number of hosts in hostpp */ in _netdir_getbyaddr() local
203 nhost = searchhost(netconfigp, hostname, FIELD1, hostbuf); in _netdir_getbyaddr()
204 if (nhost == 0) { in _netdir_getbyaddr()
240 retp->h_cnt = nhost; in _netdir_getbyaddr()
241 retp->h_hostservs = calloc(nhost, sizeof (struct nd_hostserv)); in _netdir_getbyaddr()
255 while (hostname && nhost--) { in _netdir_getbyaddr()
/titanic_50/usr/src/lib/libc/port/gen/
H A Dgetnetgrent.c97 nhost, phost, in __multi_innetgr() argument
100 nss_innetgr_argc ngroup, nhost, nuser, ndomain; in __multi_innetgr()
111 ia.arg[NSS_NETGR_MACHINE].argc = nhost;
/titanic_50/usr/src/lib/nsswitch/ldap/common/
H A Dgetnetgrent.c315 int nhost; in match_triple_entry() local
327 nhost = ia->arg[NSS_NETGR_MACHINE].argc; in match_triple_entry()
330 nhost = 0; in match_triple_entry()
368 nusers, nhost, ndomains); in match_triple_entry()
372 if (nusers == 1 && nhost == 0 && ndomains == 0) { in match_triple_entry()
418 } else if (nusers == 0 && nhost == 1 && ndomains == 0) { in match_triple_entry()
470 if (thost != NULL && *thost != '\0' && nhost != 0) { in match_triple_entry()
471 for (i = 0; i < nhost; i++) in match_triple_entry()
474 if (i == nhost) in match_triple_entry()