Lines Matching refs:candidate
1166 * Find the leftmost 'candidate' overlapping or to the right
1169 struct node *candidate = NULL;
1171 /* True iff lowest_possible is within candidate */
1182 candidate = nodep;
1183 if (candidate->idx <= lowest_possible) {
1192 if (!candidate)
1195 assert(candidate->mask != 0);
1197 /* Does the candidate node describe the setting of lowest_possible? */
1204 assert(candidate->idx > lowest_possible);
1206 return node_first_set(candidate, 0);
1217 start = lowest_possible - candidate->idx;
1219 if (start < MASK_BITS && candidate->mask >= (1 << start))
1220 return node_first_set(candidate, start);
1222 if (candidate->num_after) {
1223 sparsebit_idx_t first_num_after_idx = candidate->idx + MASK_BITS;
1230 * Although candidate node describes setting of bit at
1232 * latter that are described by candidate are cleared. With
1237 candidate = node_next(s, candidate);
1238 if (!candidate)
1241 return node_first_set(candidate, 0);