Lines Matching refs:candidate
1170 struct node *candidate = NULL; in sparsebit_next_set() local
1183 candidate = nodep; in sparsebit_next_set()
1184 if (candidate->idx <= lowest_possible) { in sparsebit_next_set()
1193 if (!candidate) in sparsebit_next_set()
1196 assert(candidate->mask != 0); in sparsebit_next_set()
1205 assert(candidate->idx > lowest_possible); in sparsebit_next_set()
1207 return node_first_set(candidate, 0); in sparsebit_next_set()
1218 start = lowest_possible - candidate->idx; in sparsebit_next_set()
1220 if (start < MASK_BITS && candidate->mask >= (1 << start)) in sparsebit_next_set()
1221 return node_first_set(candidate, start); in sparsebit_next_set()
1223 if (candidate->num_after) { in sparsebit_next_set()
1224 sparsebit_idx_t first_num_after_idx = candidate->idx + MASK_BITS; in sparsebit_next_set()
1238 candidate = node_next(s, candidate); in sparsebit_next_set()
1239 if (!candidate) in sparsebit_next_set()
1242 return node_first_set(candidate, 0); in sparsebit_next_set()