Searched refs:username (Results 1 – 1 of 1) sorted by relevance
/bionic/tests/ |
D | grp_pwd_test.cpp | 61 static void check_passwd(const passwd* pwd, const char* username, uid_t uid, uid_type_t uid_type, in check_passwd() argument 65 EXPECT_STREQ(username, pwd->pw_name); in check_passwd() 87 static void check_getpwuid(const char* username, uid_t uid, uid_type_t uid_type, in check_getpwuid() argument 93 check_passwd(pwd, username, uid, uid_type, check_username); in check_getpwuid() 96 static void check_getpwnam(const char* username, uid_t uid, uid_type_t uid_type, in check_getpwnam() argument 99 passwd* pwd = getpwnam(username); in check_getpwnam() 102 check_passwd(pwd, username, uid, uid_type, check_username); in check_getpwnam() 105 static void check_getpwuid_r(const char* username, uid_t uid, uid_type_t uid_type, in check_getpwuid_r() argument 117 check_passwd(pwd, username, uid, uid_type, check_username); in check_getpwuid_r() 120 static void check_getpwnam_r(const char* username, uid_t uid, uid_type_t uid_type, in check_getpwnam_r() argument [all …]
|