Lines Matching refs:candidate
1169 struct node *candidate = NULL; in sparsebit_next_set() local
1182 candidate = nodep; in sparsebit_next_set()
1183 if (candidate->idx <= lowest_possible) { in sparsebit_next_set()
1192 if (!candidate) in sparsebit_next_set()
1195 assert(candidate->mask != 0); in sparsebit_next_set()
1204 assert(candidate->idx > lowest_possible); in sparsebit_next_set()
1206 return node_first_set(candidate, 0); in sparsebit_next_set()
1217 start = lowest_possible - candidate->idx; in sparsebit_next_set()
1219 if (start < MASK_BITS && candidate->mask >= (1 << start)) in sparsebit_next_set()
1220 return node_first_set(candidate, start); in sparsebit_next_set()
1222 if (candidate->num_after) { in sparsebit_next_set()
1223 sparsebit_idx_t first_num_after_idx = candidate->idx + MASK_BITS; in sparsebit_next_set()
1237 candidate = node_next(s, candidate); in sparsebit_next_set()
1238 if (!candidate) in sparsebit_next_set()
1241 return node_first_set(candidate, 0); in sparsebit_next_set()