Home
last modified time | relevance | path

Searched refs:getpwnam (Results 1 - 25 of 75) sorted by relevance

123

/third_party/python/Lib/test/
H A Dtest_pwd.py53 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 Darchive_util.py22 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 Dgetpwent.c40 struct passwd *ret = getpwnam("root"); in getpwnam_0100()
56 struct passwd *ret = getpwnam("abcdefg"); in getpwnam_0200()
H A Dgetgrouplist.c36 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 Dsetresgid01.c188 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 Dmlockall03.c221 ltpuser = getpwnam(nobody_uid); in setup_test()
251 ltpuser = getpwnam(nobody_uid); in setup_test()
H A Dmlockall02.c194 ltpuser = getpwnam(nobody_uid); in setup_test()
214 ltpuser = getpwnam(nobody_uid); in setup_test()
/third_party/libwebsockets/lib/plat/unix/
H A Dunix-caps.c97 p = getpwnam(u);
148 p = getpwnam(context->username);
/third_party/musl/porting/liteos_m_iccarm/kernel/include/
H A Dpwd.h37 struct passwd *getpwnam (const char *);
/third_party/musl/porting/liteos_m/kernel/include/
H A Dpwd.h37 struct passwd *getpwnam (const char *);
/third_party/musl/porting/uniproton/kernel/include/
H A Dpwd.h37 struct passwd *getpwnam (const char *);
/third_party/musl/src/passwd/
H A Dgetpwent.c32 struct passwd *getpwnam(const char *name) in getpwnam() function
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/clock_getcpuclockid/
H A D5-1.c36 pwd = getpwnam("nobody"); in main()
/third_party/musl/Benchmark/musl/
H A Dlibc_grp.cpp31 struct passwd *pw = getpwnam(user); in Bm_function_Getgrouplist()
33 perror("getpwnam"); in Bm_function_Getgrouplist()
/third_party/musl/include/
H A Dpwd.h37 struct passwd *getpwnam (const char *);
/third_party/musl/libc-test/src/api/
H A Dpwd.c17 {struct passwd*(*p)(const char*) = getpwnam;} in f()
/third_party/toybox/toys/posix/
H A Drenice.c33 struct passwd *p = getpwnam(s); in renice_main()
/third_party/ltp/testcases/kernel/syscalls/open/
H A Dopen08.c67 ltpuser = getpwnam(nobody_uid); in setup()
/third_party/ltp/testcases/kernel/syscalls/setfsgid/
H A Dsetfsgid03.c90 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 Dgetresuid03.c154 if ((user_id = getpwnam("nobody")) == NULL) { in setup()
156 "getpwnam(nobody) Failed, errno=%d", errno); in setup()
H A Dgetresuid02.c150 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 Dgetresgid03.c159 if ((user_id = getpwnam("nobody")) == NULL) { in setup()
161 "getpwnam(nobody) Failed, errno=%d", errno); in setup()
H A Dgetresgid02.c153 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 Dhugetlb.c90 ent = getpwnam(user); in getuserid()
92 tst_brk(TBROK | TERRNO, "getpwnam"); in getuserid()
/third_party/cups-filters/backend/
H A Dcups-brf.c78 pw = getpwnam(user); in main()

Completed in 7 milliseconds

123