Home
last modified time | relevance | path

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

/bionic/libc/include/
Dpwd.h101 struct passwd struct
119 struct passwd* getpwnam(const char*); argument
120 struct passwd* getpwuid(uid_t);
122 int getpwnam_r(const char*, struct passwd*, char*, size_t, struct passwd**);
123 int getpwuid_r(uid_t, struct passwd*, char*, size_t, struct passwd**);
/bionic/libc/bionic/
Dstubs.cpp61 passwd passwd_;
84 passwd* dst, char* buf, size_t byte_count, in do_getpw_r()
85 passwd** result) { in do_getpw_r()
94 const passwd* src = by_name ? getpwnam(name) : getpwuid(uid); // NOLINT: see above. in do_getpw_r()
133 int getpwnam_r(const char* name, passwd* pwd, in getpwnam_r()
134 char* buf, size_t byte_count, passwd** result) { in getpwnam_r()
138 int getpwuid_r(uid_t uid, passwd* pwd, in getpwuid_r()
139 char* buf, size_t byte_count, passwd** result) { in getpwuid_r()
143 static passwd* android_iinfo_to_passwd(passwd_state_t* state, in android_iinfo_to_passwd()
149 passwd* pw = &state->passwd_; in android_iinfo_to_passwd()
[all …]
/bionic/tests/
Dstubs_test.cpp36 static void check_passwd(const passwd* pwd, const char* username, uid_t uid, uid_type_t uid_type) { in check_passwd()
56 passwd* pwd = getpwuid(uid); in check_getpwuid()
64 passwd* pwd = getpwnam(username); in check_getpwnam()
71 passwd pwd_storage; in check_getpwuid_r()
76 passwd* pwd = NULL; in check_getpwuid_r()
85 passwd pwd_storage; in check_getpwnam_r()
90 passwd* pwd = NULL; in check_getpwnam_r()