Home
last modified time | relevance | path

Searched refs:group_state (Results 1 – 2 of 2) sorted by relevance

/bionic/libc/bionic/
Dgrp_pwd_file.cpp164 bool ToGroupState(group_state_t* group_state) { in ToGroupState()
174 group_state->group_.gr_gid = gid; in ToGroupState()
176 CopyFieldToString(group_state->group_name_buffer_, name(), in ToGroupState()
177 sizeof(group_state->group_name_buffer_)); in ToGroupState()
178 group_state->group_.gr_name = group_state->group_name_buffer_; in ToGroupState()
180 group_state->group_.gr_passwd = nullptr; in ToGroupState()
182 group_state->group_.gr_mem = group_state->group_members_; in ToGroupState()
183 group_state->group_.gr_mem[0] = group_state->group_.gr_name; in ToGroupState()
184 group_state->group_.gr_mem[1] = nullptr; in ToGroupState()
342 bool GroupFile::FindById(gid_t id, group_state_t* group_state) { in FindById() argument
[all …]
Dgrp_pwd_file.h91 bool FindById(gid_t id, group_state_t* group_state);
92 bool FindByName(const char* name, group_state_t* group_state);