Home
last modified time | relevance | path

Searched refs:find_closest_string (Results 1 – 4 of 4) sorted by relevance

/dflybsd-src/contrib/gcc-8.0/gcc/
H A Dspellcheck.c134 find_closest_string (const char *target, in find_closest_string() function
191 ASSERT_EQ (NULL, find_closest_string ("", &candidates)); in test_find_closest_string()
198 ASSERT_STREQ ("apple", find_closest_string ("app", &candidates)); in test_find_closest_string()
199 ASSERT_STREQ ("banana", find_closest_string ("banyan", &candidates)); in test_find_closest_string()
200 ASSERT_STREQ ("cherry", find_closest_string ("berry", &candidates)); in test_find_closest_string()
201 ASSERT_EQ (NULL, find_closest_string ("not like the others", &candidates)); in test_find_closest_string()
209 ASSERT_STREQ ("apple", find_closest_string ("app", &candidates)); in test_find_closest_string()
210 ASSERT_STREQ ("banana", find_closest_string ("banyan", &candidates)); in test_find_closest_string()
211 ASSERT_STREQ ("cherry", find_closest_string ("berry", &candidates)); in test_find_closest_string()
212 ASSERT_EQ (NULL, find_closest_string ("not like the others", &candidates)); in test_find_closest_string()
[all …]
H A Dspellcheck.h35 find_closest_string (const char *target,
H A Dopts-common.c1133 return find_closest_string (arg, &candidates); in candidates_list_and_hint()
H A Dgcc.c7889 return find_closest_string in suggest_option()