/external/python/cpython2/Lib/test/ |
D | test_pwd.py | 53 self.assertIn(pwd.getpwuid(e.pw_uid), entriesbyuid[e.pw_uid]) 56 self.assertRaises(TypeError, pwd.getpwuid) 57 self.assertRaises(TypeError, pwd.getpwuid, 3.14) 101 self.assertRaises(KeyError, pwd.getpwuid, fakeuid) 105 self.assertRaises(KeyError, pwd.getpwuid, -1) 107 self.assertRaises(KeyError, pwd.getpwuid, 2**128) 108 self.assertRaises(KeyError, pwd.getpwuid, -2**128)
|
/external/python/cpython3/Lib/test/ |
D | test_pwd.py | 54 self.assertIn(pwd.getpwuid(e.pw_uid), entriesbyuid[e.pw_uid]) 57 self.assertRaises(TypeError, pwd.getpwuid) 58 self.assertRaises(TypeError, pwd.getpwuid, 3.14) 102 self.assertRaises(KeyError, pwd.getpwuid, fakeuid) 106 self.assertRaises(KeyError, pwd.getpwuid, -1) 108 self.assertRaises(KeyError, pwd.getpwuid, 2**128) 109 self.assertRaises(KeyError, pwd.getpwuid, -2**128)
|
/external/toybox/toys/pending/ |
D | ipcs.c | 211 if ((pw = getpwuid(buf.shm_perm.uid))) in shm_array() 221 if ((pw = getpwuid(buf.shm_perm.uid))) in shm_array() 227 if ((pw = getpwuid(buf.shm_perm.cuid))) printf(" %-10s", pw->pw_name); in shm_array() 231 if ((pw = getpwuid(buf.shm_perm.uid))) printf(" %-10s", pw->pw_name); in shm_array() 237 if ((pw = getpwuid(buf.shm_perm.uid))) in shm_array() 308 pw = getpwuid(buf.sem_perm.uid); in sem_array() 319 if ((pw = getpwuid(buf.sem_perm.cuid))) printf(" %-10s", pw->pw_name); in sem_array() 323 if ((pw = getpwuid(buf.sem_perm.uid))) printf(" %-10s", pw->pw_name); in sem_array() 388 pw = getpwuid(buf.msg_perm.uid); in msg_array() 404 if ((pw = getpwuid(buf.msg_perm.cuid))) printf(" %-10s", pw->pw_name); in msg_array() [all …]
|
D | useradd.c | 73 struct passwd *pw = getpwuid(getuid()); 83 if (getpwuid(TT.uid)) error_exit("uid '%ld' in use", TT.uid); 88 while (getpwuid(TT.uid)) TT.uid++;
|
D | sulogin.c | 100 if (!(pwd = getpwuid(0))) error_exit("invalid user"); in sulogin_main()
|
/external/curl/lib/ |
D | setup-vms.h | 40 # define getpwuid decc_getpwuid macro 51 #undef getpwuid 53 #define getpwuid vms_getpwuid macro 72 # define decc_getpwuid decc$getpwuid
|
/external/python/cpython2/Modules/ |
D | pwdmodule.c | 114 if ((p = getpwuid(uid)) == NULL) { in pwd_getpwuid() 162 if ((p = getpwuid(0)) != NULL) {
|
/external/python/cpython2/Lib/ |
D | netrc.py | 98 fowner = pwd.getpwuid(prop.st_uid)[0] 102 user = pwd.getpwuid(os.getuid())[0]
|
/external/python/cpython3/Lib/ |
D | netrc.py | 92 fowner = pwd.getpwuid(prop.st_uid)[0] 96 user = pwd.getpwuid(os.getuid())[0]
|
/external/e2fsprogs/include/mingw/ |
D | pwd.h | 19 #define getpwuid(i) NULL macro
|
/external/openssh/ |
D | sftp-server-main.c | 46 if ((user_pw = getpwuid(getuid())) == NULL) { in main()
|
/external/e2fsprogs/include/nonunix/ |
D | pwd.h | 21 #define getpwuid(i) NULL macro
|
/external/ltp/testcases/kernel/syscalls/setfsuid/ |
D | setfsuid02.c | 52 while (getpwuid(uid)) in main()
|
D | setfsuid03.c | 55 while (!getpwuid(uid)) in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigqueue/ |
D | 9-1.c | 48 if (!getpwuid(uid) && !setuid(uid)) in reset_uid()
|
/external/ltp/testcases/kernel/syscalls/geteuid/ |
D | geteuid02.c | 51 pwent = getpwuid(uid); in main()
|
/external/ltp/testcases/kernel/syscalls/getgid/ |
D | getgid03.c | 59 pwent = getpwuid(uid); in main()
|
/external/ltp/testcases/kernel/syscalls/getuid/ |
D | getuid03.c | 59 pwent = getpwuid(uid); in main()
|
/external/autotest/cli/ |
D | change_protection_level.py | 18 user = pwd.getpwuid(os.getuid())[0]
|
/external/ltp/testcases/kernel/syscalls/getegid/ |
D | getegid02.c | 59 pwent = getpwuid(euid); in main()
|
/external/ltp/testcases/kernel/syscalls/add_key/ |
D | add_key03.c | 75 while (getpwuid(uid)) in do_test()
|
/external/curl/src/ |
D | tool_homedir.c | 77 struct passwd *pw = getpwuid(geteuid()); in homedir()
|
/external/selinux/libselinux/utils/ |
D | togglesebool.c | 81 struct passwd *pwd = getpwuid(getuid()); in main()
|
/external/openssh/openbsd-compat/ |
D | pwcache.c | 67 if ((pw = getpwuid(uid)) == NULL) { in user_from_uid()
|
/external/iptables/extensions/ |
D | libxt_owner.c | 302 struct passwd *pwd = getpwuid(info->uid); in owner_mt_print_item_v0() 351 struct passwd *pwd = getpwuid(info->uid); in owner_mt6_print_item_v0() 400 const struct passwd *pwd = getpwuid(info->uid_min); in owner_mt_print_item()
|