Searched refs:username (Results 1 – 1 of 1) sorted by relevance
/bionic/tests/ |
D | grp_pwd_test.cpp | 59 static void check_passwd(const passwd* pwd, const char* username, uid_t uid, uid_type_t uid_type, in check_passwd() argument 63 EXPECT_STREQ(username, pwd->pw_name); in check_passwd() 85 static void check_getpwuid(const char* username, uid_t uid, uid_type_t uid_type, in check_getpwuid() argument 91 check_passwd(pwd, username, uid, uid_type, check_username); in check_getpwuid() 94 static void check_getpwnam(const char* username, uid_t uid, uid_type_t uid_type, in check_getpwnam() argument 97 passwd* pwd = getpwnam(username); in check_getpwnam() 100 check_passwd(pwd, username, uid, uid_type, check_username); in check_getpwnam() 103 static void check_getpwuid_r(const char* username, uid_t uid, uid_type_t uid_type, in check_getpwuid_r() argument 115 check_passwd(pwd, username, uid, uid_type, check_username); in check_getpwuid_r() 118 static void check_getpwnam_r(const char* username, uid_t uid, uid_type_t uid_type, in check_getpwnam_r() argument [all …]
|