/third_party/musl/libc-test/src/functionalext/supplement/passwd/ |
H A 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() 66 struct spwd *spwd; getspnam_r_0300() local 82 struct spwd *spwd; getspnam_r_0400() local [all...] |
/third_party/musl/porting/uniproton/kernel/include/ |
H A D | shadow.h | 15 struct spwd { struct 29 struct spwd *getspent(void); 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/ |
H A D | shadow.h | 15 struct spwd { struct 29 struct spwd *getspent(void); 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/ |
H A D | shadow.h | 15 struct spwd { struct 29 struct spwd *getspent(void); 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_iccarm/kernel/include/ |
H A D | shadow.h | 15 struct spwd { struct 29 struct spwd *getspent(void); 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/python/Lib/test/ |
H A D | test_spwd.py | 9 spwd = import_helper.import_module('spwd') variable 17 entries = spwd.getspall() 20 self.assertIsInstance(entry, spwd.struct_spwd) 23 entries = spwd.getspall() 27 entry = spwd.getspnam(random_name) 28 self.assertIsInstance(entry, spwd.struct_spwd) 50 spwd.getspnam('invalid user name') 52 self.assertRaises(TypeError, spwd.getspnam) 53 self.assertRaises(TypeError, spwd [all...] |
/third_party/musl/src/passwd/ |
H A 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()
|
H A 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()
|
H A D | getspnam_r.c | 31 int __parsespent(char *s, struct spwd *sp) in __parsespent() 69 int getspnam_r(const char *name, struct spwd *sp, char *buf, size_t size, struct spwd **res) in getspnam_r()
|
H A D | getspent.c | 11 struct spwd *getspent() in getspent()
|
H A D | putspent.c | 7 int putspent(const struct spwd *sp, FILE *f) in putspent()
|
/third_party/toybox/toys/pending/ |
H A 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()
|
H A D | chsh.c | 34 struct spwd *shadow_info; in chsh_main()
|
/third_party/toybox/toys/other/ |
H A 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/ |
H A 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/Modules/ |
H A D | spwdmodule.c | 16 module spwd 50 "spwd.struct_spwd: Results from getsp*() routines.\n\n\ 56 "spwd.struct_spwd", 88 static PyObject *mkspent(PyObject *module, struct spwd *p) in mkspent() 127 spwd.getspnam 134 See `help(spwd)` for more on shadow password database entries. 142 struct spwd *p; in spwd_getspnam_impl() 168 spwd.getspall 172 See `help(spwd)` for more on shadow password database entries. 180 struct spwd * in spwd_getspall_impl() [all...] |
/third_party/rust/crates/libc/src/unix/haiku/ |
H A D | mod.rs | 375 pub struct spwd { structure names 1607 pub fn getspent() -> *mut spwd; in getspent() 1609 pwd: *mut spwd, in getspent_r() 1612 res: *mut *mut spwd, in getspent_r() 1616 pub fn getspnam(name: *const ::c_char) -> *mut spwd; in getspnam() 1619 spwd: *mut spwd, in getspnam_r() 1622 res: *mut *mut spwd, in getspnam_r() 1624 pub fn sgetspent(line: *const ::c_char) -> *mut spwd; in sgetspent() 1627 spwd in sgetspent_r() [all...] |
/third_party/toybox/toys/lsb/ |
H A D | su.c | 49 struct spwd *shp; in su_main()
|
H A D | passwd.c | 59 struct spwd *sp; in passwd_main()
|
/third_party/toybox/scripts/ |
H A D | genconfig.sh | 78 struct spwd *a = getspnam("root"); return 0;
|
/third_party/rust/crates/libc/src/unix/linux_like/linux/gnu/ |
H A D | mod.rs | 1124 spbuf: *mut ::spwd, in fgetspent_r() 1127 spbufp: *mut *mut ::spwd, in fgetspent_r() 1131 spbuf: *mut ::spwd, in sgetspent_r() 1134 spbufp: *mut *mut ::spwd, in sgetspent_r() 1137 spbuf: *mut ::spwd, in getspent_r() 1140 spbufp: *mut *mut ::spwd, in getspent_r()
|
/third_party/rust/crates/libc/src/unix/linux_like/linux/ |
H A D | mod.rs | 89 pub struct spwd { structure names 3818 spbuf: *mut spwd, in getspnam_r() 3821 spbufp: *mut *mut spwd, in getspnam_r() 3909 pub fn getspent() -> *mut spwd; in getspent() 3911 pub fn getspnam(name: *const ::c_char) -> *mut spwd; in getspnam()
|
/third_party/rust/crates/libc/src/unix/linux_like/emscripten/ |
H A D | mod.rs | 75 pub struct spwd { structure names
|
/third_party/rust/crates/libc/src/fuchsia/ |
H A D | mod.rs | 485 pub struct spwd { structure names
|