/third_party/python/Lib/test/ |
H A D | test_pwd.py | 32 # self.assertEqual(pwd.getpwuid(e.pw_uid), e) 48 # check whether the entry returned by getpwuid() 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) 99 # loop, say), pwd.getpwuid() might still be able to find data for that 104 self.assertRaises(KeyError, pwd.getpwuid, fakeuid) 108 self.assertRaises(KeyError, pwd.getpwuid, -1) 110 self.assertRaises(KeyError, pwd.getpwuid, 2**128) 111 self.assertRaises(KeyError, pwd.getpwuid, [all...] |
/third_party/toybox/toys/pending/ |
H A 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(bu in msg_array() [all...] |
H A D | useradd.c | 73 struct passwd *pw = getpwuid(getuid()); in useradd_main() 83 if (getpwuid(TT.uid)) error_exit("uid '%ld' in use", TT.uid); in useradd_main() 88 while (getpwuid(TT.uid)) TT.uid++; in useradd_main()
|
H A D | sulogin.c | 100 if (!(pwd = getpwuid(0))) error_exit("invalid user"); in sulogin_main()
|
/third_party/musl/libc-test/src/functionalext/supplement/passwd/ |
H A D | getpwent.c | 67 struct passwd *ret = getpwuid(getuid()); in getpwuid_0100() 81 struct passwd *ret = getpwuid(TEST_ERROR_UID); in getpwuid_0200()
|
/third_party/curl/lib/ |
H A D | setup-vms.h | 29 /* getenv(), getpwuid() and provide is_vms_shell() */ 42 # define getpwuid decc_getpwuid macro 53 #undef getpwuid macro 55 #define getpwuid vms_getpwuid macro 74 # define decc_getpwuid decc$getpwuid
|
H A D | netrc.c | 305 pw = getpwuid(geteuid()); in Curl_parsenetrc()
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/ |
H A D | pwd.h | 36 struct passwd *getpwuid (uid_t);
|
/third_party/musl/porting/liteos_m/kernel/include/ |
H A D | pwd.h | 36 struct passwd *getpwuid (uid_t);
|
/third_party/musl/porting/uniproton/kernel/include/ |
H A D | pwd.h | 36 struct passwd *getpwuid (uid_t);
|
/third_party/musl/src/passwd/ |
H A D | getpwent.c | 25 struct passwd *getpwuid(uid_t uid) in getpwuid() function
|
/third_party/ltp/testcases/kernel/syscalls/getgid/ |
H A D | getgid03.c | 30 pwent = getpwuid(uid); in run() 43 tst_res(TPASS, "values from getgid() and getpwuid() match"); in run()
|
/third_party/musl/include/ |
H A D | pwd.h | 36 struct passwd *getpwuid (uid_t);
|
/third_party/musl/libc-test/src/api/ |
H A D | pwd.c | 19 {struct passwd*(*p)(uid_t) = getpwuid;} in f()
|
/third_party/python/Lib/ |
H A D | netrc.py | 150 fowner = pwd.getpwuid(prop.st_uid)[0] 154 user = pwd.getpwuid(os.getuid())[0]
|
H A D | getpass.py | 169 return pwd.getpwuid(os.getuid())[0]
|
/third_party/ltp/testcases/kernel/syscalls/add_key/ |
H A D | add_key03.c | 63 while (getpwuid(uid)) in do_test()
|
/third_party/ltp/testcases/kernel/syscalls/getegid/ |
H A D | getegid02.c | 59 pwent = getpwuid(euid); in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigqueue/ |
H A D | 9-1.c | 48 if (!getpwuid(uid) && !setuid(uid)) in reset_uid()
|
/third_party/musl/Benchmark/musl/ |
H A D | libc_pwd.cpp | 73 if (getpwuid(uid) == nullptr) { in Bm_function_Getpwuid() 74 perror("getpwuid proc"); in Bm_function_Getpwuid()
|
/third_party/selinux/libselinux/utils/ |
H A D | togglesebool.c | 81 struct passwd *pwd = getpwuid(getuid()); in main()
|
/third_party/curl/src/ |
H A D | tool_findfile.c | 100 * 2. Non-windows: try getpwuid 148 struct passwd *pw = getpwuid(geteuid()); in findfile()
|
/third_party/libwebsockets/lib/plat/unix/ |
H A D | unix-caps.c | 205 p = getpwuid(context->uid); 208 lwsl_cx_err(context, "getpwuid: unable to find uid %d",
|
/third_party/python/Tools/c-analyzer/c_common/ |
H A D | fsutil.py | 395 username = pwd.getpwuid(uid)[0] 401 entry = pwd.getpwuid(uid)
|
/third_party/python/Lib/distutils/tests/ |
H A D | test_archive_util.py | 343 owner = pwd.getpwuid(0)[0] 373 owner = pwd.getpwuid(0)[0]
|