Searched refs:pw_name (Results 1 – 6 of 6) sorted by relevance
/bionic/libc/include/ |
D | pwd.h | 69 char* pw_name; member
|
/bionic/tests/headers/posix/ |
D | pwd_h.c | 35 STRUCT_MEMBER(struct passwd, char*, pw_name); in pwd_h()
|
/bionic/libc/bionic/ |
D | grp_pwd.cpp | 102 dst->pw_name = buf; in do_getpw_r() 103 required_byte_count += strlen(src->pw_name) + 1; in do_getpw_r() 113 snprintf(buf, byte_count, "%s%c%s%c%s", src->pw_name, 0, src->pw_dir, 0, src->pw_shell); in do_getpw_r() 147 pw->pw_name = state->name_buffer_; in android_iinfo_to_passwd() 441 pw->pw_name = state->name_buffer_; in oem_id_to_passwd() 492 pw->pw_name = state->name_buffer_; in app_id_to_passwd() 572 return pw ? pw->pw_name : nullptr; in getlogin()
|
D | grp_pwd_file.cpp | 133 passwd_state->passwd_.pw_name = passwd_state->name_buffer_; in ToPasswdState()
|
/bionic/tests/ |
D | grp_pwd_file_test.cpp | 45 EXPECT_STREQ(name, name_passwd.pw_name); in FindAndCheckPasswdEntry() 57 EXPECT_STREQ(name, id_passwd.pw_name); in FindAndCheckPasswdEntry()
|
D | grp_pwd_test.cpp | 61 EXPECT_STREQ(username, pwd->pw_name); in check_passwd() 282 ASSERT_TRUE(nullptr != pwd->pw_name); in TEST()
|