/third_party/pulseaudio/src/pulsecore/ |
D | usergroup.c | 79 full_size = (size_t) n + sizeof(struct passwd); in starting_getpw_buflen() 252 struct passwd *pa_getpwnam_malloc(const char *name) { in pa_getpwnam_malloc() 257 struct passwd *result = NULL; in pa_getpwnam_malloc() 262 getpw_buflen = buflen - sizeof(struct passwd); in pa_getpwnam_malloc() 263 getpw_buf = (char *)buf + sizeof(struct passwd); in pa_getpwnam_malloc() 265 …while ((err = getpwnam_r(name, (struct passwd *)buf, getpw_buf, getpw_buflen, &result)) == ERANGE)… in pa_getpwnam_malloc() 269 getpw_buflen = buflen - sizeof(struct passwd); in pa_getpwnam_malloc() 270 getpw_buf = (char *)buf + sizeof(struct passwd); in pa_getpwnam_malloc() 286 void pa_getpwnam_free(struct passwd *passwd) { in pa_getpwnam_free() argument 287 pa_xfree(passwd); in pa_getpwnam_free() [all …]
|
D | usergroup.h | 41 struct passwd *pa_getpwuid_malloc(uid_t uid); 42 void pa_getpwuid_free(struct passwd *passwd); 44 struct passwd *pa_getpwnam_malloc(const char *name); 45 void pa_getpwnam_free(struct passwd *passwd);
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/ |
D | pwd.h | 20 struct passwd { struct 33 struct passwd *getpwent (void); argument 36 struct passwd *getpwuid (uid_t); 37 struct passwd *getpwnam (const char *); 38 int getpwuid_r (uid_t, struct passwd *, char *, size_t, struct passwd **); 39 int getpwnam_r (const char *, struct passwd *, char *, size_t, struct passwd **); 42 struct passwd *fgetpwent(FILE *); 43 int putpwent(const struct passwd *, FILE *);
|
/third_party/musl/porting/uniproton/kernel/include/ |
D | pwd.h | 20 struct passwd { struct 33 struct passwd *getpwent (void); argument 36 struct passwd *getpwuid (uid_t); 37 struct passwd *getpwnam (const char *); 38 int getpwuid_r (uid_t, struct passwd *, char *, size_t, struct passwd **); 39 int getpwnam_r (const char *, struct passwd *, char *, size_t, struct passwd **); 42 struct passwd *fgetpwent(FILE *); 43 int putpwent(const struct passwd *, FILE *);
|
/third_party/musl/porting/liteos_m/kernel/include/ |
D | pwd.h | 20 struct passwd { struct 33 struct passwd *getpwent (void); argument 36 struct passwd *getpwuid (uid_t); 37 struct passwd *getpwnam (const char *); 38 int getpwuid_r (uid_t, struct passwd *, char *, size_t, struct passwd **); 39 int getpwnam_r (const char *, struct passwd *, char *, size_t, struct passwd **); 42 struct passwd *fgetpwent(FILE *); 43 int putpwent(const struct passwd *, FILE *);
|
/third_party/musl/include/ |
D | pwd.h | 20 struct passwd { struct 33 struct passwd *getpwent (void); argument 36 struct passwd *getpwuid (uid_t); 37 struct passwd *getpwnam (const char *); 38 int getpwuid_r (uid_t, struct passwd *, char *, size_t, struct passwd **); 39 int getpwnam_r (const char *, struct passwd *, char *, size_t, struct passwd **); 42 struct passwd *fgetpwent(FILE *); 43 int putpwent(const struct passwd *, FILE *);
|
/third_party/ltp/ |
D | IDcheck.sh | 39 passwd="$DESTDIR/etc/passwd" 70 for i in "$passwd" "$group"; do 77 fe bin "$passwd"; NO_BIN_ID=$? 78 fe daemon "$passwd"; NO_DAEMON_ID=$? 79 fe nobody "$passwd"; NO_NOBODY_ID=$? 93 echo "Password file: $passwd" 109 if ! touch "$group" "$passwd" 2>/dev/null; then 110 echo "Failed to touch $group or $passwd" 125 if ! fe "$name" "$passwd" && [ $no_id -ne 0 ] ; then 126 echo "${name}:x:${id}:${id}:${name}::" >> "$passwd" [all …]
|
/third_party/musl/ndk_musl_include/ |
D | pwd.h | 20 struct passwd { struct 33 struct passwd *getpwent (void); argument 36 struct passwd *getpwuid (uid_t); 37 struct passwd *getpwnam (const char *); 38 int getpwuid_r (uid_t, struct passwd *, char *, size_t, struct passwd **); 39 int getpwnam_r (const char *, struct passwd *, char *, size_t, struct passwd **);
|
/third_party/boost/libs/scope_exit/example/ |
D | try_catch_seq.cpp | 29 file passwd; in BOOST_TYPEOF_REGISTER_TYPE() local 31 passwd.open("/etc/passwd"); in BOOST_TYPEOF_REGISTER_TYPE() 33 passwd.close(); in BOOST_TYPEOF_REGISTER_TYPE() 36 if(passwd.is_open()) passwd.close(); in BOOST_TYPEOF_REGISTER_TYPE() 45 file passwd("/etc/passwd"); in good() local 46 BOOST_SCOPE_EXIT( (&passwd) ) { in good() 47 passwd.close(); in good()
|
D | try_catch.cpp | 34 file passwd; in BOOST_TYPEOF_REGISTER_TYPE() local 36 passwd.open("/etc/passwd"); in BOOST_TYPEOF_REGISTER_TYPE() 38 passwd.close(); in BOOST_TYPEOF_REGISTER_TYPE() 41 if(passwd.is_open()) passwd.close(); in BOOST_TYPEOF_REGISTER_TYPE() 50 file passwd("/etc/passwd"); in good() local 51 BOOST_SCOPE_EXIT(&passwd) { in good() 52 passwd.close(); in good()
|
/third_party/musl/libc-test/src/api/ |
D | pwd.c | 10 struct passwd x; in f() 17 {struct passwd*(*p)(const char*) = getpwnam;} in f() 18 {int(*p)(const char*,struct passwd*,char*,size_t,struct passwd**) = getpwnam_r;} in f() 19 {struct passwd*(*p)(uid_t) = getpwuid;} in f() 20 {int(*p)(uid_t,struct passwd*,char*,size_t,struct passwd**) = getpwuid_r;} in f() 23 {struct passwd*(*p)(void) = getpwent;} in f()
|
/third_party/openssl/apps/ |
D | passwd.c | 50 char *passwd, BIO *out, int quiet, int table, 86 char *infile = NULL, *salt = NULL, *passwd = NULL, **passwds = NULL; in passwd_main() local 223 passwd = passwd_malloc = in passwd_main() 258 passwd = *passwds++; in passwd_main() 259 if (!do_passwd(passed_salt, &salt, &salt_malloc, passwd, bio_out, in passwd_main() 267 assert(passwd != NULL); in passwd_main() 269 int r = BIO_gets(in, passwd, pw_maxlen + 1); in passwd_main() 271 char *c = (strchr(passwd, '\n')); in passwd_main() 283 (passed_salt, &salt, &salt_malloc, passwd, bio_out, quiet, in passwd_main() 311 static char *md5crypt(const char *passwd, const char *magic, const char *salt) in md5crypt() argument [all …]
|
/third_party/musl/src/passwd/ |
D | getpwent.c | 5 static struct passwd pw; 16 struct passwd *getpwent() in getpwent() 18 struct passwd *res; in getpwent() 25 struct passwd *getpwuid(uid_t uid) in getpwuid() 27 struct passwd *res; in getpwuid() 32 struct passwd *getpwnam(const char *name) in getpwnam() 34 struct passwd *res; in getpwnam()
|
D | getpw_r.c | 6 …tic int getpw_r(const char *name, uid_t uid, struct passwd *pw, char *buf, size_t size, struct pas… in getpw_r() 23 FIX(passwd); in getpw_r() 34 int getpwnam_r(const char *name, struct passwd *pw, char *buf, size_t size, struct passwd **res) in getpwnam_r() 39 int getpwuid_r(uid_t uid, struct passwd *pw, char *buf, size_t size, struct passwd **res) in getpwuid_r()
|
D | pwf.h | 11 hidden 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 pa…
|
/third_party/boost/libs/beast/test/extern/zlib-1.2.11/contrib/minizip/ |
D | crypt.h | 65 static void init_keys(const char* passwd,unsigned long* pkeys,const z_crc_t* pcrc_32_tab) in init_keys() argument 70 while (*passwd != '\0') { in init_keys() 71 update_keys(pkeys,pcrc_32_tab,(int)*passwd); in init_keys() 72 passwd++; in init_keys() 90 static int crypthead(const char* passwd, /* password string */ in crypthead() argument 114 init_keys(passwd, pkeys, pcrc_32_tab); in crypthead() 121 init_keys(passwd, pkeys, pcrc_32_tab); in crypthead()
|
/third_party/skia/third_party/externals/zlib/contrib/minizip/ |
D | crypt.h | 65 static void init_keys(const char* passwd,unsigned long* pkeys,const z_crc_t* pcrc_32_tab) in init_keys() argument 70 while (*passwd != '\0') { in init_keys() 71 update_keys(pkeys,pcrc_32_tab,(int)*passwd); in init_keys() 72 passwd++; in init_keys() 90 static int crypthead(const char* passwd, /* password string */ in crypthead() argument 114 init_keys(passwd, pkeys, pcrc_32_tab); in crypthead() 121 init_keys(passwd, pkeys, pcrc_32_tab); in crypthead()
|
/third_party/flutter/skia/third_party/externals/zlib/contrib/minizip/ |
D | crypt.h | 65 static void init_keys(const char* passwd,unsigned long* pkeys,const z_crc_t* pcrc_32_tab) in init_keys() argument 70 while (*passwd != '\0') { in init_keys() 71 update_keys(pkeys,pcrc_32_tab,(int)*passwd); in init_keys() 72 passwd++; in init_keys() 90 static int crypthead(const char* passwd, /* password string */ in crypthead() argument 114 init_keys(passwd, pkeys, pcrc_32_tab); in crypthead() 121 init_keys(passwd, pkeys, pcrc_32_tab); in crypthead()
|
/third_party/zlib/contrib/minizip/ |
D | crypt.h | 66 static void init_keys(const char* passwd,unsigned long* pkeys,const z_crc_t* pcrc_32_tab) in init_keys() argument 71 while (*passwd != '\0') { in init_keys() 72 update_keys(pkeys,pcrc_32_tab,(int)*passwd); in init_keys() 73 passwd++; in init_keys() 91 static unsigned crypthead(const char* passwd, /* password string */ in crypthead() argument 115 init_keys(passwd, pkeys, pcrc_32_tab); in crypthead() 122 init_keys(passwd, pkeys, pcrc_32_tab); in crypthead()
|
/third_party/boost/tools/boost_install/test/iostreams/zlib-1.2.11/contrib/minizip/ |
D | crypt.h | 65 static void init_keys(const char* passwd,unsigned long* pkeys,const z_crc_t* pcrc_32_tab) in init_keys() argument 70 while (*passwd != '\0') { in init_keys() 71 update_keys(pkeys,pcrc_32_tab,(int)*passwd); in init_keys() 72 passwd++; in init_keys() 90 static int crypthead(const char* passwd, /* password string */ in crypthead() argument 114 init_keys(passwd, pkeys, pcrc_32_tab); in crypthead() 121 init_keys(passwd, pkeys, pcrc_32_tab); in crypthead()
|
/third_party/ltp/testcases/kernel/syscalls/setreuid/ |
D | setreuid04.c | 38 static struct passwd nobody, root; 48 struct passwd *exp_real_usr; 49 struct passwd *exp_eff_usr; 61 static void uid_verify(struct passwd *, struct passwd *, char *); 133 static void uid_verify(struct passwd *ru, struct passwd *eu, char *when) in uid_verify()
|
/third_party/musl/libc-test/src/functionalext/supplement/passwd/ |
D | getpwent.c | 29 struct passwd *user = getpwent(); in getpwent_0100() 40 struct passwd *ret = getpwnam("root"); in getpwnam_0100() 56 struct passwd *ret = getpwnam("abcdefg"); in getpwnam_0200() 67 struct passwd *ret = getpwuid(getuid()); in getpwuid_0100() 81 struct passwd *ret = getpwuid(TEST_ERROR_UID); in getpwuid_0200()
|
D | getpw_r.c | 28 struct passwd pw; in getpwuid_r_0100() 29 struct passwd *res = NULL; in getpwuid_r_0100() 46 struct passwd pw; in getpwuid_r_0200() 47 struct passwd *res = NULL; in getpwuid_r_0200()
|
/third_party/glib/glib/tests/ |
D | getpwuid-preload.c | 26 static struct passwd my_pw; 32 struct passwd * 35 static struct passwd *(*real_getpwuid) (uid_t); in getpwuid() 36 struct passwd *pw; in getpwuid()
|
/third_party/curl/lib/ |
D | curl_sspi.c | 147 xcharp_u passwd, dup_passwd; in Curl_create_sspi_identity() local 199 passwd.tchar_ptr = curlx_convert_UTF8_to_tchar((char *)passwdp); in Curl_create_sspi_identity() 200 if(!passwd.tchar_ptr) in Curl_create_sspi_identity() 202 dup_passwd.tchar_ptr = _tcsdup(passwd.tchar_ptr); in Curl_create_sspi_identity() 204 curlx_unicodefree(passwd.tchar_ptr); in Curl_create_sspi_identity() 211 curlx_unicodefree(passwd.tchar_ptr); in Curl_create_sspi_identity()
|