Lines Matching refs:find_closest_string
162 find_closest_string (const char *target,
324 ASSERT_EQ_AT (loc, candidate, find_closest_string (target, &candidates));
342 ASSERT_EQ_AT (loc, NULL, find_closest_string (target, &candidates));
404 /* Verify that find_closest_string is sane. */
412 ASSERT_EQ (NULL, find_closest_string ("", &candidates));
419 ASSERT_STREQ ("apple", find_closest_string ("app", &candidates));
420 ASSERT_STREQ ("banana", find_closest_string ("banyan", &candidates));
421 ASSERT_STREQ ("cherry", find_closest_string ("berry", &candidates));
422 ASSERT_EQ (NULL, find_closest_string ("not like the others", &candidates));
430 ASSERT_STREQ ("apple", find_closest_string ("app", &candidates));
431 ASSERT_STREQ ("banana", find_closest_string ("banyan", &candidates));
432 ASSERT_STREQ ("cherry", find_closest_string ("berry", &candidates));
433 ASSERT_EQ (NULL, find_closest_string ("not like the others", &candidates));
438 ASSERT_EQ (NULL, find_closest_string ("banana", &candidates));
448 ASSERT_STREQ ("coordz1", find_closest_string ("coorzd1", &candidates));
455 find_closest_string ("DWARF_GNAT_ENCODINGS_all",
465 find_closest_string ("DWARF_GNAT_ENCODINGS_all",