Home
last modified time | relevance | path

Searched refs:passwd (Results 1 – 6 of 6) sorted by relevance

/bionic/libc/include/
Dpwd.h68 struct passwd { struct
83 struct passwd* getpwnam(const char*); argument
84 struct passwd* getpwuid(uid_t);
87 struct passwd* getpwent(void) __INTRODUCED_IN(26);
92 int getpwnam_r(const char*, struct passwd*, char*, size_t, struct passwd**) __INTRODUCED_IN(12);
93 int getpwuid_r(uid_t, struct passwd*, char*, size_t, struct passwd**) __INTRODUCED_IN(12);
/bionic/libc/bionic/
Dgrp_pwd.cpp61 return &__get_bionic_tls().passwd; in get_passwd_tls_buffer()
78 passwd* dst, char* buf, size_t byte_count, in do_getpw_r()
79 passwd** result) { in do_getpw_r()
88 const passwd* src = by_name ? getpwnam(name) : getpwuid(uid); // NOLINT: see above. in do_getpw_r()
127 int getpwnam_r(const char* name, passwd* pwd, in getpwnam_r()
128 char* buf, size_t byte_count, passwd** result) { in getpwnam_r()
132 int getpwuid_r(uid_t uid, passwd* pwd, in getpwuid_r()
133 char* buf, size_t byte_count, passwd** result) { in getpwuid_r()
137 static passwd* android_iinfo_to_passwd(passwd_state_t* state, in android_iinfo_to_passwd()
143 passwd* pw = &state->passwd_; in android_iinfo_to_passwd()
[all …]
/bionic/libc/private/
Dgrp_pwd.h43 passwd passwd_;
Dbionic_tls.h102 passwd_state_t passwd; member
/bionic/tests/
Dgrp_pwd_test.cpp43 static void check_passwd(const passwd* pwd, const char* username, uid_t uid, uid_type_t uid_type) { in check_passwd()
63 passwd* pwd = getpwuid(uid); in check_getpwuid()
71 passwd* pwd = getpwnam(username); in check_getpwnam()
78 passwd pwd_storage; in check_getpwuid_r()
83 passwd* pwd = NULL; in check_getpwuid_r()
92 passwd pwd_storage; in check_getpwnam_r()
97 passwd* pwd = NULL; in check_getpwnam_r()
190 passwd* pwd; in TEST()
Dftw_test.cpp142 passwd* pwd = getpwnam("shell"); in TEST()