Searched refs:host (Results 1 – 5 of 5) sorted by relevance
/nss/nss_files/ |
A D | files-netgrp.c | 190 const char *host, *user, *domain; in _nss_netgroup_parseline() local 229 host = ++cp; in _nss_netgroup_parseline() 250 if (cp - host > buflen) in _nss_netgroup_parseline() 257 memcpy (buffer, host, cp - host); in _nss_netgroup_parseline() 260 buffer[(user - host) - 1] = '\0'; /* Replace ',' with '\0'. */ in _nss_netgroup_parseline() 261 result->val.triple.host = strip_whitespace (buffer); in _nss_netgroup_parseline() 263 buffer[(domain - host) - 1] = '\0'; /* Replace ',' with '\0'. */ in _nss_netgroup_parseline() 264 result->val.triple.user = strip_whitespace (buffer + (user - host)); in _nss_netgroup_parseline() 266 buffer[(cp - host) - 1] = '\0'; /* Replace ')' with '\0'. */ in _nss_netgroup_parseline() 267 result->val.triple.domain = strip_whitespace (buffer + (domain - host)); in _nss_netgroup_parseline()
|
/nss/ |
A D | bug-erange.c | 14 const char *host = "www.gnu.org"; in main() local 28 while ((res = gethostbyname_r (host, &hostbuf, tmphstbuf, hstbuflen, in main()
|
A D | getent.c | 271 print_hosts (struct hostent *host) in print_hosts() argument 278 const char *ip = inet_ntop (host->h_addrtype, host->h_addr_list[cnt], in print_hosts() 281 printf ("%-15s %s", ip, host->h_name); in print_hosts() 298 struct hostent *host; in hosts_keys() local 304 print_hosts (host); in hosts_keys() 311 struct hostent *host = NULL; in hosts_keys() local 319 host = gethostbyname2 (key[i], AF_INET); in hosts_keys() 321 if (host == NULL) in hosts_keys() 324 print_hosts (host); in hosts_keys() 336 struct hostent *host; in ahosts_keys_int() local [all …]
|
/nss/nss_compat/ |
A D | compat-spwd.c | 276 char *curdomain = NULL, *host, *user, *domain, *p2; in getspent_next_nss_netgr() local 297 status = __internal_getnetgrent_r (&host, &user, &domain, in getspent_next_nss_netgr() 489 char *user, *host, *domain; in getspent_next_file() local 494 while (__internal_getnetgrent_r (&host, &user, &domain, in getspent_next_file()
|
A D | compat-pwd.c | 321 char *curdomain = NULL, *host, *user, *domain, *p2; in getpwent_next_nss_netgr() local 339 status = __internal_getnetgrent_r (&host, &user, &domain, in getpwent_next_nss_netgr() 537 char *user, *host, *domain; in getpwent_next_file() local 542 while (__internal_getnetgrent_r (&host, &user, &domain, &netgrdata, in getpwent_next_file()
|
Completed in 14 milliseconds