/third_party/musl/libc-test/src/functionalext/supplement/passwd/ |
D | getspnam_r.c | 32 struct spwd *spwd; in getspnam_r_0100() local 33 struct spwd spwd_storage; in getspnam_r_0100() 36 int result = getspnam_r(spwd_name, &spwd_storage, buf, sizeof(buf), &spwd); in getspnam_r_0100() 38 EXPECT_PTRNE("getspnam_r_0100", spwd, NULL); in getspnam_r_0100() 39 EXPECT_EQ("getspnam_r_0100", strcmp(spwd_name, spwd->sp_namp), 0); in getspnam_r_0100() 50 struct spwd *spwd; in getspnam_r_0200() local 51 struct spwd spwd_storage; in getspnam_r_0200() 53 int result = getspnam_r("bin", &spwd_storage, buf, sizeof(buf), &spwd); in getspnam_r_0200() 55 EXPECT_PTREQ("getspnam_r_0300", spwd, NULL); in getspnam_r_0200() 66 struct spwd *spwd; in getspnam_r_0300() local [all …]
|
/third_party/python/Lib/test/ |
D | test_spwd.py | 6 spwd = import_helper.import_module('spwd') variable 14 entries = spwd.getspall() 17 self.assertIsInstance(entry, spwd.struct_spwd) 20 entries = spwd.getspall() 24 entry = spwd.getspnam(random_name) 25 self.assertIsInstance(entry, spwd.struct_spwd) 47 spwd.getspnam('invalid user name') 49 self.assertRaises(TypeError, spwd.getspnam) 50 self.assertRaises(TypeError, spwd.getspnam, 0) 51 self.assertRaises(TypeError, spwd.getspnam, random_name, 0) [all …]
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/ |
D | shadow.h | 15 struct spwd { struct 29 struct spwd *getspent(void); argument 30 struct spwd *fgetspent(FILE *); 31 struct spwd *sgetspent(const char *); 32 int putspent(const struct spwd *, FILE *); 34 struct spwd *getspnam(const char *); 35 int getspnam_r(const char *, struct spwd *, char *, size_t, struct spwd **);
|
/third_party/musl/porting/liteos_m/kernel/include/ |
D | shadow.h | 15 struct spwd { struct 29 struct spwd *getspent(void); argument 30 struct spwd *fgetspent(FILE *); 31 struct spwd *sgetspent(const char *); 32 int putspent(const struct spwd *, FILE *); 34 struct spwd *getspnam(const char *); 35 int getspnam_r(const char *, struct spwd *, char *, size_t, struct spwd **);
|
/third_party/musl/include/ |
D | shadow.h | 15 struct spwd { struct 29 struct spwd *getspent(void); argument 30 struct spwd *fgetspent(FILE *); 31 struct spwd *sgetspent(const char *); 32 int putspent(const struct spwd *, FILE *); 34 struct spwd *getspnam(const char *); 35 int getspnam_r(const char *, struct spwd *, char *, size_t, struct spwd **);
|
/third_party/musl/porting/uniproton/kernel/include/ |
D | shadow.h | 15 struct spwd { struct 29 struct spwd *getspent(void); argument 30 struct spwd *fgetspent(FILE *); 31 struct spwd *sgetspent(const char *); 32 int putspent(const struct spwd *, FILE *); 34 struct spwd *getspnam(const char *); 35 int getspnam_r(const char *, struct spwd *, char *, size_t, struct spwd **);
|
/third_party/toybox/toys/pending/ |
D | sulogin.c | 80 struct spwd * spwd = NULL; in sulogin_main() local 104 if ((spwd = getspnam (pwd->pw_name))) pass = spwd->sp_pwdp; in sulogin_main()
|
D | chsh.c | 34 struct spwd *shadow_info;
|
/third_party/musl/src/passwd/ |
D | fgetspent.c | 4 struct spwd *fgetspent(FILE *f) in fgetspent() 7 static struct spwd sp; in fgetspent() 9 struct spwd *res = 0; in fgetspent()
|
D | getspnam.c | 5 struct spwd *getspnam(const char *name) in getspnam() 7 static struct spwd sp; in getspnam() 9 struct spwd *res; in getspnam()
|
D | getspnam_r.c | 23 int __parsespent(char *s, struct spwd *sp) in __parsespent() 61 int getspnam_r(const char *name, struct spwd *sp, char *buf, size_t size, struct spwd **res) in getspnam_r()
|
D | getspent.c | 11 struct spwd *getspent() in getspent()
|
D | putspent.c | 7 int putspent(const struct spwd *sp, FILE *f) in putspent()
|
D | pwf.h | 15 hidden int __parsespent(char *s, struct spwd *sp);
|
/third_party/toybox/toys/other/ |
D | login.c | 80 struct spwd *spwd = getspnam (username); in login_main() local 82 if (spwd) pass = spwd->sp_pwdp; in login_main()
|
/third_party/musl/porting/linux/user/src/passwd/ |
D | getspnam_r.c | 30 int __parsespent(char *s, struct spwd *sp) in __parsespent() 68 int getspnam_r(const char *name, struct spwd *sp, char *buf, size_t size, struct spwd **res) in getspnam_r()
|
/third_party/python/Doc/library/ |
D | spwd.rst | 1 :mod:`spwd` --- The shadow password database 4 .. module:: spwd 17 attributes correspond to the members of the ``spwd`` structure (Attribute field
|
D | pwd.rst | 48 system-dependent. If available, the :mod:`spwd` module should be used where 74 Module :mod:`spwd`
|
D | unix.rst | 16 spwd.rst
|
/third_party/python/Modules/ |
D | spwdmodule.c | 88 static PyObject *mkspent(PyObject *module, struct spwd *p) in mkspent() 142 struct spwd *p; in spwd_getspnam_impl() 180 struct spwd *p; in spwd_getspall_impl()
|
/third_party/rust/crates/libc/src/unix/haiku/ |
D | mod.rs | 375 pub struct spwd { 1607 pub fn getspent() -> *mut spwd; in getspent() 1609 pwd: *mut spwd, in getspent_r() argument 1612 res: *mut *mut spwd, in getspent_r() argument 1616 pub fn getspnam(name: *const ::c_char) -> *mut spwd; in getspnam() argument 1619 spwd: *mut spwd, in getspnam_r() argument 1622 res: *mut *mut spwd, in getspnam_r() argument 1624 pub fn sgetspent(line: *const ::c_char) -> *mut spwd; in sgetspent() argument 1627 spwd: *mut spwd, in sgetspent_r() argument 1630 res: *mut *mut spwd, in sgetspent_r() argument [all …]
|
/third_party/musl/ndk_musl_include/ |
D | shadow.h | 15 struct spwd { struct
|
/third_party/toybox/toys/lsb/ |
D | su.c | 49 struct spwd *shp;
|
D | passwd.c | 59 struct spwd *sp; in passwd_main()
|
/third_party/rust/crates/libc/src/unix/linux_like/linux/gnu/ |
D | mod.rs | 1124 spbuf: *mut ::spwd, in fgetspent_r() argument 1127 spbufp: *mut *mut ::spwd, in fgetspent_r() argument 1131 spbuf: *mut ::spwd, in sgetspent_r() argument 1134 spbufp: *mut *mut ::spwd, in sgetspent_r() argument 1137 spbuf: *mut ::spwd, in getspent_r() argument 1140 spbufp: *mut *mut ::spwd, in getspent_r() argument
|