Lines Matching refs:res_count
414 int res_count = 0; /* Current result count */ in get_passwd_list() local
456 if ((res_count + 1) >= array_size) { in get_passwd_list()
462 res_old[res_count] = NULL; in get_passwd_list()
469 res[res_count] = am(myself, end_ptr - it->name + 1); in get_passwd_list()
470 if (NULL == res[res_count]) { in get_passwd_list()
476 (void) memcpy(res[res_count], it->name, in get_passwd_list()
478 res_count ++; in get_passwd_list()
483 res[res_count] = NULL; in get_passwd_list()
979 int res_count = 0; /* Current result count */ in get_mapping_map_list() local
1012 if ((res_count + 1) >= array_size) { in get_mapping_map_list()
1018 res_old[res_count] = NULL; in get_mapping_map_list()
1029 res[res_count] = (char *)it; in get_mapping_map_list()
1030 res_count ++; in get_mapping_map_list()
1035 res[res_count] = NULL; in get_mapping_map_list()
1038 for (i = res_count - 2; 0 <= i; i--) { in get_mapping_map_list()