/dports/lang/zig/zig-0.9.0/lib/libc/include/generic-glibc/ |
H A D | shadow.h | 43 struct spwd struct 82 extern struct spwd *getspent (void); 90 extern struct spwd *getspnam (const char *__name); 98 extern struct spwd *sgetspent (const char *__string); 106 extern struct spwd *fgetspent (FILE *__stream); 114 extern int putspent (const struct spwd *__p, FILE *__stream); 124 extern int getspent_r (struct spwd *__result_buf, char *__buffer, 125 size_t __buflen, struct spwd **__result); 129 struct spwd **__result); 133 struct spwd **__result); [all …]
|
/dports/lang/zig-devel/zig-0.9.0/lib/libc/include/generic-glibc/ |
H A D | shadow.h | 43 struct spwd struct 82 extern struct spwd *getspent (void); 90 extern struct spwd *getspnam (const char *__name); 98 extern struct spwd *sgetspent (const char *__string); 106 extern struct spwd *fgetspent (FILE *__stream); 114 extern int putspent (const struct spwd *__p, FILE *__stream); 124 extern int getspent_r (struct spwd *__result_buf, char *__buffer, 125 size_t __buflen, struct spwd **__result); 129 struct spwd **__result); 133 struct spwd **__result); [all …]
|
/dports/security/pwauth/pwauth-2.3.11/ |
H A D | auth_sun.c | 41 struct spwd *getspnam(); 50 struct spwd *getspnam(); 65 struct spwd *spwd= getspnam(login); in check_auth() local 72 if (spwd == NULL) in check_auth() 83 cpass= pw_encrypt(passwd, spwd->sp_pwdp); in check_auth() 85 cpass= crypt(passwd, spwd->sp_pwdp); in check_auth() 87 if (strcmp(cpass, spwd->sp_pwdp)) return STATUS_INVALID; in check_auth() 89 if (spwd->sp_expire >= 0 && spwd->sp_expire < today) in check_auth() 94 if (spwd->sp_lstchg == 0) in check_auth() 103 if (spwd->sp_max >= 0 && in check_auth() [all …]
|
H A D | auth_mdw.c | 57 struct spwd *spwd= getspnam(login); in check_auth() local 64 if (spwd == NULL) in check_auth() 74 if (spwd->sp_pwdp[0] != '%') in check_auth() 75 cpass= pw_encrypt(passwd, spwd->sp_pwdp); in check_auth() 79 if (strcmp(cpass, spwd->sp_pwdp)) return STATUS_INVALID; in check_auth() 81 if (spwd->sp_expire >= 0 && spwd->sp_expire < today) in check_auth() 86 if (spwd->sp_lstchg == 0) in check_auth() 90 if (spwd->sp_max >= 0 && spwd->sp_lstchg + spwd->sp_max < today) in check_auth()
|
/dports/sysutils/busybox/busybox-1.26.2/include/ |
H A D | shadow_.h | 28 struct spwd { struct 66 struct spwd* FAST_FUNC getspent(void); 69 struct spwd* FAST_FUNC getspnam(const char *__name); 72 struct spwd* FAST_FUNC sgetspent(const char *__string); 75 struct spwd* FAST_FUNC fgetspent(FILE *__stream); 78 int FAST_FUNC putspent(const struct spwd *__p, FILE *__stream); 81 int FAST_FUNC getspent_r(struct spwd *__result_buf, char *__buffer, 82 size_t __buflen, struct spwd **__result); 87 struct spwd **__result); 92 struct spwd **__result); [all …]
|
/dports/devel/tinygo/tinygo-0.14.1/lib/wasi-libc/libc-top-half/musl/include/ |
H A 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 **);
|
/dports/lang/zig-devel/zig-0.9.0/lib/libc/wasi/libc-top-half/musl/include/ |
H A 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 **);
|
/dports/lang/zig-devel/zig-0.9.0/lib/libc/musl/include/ |
H A 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 **);
|
/dports/devel/wasi-libc/wasi-libc-ad5133410f66b93a2381db5b542aad5e0964db96/libc-top-half/musl/include/ |
H A 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 **);
|
/dports/lang/zig/zig-0.9.0/lib/libc/include/generic-musl/ |
H A 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 **);
|
/dports/lang/zig/zig-0.9.0/lib/libc/wasi/libc-top-half/musl/include/ |
H A 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 **);
|
/dports/lang/zig/zig-0.9.0/lib/libc/musl/include/ |
H A 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 **);
|
/dports/lang/zig-devel/zig-0.9.0/lib/libc/include/generic-musl/ |
H A 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 **);
|
/dports/devel/emscripten/emscripten-2.0.3/system/include/libc/ |
H A 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 **);
|
/dports/databases/py-sqlite3/Python-3.8.12/Lib/test/ |
H A D | test_spwd.py | 5 spwd = support.import_module('spwd') variable 13 entries = spwd.getspall() 16 self.assertIsInstance(entry, spwd.struct_spwd) 19 entries = spwd.getspall() 23 entry = spwd.getspnam(random_name) 24 self.assertIsInstance(entry, spwd.struct_spwd) 46 spwd.getspnam('invalid user name') 48 self.assertRaises(TypeError, spwd.getspnam) 49 self.assertRaises(TypeError, spwd.getspnam, 0) 50 self.assertRaises(TypeError, spwd.getspnam, random_name, 0) [all …]
|
/dports/databases/py-gdbm/Python-3.8.12/Lib/test/ |
H A D | test_spwd.py | 5 spwd = support.import_module('spwd') variable 13 entries = spwd.getspall() 16 self.assertIsInstance(entry, spwd.struct_spwd) 19 entries = spwd.getspall() 23 entry = spwd.getspnam(random_name) 24 self.assertIsInstance(entry, spwd.struct_spwd) 46 spwd.getspnam('invalid user name') 48 self.assertRaises(TypeError, spwd.getspnam) 49 self.assertRaises(TypeError, spwd.getspnam, 0) 50 self.assertRaises(TypeError, spwd.getspnam, random_name, 0) [all …]
|
/dports/lang/python310/Python-3.10.1/Lib/test/ |
H A 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 …]
|
/dports/lang/python37/Python-3.7.12/Lib/test/ |
H A D | test_spwd.py | 5 spwd = support.import_module('spwd') variable 13 entries = spwd.getspall() 16 self.assertIsInstance(entry, spwd.struct_spwd) 19 entries = spwd.getspall() 23 entry = spwd.getspnam(random_name) 24 self.assertIsInstance(entry, spwd.struct_spwd) 46 spwd.getspnam('invalid user name') 48 self.assertRaises(TypeError, spwd.getspnam) 49 self.assertRaises(TypeError, spwd.getspnam, 0) 50 self.assertRaises(TypeError, spwd.getspnam, random_name, 0) [all …]
|
/dports/lang/python-tools/Python-3.8.12/Lib/test/ |
H A D | test_spwd.py | 5 spwd = support.import_module('spwd') variable 13 entries = spwd.getspall() 16 self.assertIsInstance(entry, spwd.struct_spwd) 19 entries = spwd.getspall() 23 entry = spwd.getspnam(random_name) 24 self.assertIsInstance(entry, spwd.struct_spwd) 46 spwd.getspnam('invalid user name') 48 self.assertRaises(TypeError, spwd.getspnam) 49 self.assertRaises(TypeError, spwd.getspnam, 0) 50 self.assertRaises(TypeError, spwd.getspnam, random_name, 0) [all …]
|
/dports/lang/python38/Python-3.8.12/Lib/test/ |
H A D | test_spwd.py | 5 spwd = support.import_module('spwd') variable 13 entries = spwd.getspall() 16 self.assertIsInstance(entry, spwd.struct_spwd) 19 entries = spwd.getspall() 23 entry = spwd.getspnam(random_name) 24 self.assertIsInstance(entry, spwd.struct_spwd) 46 spwd.getspnam('invalid user name') 48 self.assertRaises(TypeError, spwd.getspnam) 49 self.assertRaises(TypeError, spwd.getspnam, 0) 50 self.assertRaises(TypeError, spwd.getspnam, random_name, 0) [all …]
|
/dports/lang/python311/Python-3.11.0a3/Lib/test/ |
H A 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 …]
|
/dports/lang/python39/Python-3.9.9/Lib/test/ |
H A D | test_spwd.py | 5 spwd = support.import_module('spwd') variable 13 entries = spwd.getspall() 16 self.assertIsInstance(entry, spwd.struct_spwd) 19 entries = spwd.getspall() 23 entry = spwd.getspnam(random_name) 24 self.assertIsInstance(entry, spwd.struct_spwd) 46 spwd.getspnam('invalid user name') 48 self.assertRaises(TypeError, spwd.getspnam) 49 self.assertRaises(TypeError, spwd.getspnam, 0) 50 self.assertRaises(TypeError, spwd.getspnam, random_name, 0) [all …]
|
/dports/x11-toolkits/py-tkinter/Python-3.8.12/Lib/test/ |
H A D | test_spwd.py | 5 spwd = support.import_module('spwd') variable 13 entries = spwd.getspall() 16 self.assertIsInstance(entry, spwd.struct_spwd) 19 entries = spwd.getspall() 23 entry = spwd.getspnam(random_name) 24 self.assertIsInstance(entry, spwd.struct_spwd) 46 spwd.getspnam('invalid user name') 48 self.assertRaises(TypeError, spwd.getspnam) 49 self.assertRaises(TypeError, spwd.getspnam, 0) 50 self.assertRaises(TypeError, spwd.getspnam, random_name, 0) [all …]
|
/dports/lang/python-legacy/Python-2.7.18/Lib/test/ |
H A D | test_spwd.py | 5 spwd = test_support.import_module('spwd') variable 13 entries = spwd.getspall() 16 self.assertIsInstance(entry, spwd.struct_spwd) 19 entries = spwd.getspall() 23 entry = spwd.getspnam(random_name) 24 self.assertIsInstance(entry, spwd.struct_spwd) 44 spwd.getspnam('invalid user name') 46 self.assertRaises(TypeError, spwd.getspnam) 47 self.assertRaises(TypeError, spwd.getspnam, 0) 48 self.assertRaises(TypeError, spwd.getspnam, random_name, 0) [all …]
|
/dports/lang/python27/Python-2.7.18/Lib/test/ |
H A D | test_spwd.py | 5 spwd = test_support.import_module('spwd') variable 13 entries = spwd.getspall() 16 self.assertIsInstance(entry, spwd.struct_spwd) 19 entries = spwd.getspall() 23 entry = spwd.getspnam(random_name) 24 self.assertIsInstance(entry, spwd.struct_spwd) 44 spwd.getspnam('invalid user name') 46 self.assertRaises(TypeError, spwd.getspnam) 47 self.assertRaises(TypeError, spwd.getspnam, 0) 48 self.assertRaises(TypeError, spwd.getspnam, random_name, 0) [all …]
|