Home
last modified time | relevance | path

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

/bionic/libc/include/
Dpwd.h69 char* pw_name; member
/bionic/tests/headers/posix/
Dpwd_h.c35 STRUCT_MEMBER(struct passwd, char*, pw_name); in pwd_h()
/bionic/libc/bionic/
Dgrp_pwd.cpp102 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()
Dgrp_pwd_file.cpp133 passwd_state->passwd_.pw_name = passwd_state->name_buffer_; in ToPasswdState()
/bionic/tests/
Dgrp_pwd_file_test.cpp45 EXPECT_STREQ(name, name_passwd.pw_name); in FindAndCheckPasswdEntry()
57 EXPECT_STREQ(name, id_passwd.pw_name); in FindAndCheckPasswdEntry()
Dgrp_pwd_test.cpp61 EXPECT_STREQ(username, pwd->pw_name); in check_passwd()
282 ASSERT_TRUE(nullptr != pwd->pw_name); in TEST()