Searched refs:find_closest_string (Results 1 – 10 of 10) sorted by relevance
/netbsd-src/external/gpl3/gcc/dist/gcc/ |
H A D | spellcheck.cc | 162 find_closest_string (const char *target, in find_closest_string() function 324 ASSERT_EQ_AT (loc, candidate, find_closest_string (target, &candidates)); in assert_suggested_for() 342 ASSERT_EQ_AT (loc, NULL, find_closest_string (target, &candidates)); in assert_not_suggested_for() 412 ASSERT_EQ (NULL, find_closest_string ("", &candidates)); in test_find_closest_string() 419 ASSERT_STREQ ("apple", find_closest_string ("app", &candidates)); in test_find_closest_string() 420 ASSERT_STREQ ("banana", find_closest_string ("banyan", &candidates)); in test_find_closest_string() 421 ASSERT_STREQ ("cherry", find_closest_string ("berry", &candidates)); in test_find_closest_string() 422 ASSERT_EQ (NULL, find_closest_string ("not like the others", &candidates)); in test_find_closest_string() 430 ASSERT_STREQ ("apple", find_closest_string ("app", &candidates)); in test_find_closest_string() 431 ASSERT_STREQ ("banana", find_closest_string ("banyan", &candidates)); in test_find_closest_string() [all …]
|
H A D | spellcheck.h | 35 find_closest_string (const char *target,
|
H A D | opt-suggestions.cc | 45 return find_closest_string in suggest_option()
|
H A D | opts-common.cc | 1364 return find_closest_string (arg, &candidates); in candidates_list_and_hint()
|
H A D | dumpfile.cc | 1924 const char *hint = find_closest_string (arg, &candidates); in dump_switch_p()
|
H A D | ChangeLog-2016 | 20589 (find_closest_string): Reimplement in terms of 32191 driver::build_option_suggestions and find_closest_string. 32207 * spellcheck.c (find_closest_string): New function. 32208 * spellcheck.h (find_closest_string): New function decl.
|
/netbsd-src/external/gpl3/gcc.old/dist/gcc/ |
H A D | spellcheck.c | 147 find_closest_string (const char *target, in find_closest_string() function 306 ASSERT_EQ_AT (loc, candidate, find_closest_string (target, &candidates)); in assert_suggested_for() 324 ASSERT_EQ_AT (loc, NULL, find_closest_string (target, &candidates)); in assert_not_suggested_for() 394 ASSERT_EQ (NULL, find_closest_string ("", &candidates)); in test_find_closest_string() 401 ASSERT_STREQ ("apple", find_closest_string ("app", &candidates)); in test_find_closest_string() 402 ASSERT_STREQ ("banana", find_closest_string ("banyan", &candidates)); in test_find_closest_string() 403 ASSERT_STREQ ("cherry", find_closest_string ("berry", &candidates)); in test_find_closest_string() 404 ASSERT_EQ (NULL, find_closest_string ("not like the others", &candidates)); in test_find_closest_string() 412 ASSERT_STREQ ("apple", find_closest_string ("app", &candidates)); in test_find_closest_string() 413 ASSERT_STREQ ("banana", find_closest_string ("banyan", &candidates)); in test_find_closest_string() [all …]
|
H A D | spellcheck.h | 35 find_closest_string (const char *target,
|
H A D | opt-suggestions.c | 45 return find_closest_string in suggest_option()
|
H A D | opts-common.c | 1260 return find_closest_string (arg, &candidates); in candidates_list_and_hint()
|