Home
last modified time | relevance | path

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

/bionic/libc/bionic/
Dgrp_pwd.cpp97 memset(state, 0, sizeof(passwd_state_t) - sizeof(state->getpwent_idx)); in init_passwd_state()
646 state->getpwent_idx = 0; in setpwent()
656 if (state->getpwent_idx < 0) { in getpwent()
662 if (state->getpwent_idx < end) { in getpwent()
663 return android_iinfo_to_passwd(state, android_ids + state->getpwent_idx++); in getpwent()
669 if (state->getpwent_idx < end) { in getpwent()
671 state->getpwent_idx++ - start + AID_OEM_RESERVED_START, state); in getpwent()
677 if (state->getpwent_idx < end) { in getpwent()
679 state->getpwent_idx++ - start + AID_OEM_RESERVED_2_START, state); in getpwent()
685 if (state->getpwent_idx < end) { in getpwent()
[all …]
/bionic/libc/private/
Dgrp_pwd.h49 ssize_t getpwent_idx; member