/glibc-2.36/nss/ |
D | tst-reload2.c | 92 struct passwd *pw; in do_test() local 111 pw = getpwnam ("test1"); in do_test() 112 TEST_VERIFY (pw != NULL); in do_test() 113 if (pw) in do_test() 114 TEST_COMPARE (pw->pw_uid, 1234); in do_test() 129 pw = getpwnam ("test2"); in do_test() 130 TEST_VERIFY (pw != NULL); in do_test() 131 if (pw) in do_test() 132 TEST_VERIFY (pw->pw_uid != 2468); in do_test() 135 pw = getpwnam ("test1"); in do_test() [all …]
|
D | tst-nss-getpwent.c | 35 struct passwd * pw; in do_test() local 41 while ((pw = getpwent ()) != NULL) in do_test() 45 first_name = xstrdup (pw->pw_name); in do_test() 46 first_uid = pw->pw_uid; in do_test() 50 last_name = xstrdup (pw->pw_name); in do_test() 51 last_uid = pw->pw_uid; in do_test() 67 while ((pw = getpwent ()) != NULL) in do_test()
|
D | tst-cancel-getpwuid_r.c | 60 struct passwd pwbuf, *pw; in worker() local 78 ret = getpwuid_r (uid, &pwbuf, wbuf, wbufsz, &pw); in worker() 109 struct passwd pwbuf, *pw; in do_test() local 161 ret = getpwuid_r (geteuid (), &pwbuf, buf, bufsz, &pw); in do_test()
|
D | tst-nss-static.c | 9 struct passwd *pw; in do_test() local 11 pw = getpwuid(0); in do_test() 12 return pw == NULL; in do_test()
|
D | tst-nss-db-endpwent.c | 37 struct passwd *pw; in try_it() local 44 while ((pw = getpwent ()) != NULL) in try_it()
|
/glibc-2.36/sunrpc/ |
D | xcrypt.c | 71 void passwd2des_internal (char *pw, char *key); 80 passwd2des_internal (char *pw, char *key) in libc_hidden_proto() 85 for (i = 0; *pw && i < 8; ++i) in libc_hidden_proto() 86 key[i] ^= *pw++ << 1; in libc_hidden_proto() 95 void passwd2des (char *pw, char *key) in libc_sunrpc_symbol() 97 return passwd2des_internal (pw, key); in libc_sunrpc_symbol()
|
/glibc-2.36/nscd/ |
D | cachedumper.c | 186 pw_response_header *pw = &(dh->data[0].pwdata); in nscd_print_cache() local 187 cp += sizeof (*pw); in nscd_print_cache() 188 DSTR (" name ", pw->pw_name_len); in nscd_print_cache() 189 DSTR (" passwd ", pw->pw_passwd_len); in nscd_print_cache() 190 printf (" uid %d gid %d", pw->pw_uid, pw->pw_gid); in nscd_print_cache() 191 DSTR (" gecos ", pw->pw_gecos_len); in nscd_print_cache() 192 DSTR (" dir ", pw->pw_dir_len); in nscd_print_cache() 193 DSTR (" shell ", pw->pw_shell_len); in nscd_print_cache()
|
D | nscd_conf.c | 206 struct passwd *pw = getpwnam (stat_user); in nscd_parse_file() local 207 if (pw != NULL) in nscd_parse_file() 208 stat_uid = pw->pw_uid; in nscd_parse_file()
|
/glibc-2.36/posix/ |
D | wordexp-test.c | 238 struct passwd *pw; in do_test() local 267 pw = getpwnam ("root"); in do_test() 268 if (pw != NULL) in do_test() 275 ts.wordv[0] = pw->pw_dir; in do_test() 281 ts.env = pw->pw_dir; in do_test() 307 pw = getpwuid (getuid ()); in do_test() 308 if (pw != NULL) in do_test() 316 ts.wordv[0] = pw->pw_dir; in do_test()
|
/glibc-2.36/nss/nss_compat/ |
D | compat-spwd.c | 581 internal_getspent_r (struct spwd *pw, ent_t *ent, in internal_getspent_r() argument 590 status = getspent_next_nss_netgr (NULL, pw, ent, NULL, buffer, in internal_getspent_r() 594 return getspent_next_file (pw, ent, buffer, buflen, errnop); in internal_getspent_r() 599 return getspent_next_file (pw, ent, buffer, buflen, errnop); in internal_getspent_r() 601 return getspent_next_nss (pw, ent, buffer, buflen, errnop); in internal_getspent_r()
|
D | compat-pwd.c | 627 internal_getpwent_r (struct passwd *pw, ent_t *ent, char *buffer, in internal_getpwent_r() argument 636 status = getpwent_next_nss_netgr (NULL, pw, ent, NULL, buffer, buflen, in internal_getpwent_r() 639 return getpwent_next_file (pw, ent, buffer, buflen, errnop); in internal_getpwent_r() 644 return getpwent_next_file (pw, ent, buffer, buflen, errnop); in internal_getpwent_r() 646 return getpwent_next_nss (pw, ent, buffer, buflen, errnop); in internal_getpwent_r()
|
/glibc-2.36/manual/ |
D | users.texi | 574 struct passwd *pw = getpwnam (user); 576 if (pw == NULL) 579 if (getgrouplist (pw->pw_name, pw->pw_gid, groups, &ngroups) < 0) 582 getgrouplist (pw->pw_name, pw->pw_gid, groups, &ngroups);
|
D | nss.texi | 659 database (e.g., it is @code{pw} for the user database).
|
/glibc-2.36/ChangeLog.old/ |
D | ChangeLog.11 | 1006 2000-10-15 Pete Wyckoff <pw@osc.edu> 1010 2000-10-15 Pete Wyckoff <pw@osc.edu>
|