Home
last modified time | relevance | path

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

/bionic/libc/bionic/
Dgrp_pwd.cpp204 static bool is_valid_app_id(id_t id, bool is_group) { in is_valid_app_id() argument
213 auto ranges_size = is_group ? arraysize(group_ranges) : arraysize(user_ranges); in is_valid_app_id()
214 auto ranges = is_group ? group_ranges : user_ranges; in is_valid_app_id()
244 static id_t get_next_app_id(id_t current_id, bool is_group) { in get_next_app_id() argument
245 auto ranges_size = is_group ? arraysize(group_ranges) : arraysize(user_ranges); in get_next_app_id()
246 auto ranges = is_group ? group_ranges : user_ranges; in get_next_app_id()
283 static id_t app_id_from_name(const char* name, bool is_group) { in app_id_from_name() argument
288 if (is_group && name[0] == 'a' && name[1] == 'l' && name[2] == 'l') { in app_id_from_name()
316 if (is_group) { in app_id_from_name()
/bionic/tests/
Dgrp_pwd_test.cpp385 static void expect_ids(T ids, bool is_group) { in expect_ids() argument
404 if (is_group) { in expect_ids()