Lines Matching refs:candidate
1167 * Find the leftmost 'candidate' overlapping or to the right
1170 struct node *candidate = NULL;
1172 /* True iff lowest_possible is within candidate */
1183 candidate = nodep;
1184 if (candidate->idx <= lowest_possible) {
1193 if (!candidate)
1196 assert(candidate->mask != 0);
1198 /* Does the candidate node describe the setting of lowest_possible? */
1205 assert(candidate->idx > lowest_possible);
1207 return node_first_set(candidate, 0);
1218 start = lowest_possible - candidate->idx;
1220 if (start < MASK_BITS && candidate->mask >= (1 << start))
1221 return node_first_set(candidate, start);
1223 if (candidate->num_after) {
1224 sparsebit_idx_t first_num_after_idx = candidate->idx + MASK_BITS;
1231 * Although candidate node describes setting of bit at
1233 * latter that are described by candidate are cleared. With
1238 candidate = node_next(s, candidate);
1239 if (!candidate)
1242 return node_first_set(candidate, 0);