/seL4-camkes-master/projects/musllibc/src/passwd/ |
H A D | putpwent.c | 5 int putpwent(const struct passwd *pw, FILE *f) argument 8 pw->pw_name, pw->pw_passwd, pw->pw_uid, pw->pw_gid, 9 pw->pw_gecos, pw->pw_dir, pw->pw_shell)<0 ? -1 : 0;
|
H A D | fgetpwent.c | 7 static struct passwd pw; local 10 __getpwent_a(f, &pw, &line, &size, &res);
|
H A D | getpwent_a.c | 11 int __getpwent_a(FILE *f, struct passwd *pw, char **line, size_t *size, struct passwd **res) argument 23 pw = 0; 29 pw->pw_name = s++; 32 *s++ = 0; pw->pw_passwd = s; 35 *s++ = 0; pw->pw_uid = atou(&s); 38 *s++ = 0; pw->pw_gid = atou(&s); 41 *s++ = 0; pw->pw_gecos = s; 44 *s++ = 0; pw->pw_dir = s; 47 *s++ = 0; pw->pw_shell = s; 51 *res = pw; [all...] |
H A D | getpwent.c | 5 static struct passwd pw; variable in typeref:struct:passwd 21 __getpwent_a(f, &pw, &line, &size, &res); 28 __getpw_a(0, uid, &pw, &line, &size, &res); 35 __getpw_a(name, 0, &pw, &line, &size, &res);
|
H A D | getpw_r.c | 4 #define FIX(x) (pw->pw_##x = pw->pw_##x-line+buf) 6 static int getpw_r(const char *name, uid_t uid, struct passwd *pw, char *buf, size_t size, struct passwd **res) argument 15 rv = __getpw_a(name, uid, pw, &line, &len, res); 33 int getpwnam_r(const char *name, struct passwd *pw, char *buf, size_t size, struct passwd **res) argument 35 return getpw_r(name, 0, pw, buf, size, res); 38 int getpwuid_r(uid_t uid, struct passwd *pw, char *buf, size_t size, struct passwd **res) argument 40 return getpw_r(0, uid, pw, buf, size, res);
|
H A D | getpw_a.c | 20 int __getpw_a(const char *name, uid_t uid, struct passwd *pw, char **buf, size_t *size, struct passwd **res) argument 36 while (!(rv = __getpwent_a(f, pw, buf, size, res)) && *res) { 107 pw->pw_name = *buf; 108 pw->pw_passwd = pw->pw_name + passwdbuf[PWNAMELEN]; 109 pw->pw_gecos = pw->pw_passwd + passwdbuf[PWPASSWDLEN]; 110 pw->pw_dir = pw->pw_gecos + passwdbuf[PWGECOSLEN]; 111 pw [all...] |
H A D | pwf.h | 11 int __getpwent_a(FILE *f, struct passwd *pw, char **line, size_t *size, struct passwd **res); 12 int __getpw_a(const char *name, uid_t uid, struct passwd *pw, char **buf, size_t *size, struct passwd **res);
|
/seL4-camkes-master/projects/musllibc/src/legacy/ |
H A D | cuserid.c | 8 struct passwd pw, *ppw; local 10 if (getpwuid_r(geteuid(), &pw, (void *)pwb, sizeof pwb, &ppw)) 12 snprintf(buf, L_cuserid, "%s", pw.pw_name);
|
/seL4-camkes-master/projects/lwip/src/netif/ppp/ |
H A D | eap.c | 1200 struct passwd *pw; local 1204 pw = getpwuid(getuid()); 1205 if (pw == NULL || (user = pw->pw_dir) == NULL || user[0] == 0) {
|
/seL4-camkes-master/kernel/manual/tools/libsel4_tools/ |
H A D | bitfield_gen.py | 1646 dict(subs, part_mask=hex(2 ** pw - 1), 1647 part_value=hex(value & (2 ** pw - 1))) 1648 for pw in part_widths])
|
/seL4-camkes-master/kernel/libsel4/tools/ |
H A D | bitfield_gen.py | 1646 dict(subs, part_mask=hex(2 ** pw - 1), 1647 part_value=hex(value & (2 ** pw - 1))) 1648 for pw in part_widths])
|
/seL4-camkes-master/kernel/tools/ |
H A D | bitfield_gen.py | 1646 dict(subs, part_mask=hex(2 ** pw - 1), 1647 part_value=hex(value & (2 ** pw - 1))) 1648 for pw in part_widths])
|