Home
last modified time | relevance | path

Searched refs:spwd (Results 1 - 24 of 24) sorted by relevance

/third_party/musl/libc-test/src/functionalext/supplement/passwd/
H A Dgetspnam_r.c32 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 Dshadow.h15 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 Dshadow.h15 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 Dshadow.h15 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 Dshadow.h15 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 Dtest_spwd.py9 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 Dfgetspent.c4 struct spwd *fgetspent(FILE *f) in fgetspent()
7 static struct spwd sp; in fgetspent()
9 struct spwd *res = 0; in fgetspent()
H A Dgetspnam.c5 struct spwd *getspnam(const char *name) in getspnam()
7 static struct spwd sp; in getspnam()
9 struct spwd *res; in getspnam()
H A Dgetspnam_r.c31 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 Dgetspent.c11 struct spwd *getspent() in getspent()
H A Dputspent.c7 int putspent(const struct spwd *sp, FILE *f) in putspent()
/third_party/toybox/toys/pending/
H A Dsulogin.c80 struct spwd * spwd = NULL; in sulogin_main() local
104 if ((spwd = getspnam (pwd->pw_name))) pass = spwd->sp_pwdp; in sulogin_main()
H A Dchsh.c34 struct spwd *shadow_info; in chsh_main()
/third_party/toybox/toys/other/
H A Dlogin.c80 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 Dgetspnam_r.c30 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 Dspwdmodule.c16 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 Dmod.rs375 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 Dsu.c49 struct spwd *shp; in su_main()
H A Dpasswd.c59 struct spwd *sp; in passwd_main()
/third_party/toybox/scripts/
H A Dgenconfig.sh78 struct spwd *a = getspnam("root"); return 0;
/third_party/rust/crates/libc/src/unix/linux_like/linux/gnu/
H A Dmod.rs1124 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 Dmod.rs89 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 Dmod.rs75 pub struct spwd { structure names
/third_party/rust/crates/libc/src/fuchsia/
H A Dmod.rs485 pub struct spwd { structure names

Completed in 40 milliseconds