Home
last modified time | relevance | path

Searched refs:pw_name (Results 1 – 6 of 6) sorted by relevance

/bionic/tests/
Dgrp_pwd_test.cpp65 EXPECT_STREQ(username, pwd->pw_name); in check_passwd()
149 EXPECT_EQ(nullptr, passwd) << "name = '" << passwd->pw_name << "'"; in expect_no_passwd_id()
155 EXPECT_EQ(nullptr, passwd) << "name = '" << passwd->pw_name << "'"; in expect_no_passwd_id()
163 EXPECT_EQ(nullptr, passwd) << "name = '" << passwd->pw_name << "'"; in expect_no_passwd_name()
169 EXPECT_EQ(nullptr, passwd) << "name = '" << passwd->pw_name << "'"; in expect_no_passwd_name()
457 EXPECT_STREQ(getpwuid(AID_UPROBESTATS)->pw_name, "uprobestats"); in expect_ids()
470 EXPECT_STREQ(getpwuid(AID_VIRTUALMACHINE)->pw_name, "virtualmachine"); in expect_ids()
485 ASSERT_TRUE(nullptr != pwd->pw_name); in TEST()
Dgrp_pwd_file_test.cpp45 EXPECT_STREQ(name, name_passwd.pw_name); in FindAndCheckPasswdEntry()
57 EXPECT_STREQ(name, id_passwd.pw_name); in FindAndCheckPasswdEntry()
/bionic/tests/headers/posix/
Dpwd_h.c35 STRUCT_MEMBER(struct passwd, char*, pw_name); in pwd_h()
/bionic/libc/include/
Dpwd.h69 char* _Nullable pw_name; member
/bionic/libc/bionic/
Dgrp_pwd_file.cpp134 passwd_state->passwd_.pw_name = passwd_state->name_buffer_; in ToPasswdState()
Dgrp_pwd.cpp98 state->passwd_.pw_name = state->name_buffer_; in init_passwd_state()
631 return pw ? pw->pw_name : nullptr; in getlogin()