/third_party/python/Lib/test/ |
H A D | test_pwd.py | 53 self.assertIn(pwd.getpwnam(e.pw_name), entriesbyname[e.pw_name]) 59 self.assertRaises(TypeError, pwd.getpwnam) 60 self.assertRaises(TypeError, pwd.getpwnam, 42) 63 self.assertRaisesRegex(ValueError, 'null', pwd.getpwnam, 'a\x00b') 95 self.assertRaises(KeyError, pwd.getpwnam, fakename)
|
/third_party/python/Lib/distutils/ |
H A D | archive_util.py | 22 from pwd import getpwnam namespace 24 getpwnam = None variable 45 if getpwnam is None or name is None: 48 result = getpwnam(name)
|
/third_party/musl/libc-test/src/functionalext/supplement/passwd/ |
H A D | getpwent.c | 40 struct passwd *ret = getpwnam("root"); in getpwnam_0100() 56 struct passwd *ret = getpwnam("abcdefg"); in getpwnam_0200()
|
H A D | getgrouplist.c | 36 struct passwd *pwd = getpwnam(server_user); in getgrouplist_0100() 38 t_error("%s getpwnam failed\n", __func__); in getgrouplist_0100()
|
/third_party/ltp/testcases/kernel/syscalls/setresgid/ |
H A D | setresgid01.c | 188 if ((passwd_p = getpwnam("root")) == NULL) { in setup() 189 tst_brkm(TBROK, NULL, "getpwnam() failed for root"); in setup() 195 if ((passwd_p = getpwnam("nobody")) == NULL) { in setup()
|
/third_party/ltp/testcases/kernel/syscalls/mlockall/ |
H A D | mlockall03.c | 221 ltpuser = getpwnam(nobody_uid); in setup_test() 251 ltpuser = getpwnam(nobody_uid); in setup_test()
|
H A D | mlockall02.c | 194 ltpuser = getpwnam(nobody_uid); in setup_test() 214 ltpuser = getpwnam(nobody_uid); in setup_test()
|
/third_party/libwebsockets/lib/plat/unix/ |
H A D | unix-caps.c | 97 p = getpwnam(u); 148 p = getpwnam(context->username);
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/ |
H A D | pwd.h | 37 struct passwd *getpwnam (const char *);
|
/third_party/musl/porting/liteos_m/kernel/include/ |
H A D | pwd.h | 37 struct passwd *getpwnam (const char *);
|
/third_party/musl/porting/uniproton/kernel/include/ |
H A D | pwd.h | 37 struct passwd *getpwnam (const char *);
|
/third_party/musl/src/passwd/ |
H A D | getpwent.c | 32 struct passwd *getpwnam(const char *name) in getpwnam() function
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/clock_getcpuclockid/ |
H A D | 5-1.c | 36 pwd = getpwnam("nobody"); in main()
|
/third_party/musl/Benchmark/musl/ |
H A D | libc_grp.cpp | 31 struct passwd *pw = getpwnam(user); in Bm_function_Getgrouplist() 33 perror("getpwnam"); in Bm_function_Getgrouplist()
|
/third_party/musl/include/ |
H A D | pwd.h | 37 struct passwd *getpwnam (const char *);
|
/third_party/musl/libc-test/src/api/ |
H A D | pwd.c | 17 {struct passwd*(*p)(const char*) = getpwnam;} in f()
|
/third_party/toybox/toys/posix/ |
H A D | renice.c | 33 struct passwd *p = getpwnam(s); in renice_main()
|
/third_party/ltp/testcases/kernel/syscalls/open/ |
H A D | open08.c | 67 ltpuser = getpwnam(nobody_uid); in setup()
|
/third_party/ltp/testcases/kernel/syscalls/setfsgid/ |
H A D | setfsgid03.c | 90 ltpuser = getpwnam(nobody_uid); in setup() 92 tst_brkm(TBROK, cleanup, "getpwnam failed for user id %s", in setup()
|
/third_party/ltp/testcases/kernel/syscalls/getresuid/ |
H A D | getresuid03.c | 154 if ((user_id = getpwnam("nobody")) == NULL) { in setup() 156 "getpwnam(nobody) Failed, errno=%d", errno); in setup()
|
H A D | getresuid02.c | 150 if ((user_id = getpwnam(LTPUSER)) == NULL) { in setup() 151 tst_brkm(TBROK, cleanup, "getpwnam(%s) Failed", LTPUSER); in setup()
|
/third_party/ltp/testcases/kernel/syscalls/getresgid/ |
H A D | getresgid03.c | 159 if ((user_id = getpwnam("nobody")) == NULL) { in setup() 161 "getpwnam(nobody) Failed, errno=%d", errno); in setup()
|
H A D | getresgid02.c | 153 if ((user_id = getpwnam(LTPUSER)) == NULL) { in setup() 154 tst_brkm(TBROK, cleanup, "getpwnam(%s) Failed", LTPUSER); in setup()
|
/third_party/ltp/testcases/kernel/mem/hugetlb/lib/ |
H A D | hugetlb.c | 90 ent = getpwnam(user); in getuserid() 92 tst_brk(TBROK | TERRNO, "getpwnam"); in getuserid()
|
/third_party/cups-filters/backend/ |
H A D | cups-brf.c | 78 pw = getpwnam(user); in main()
|