Home
last modified time | relevance | path

Searched refs:getspnam (Results 1 - 15 of 15) sorted by relevance

/third_party/python/Lib/test/
H A Dtest_spwd.py27 entry = spwd.getspnam(random_name)
50 spwd.getspnam('invalid user name')
51 self.assertEqual(str(cx.exception), "'getspnam(): name not found'")
52 self.assertRaises(TypeError, spwd.getspnam)
53 self.assertRaises(TypeError, spwd.getspnam, 0)
54 self.assertRaises(TypeError, spwd.getspnam, random_name, 0)
60 self.assertRaises(TypeError, spwd.getspnam, bytes_name)
71 spwd.getspnam(name)
/third_party/musl/porting/uniproton/kernel/include/
H A Dshadow.h34 struct spwd *getspnam(const char *);
/third_party/musl/porting/liteos_m/kernel/include/
H A Dshadow.h34 struct spwd *getspnam(const char *);
/third_party/musl/src/passwd/
H A Dgetspnam.c5 struct spwd *getspnam(const char *name) in getspnam() function
/third_party/musl/include/
H A Dshadow.h34 struct spwd *getspnam(const char *);
/third_party/musl/porting/liteos_m_iccarm/kernel/include/
H A Dshadow.h34 struct spwd *getspnam(const char *);
/third_party/toybox/toys/lsb/
H A Dsu.c61 shp = getspnam(name); in su_main()
H A Dpasswd.c73 if (*(pass = pw->pw_passwd)=='x' && (sp = getspnam(name))) pass = sp->sp_pwdp; in passwd_main()
/third_party/toybox/toys/pending/
H A Dchsh.c49 if (!(shadow_info = getspnam(passwd_info->pw_name))) perror_exit("getspnam"); in chsh_main()
H A Dsulogin.c104 if ((spwd = getspnam (pwd->pw_name))) pass = spwd->sp_pwdp; in sulogin_main()
/third_party/toybox/scripts/
H A Dgenconfig.sh78 struct spwd *a = getspnam("root"); return 0;
/third_party/toybox/toys/other/
H A Dlogin.c80 struct spwd *spwd = getspnam (username); in login_main()
/third_party/python/Modules/
H A Dspwdmodule.c127 spwd.getspnam
150 if ((p = getspnam(name)) == NULL) { in spwd_getspnam_impl()
154 PyErr_SetString(PyExc_KeyError, "getspnam(): name not found"); in spwd_getspnam_impl()
/third_party/rust/crates/libc/src/unix/haiku/
H A Dmod.rs1616 pub fn getspnam(name: *const ::c_char) -> *mut spwd; in getspnam() functions
/third_party/rust/crates/libc/src/unix/linux_like/linux/
H A Dmod.rs3911 pub fn getspnam(name: *const ::c_char) -> *mut spwd; in getspnam() functions

Completed in 20 milliseconds