Home
last modified time | relevance | path

Searched refs:spwd (Results 1 – 25 of 31) sorted by relevance

12

/third_party/musl/porting/liteos_m_iccarm/kernel/include/
Dshadow.h15 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/
Dshadow.h15 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/
Dshadow.h15 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/
Dshadow.h15 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/python/Lib/test/
Dtest_spwd.py6 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/src/passwd/
Dfgetspent.c4 struct spwd *fgetspent(FILE *f) in fgetspent()
7 static struct spwd sp; in fgetspent()
9 struct spwd *res = 0; in fgetspent()
Dgetspnam.c5 struct spwd *getspnam(const char *name) in getspnam()
7 static struct spwd sp; in getspnam()
9 struct spwd *res; in getspnam()
Dgetspnam_r.c23 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()
Dgetspent.c11 struct spwd *getspent() in getspent()
Dputspent.c7 int putspent(const struct spwd *sp, FILE *f) in putspent()
Dpwf.h15 hidden int __parsespent(char *s, struct spwd *sp);
/third_party/toybox/toys/pending/
Dsulogin.c80 struct spwd * spwd = NULL; in sulogin_main() local
104 if ((spwd = getspnam (pwd->pw_name))) pass = spwd->sp_pwdp; in sulogin_main()
/third_party/toybox/toys/other/
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/
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/Doc/library/
Dspwd.rst1 :mod:`spwd` --- The shadow password database
4 .. module:: spwd
17 attributes correspond to the members of the ``spwd`` structure (Attribute field
Dpwd.rst48 system-dependent. If available, the :mod:`spwd` module should be used where
74 Module :mod:`spwd`
Dunix.rst16 spwd.rst
Dgrp.rst66 Module :mod:`spwd`
/third_party/python/Modules/
Dspwdmodule.c88 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()
DSetup196 #spwd spwdmodule.c # spwd(3)
/third_party/musl/ndk_musl_include/
Dshadow.h15 struct spwd { struct
/third_party/toybox/toys/lsb/
Dsu.c49 struct spwd *shp;
Dpasswd.c59 struct spwd *sp; in passwd_main()
/third_party/toybox/scripts/
Dgenconfig.sh78 struct spwd *a = getspnam("root"); return 0;
/third_party/python/Misc/NEWS.d/
D3.10.0a3.rst1299 Port :mod:`spwd` extension module to multiphase initialization (:pep:`489`)

12