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
116 struct passwd* getpwnam(const char*); argument
117 struct passwd* getpwuid(uid_t);
119 int getpwnam_r(const char*, struct passwd*, char*, size_t, struct passwd**);
120 int getpwuid_r(uid_t, struct passwd*, char*, size_t, struct passwd**);
/bionic/libc/bionic/
Dstubs.cpp60 passwd passwd_;
79 passwd* dst, char* buf, size_t byte_count, in do_getpw_r()
80 passwd** result) { in do_getpw_r()
89 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/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()