Home
last modified time | relevance | path

Searched defs:pwd (Results 1 – 4 of 4) sorted by relevance

/bionic/tests/
Dgrp_pwd_test.cpp59 static void check_passwd(const passwd* pwd, const char* username, uid_t uid, uid_type_t uid_type, in check_passwd()
88 passwd* pwd = getpwuid(uid); in check_getpwuid() local
97 passwd* pwd = getpwnam(username); in check_getpwnam() local
110 passwd* pwd = nullptr; in check_getpwuid_r() local
125 passwd* pwd = nullptr; in check_getpwnam_r() local
191 TEST(pwd, getpwnam_platform_ids) { in TEST() argument
204 TEST(pwd, getpwnam_oem_ids) { in TEST() argument
213 TEST(pwd, getpwnam_non_exist) { in TEST() argument
231 TEST(pwd, getpwnam_u0_app_ids) { in TEST() argument
241 TEST(pwd, getpwnam_app_id_u1_ids) { in TEST() argument
[all …]
Dftw_test.cpp142 passwd* pwd = getpwnam("shell"); in TEST() local
/bionic/libc/bionic/
Dgrp_pwd.cpp562 static int getpasswd_r(bool by_name, const char* name, uid_t uid, struct passwd* pwd, char* buf, in getpasswd_r()
582 int getpwnam_r(const char* name, passwd* pwd, char* buf, size_t byte_count, passwd** result) { in getpwnam_r()
586 int getpwuid_r(uid_t uid, passwd* pwd, char* buf, size_t byte_count, passwd** result) { in getpwuid_r()
/bionic/libc/upstream-freebsd/lib/libc/gen/
Dglob.c422 struct passwd *pwd; in globtilde() local