Home | History | Annotate | Download | only in gcc

Lines Matching defs:candidate

169   const char *candidate;
171 FOR_EACH_VEC_ELT (*candidates, i, candidate)
173 gcc_assert (candidate);
174 bm.consider (candidate);
181 to be meaningful, given a goal of length GOAL_LEN and a candidate of
184 This is a third of the length of the candidate or of the goal,
316 /* Assert that CANDIDATE is offered as a suggestion for TARGET. */
319 assert_suggested_for (const location &loc, const char *candidate,
323 candidates.safe_push (candidate);
324 ASSERT_EQ_AT (loc, candidate, find_closest_string (target, &candidates));
327 /* Assert that CANDIDATE is offered as a suggestion for TARGET. */
329 #define ASSERT_SUGGESTED_FOR(CANDIDATE, TARGET) \
331 assert_suggested_for (SELFTEST_LOCATION, CANDIDATE, TARGET); \
334 /* Assert that CANDIDATE is not offered as a suggestion for TARGET. */
337 assert_not_suggested_for (const location &loc, const char *candidate,
341 candidates.safe_push (candidate);
345 /* Assert that CANDIDATE is not offered as a suggestion for TARGET. */
347 #define ASSERT_NOT_SUGGESTED_FOR(CANDIDATE, TARGET) \
349 assert_not_suggested_for (SELFTEST_LOCATION, CANDIDATE, TARGET); \
435 /* If the goal string somehow makes it into the candidate list, offering