Home
last modified time | relevance | path

Searched refs:CalculateScore (Results 1 – 3 of 3) sorted by relevance

/external/chromium_org/chrome/browser/autocomplete/
Dshortcuts_provider_unittest.cc283 int CalculateScore(const std::string& terms,
393 int ShortcutsProviderTest::CalculateScore( in CalculateScore() function in ShortcutsProviderTest
397 return provider_->CalculateScore(ASCIIToUTF16(terms), shortcut, in CalculateScore()
714 TEST_F(ShortcutsProviderTest, CalculateScore) { in TEST_F() argument
727 const int kMaxScore = CalculateScore("test", shortcut, max_relevance); in TEST_F()
730 int score_three_quarters = CalculateScore("tes", shortcut, max_relevance); in TEST_F()
732 int score_one_half = CalculateScore("te", shortcut, max_relevance); in TEST_F()
734 int score_one_quarter = CalculateScore("t", shortcut, max_relevance); in TEST_F()
739 int score_week_old = CalculateScore("test", shortcut, max_relevance); in TEST_F()
744 int score_two_weeks_old = CalculateScore("test", shortcut, max_relevance); in TEST_F()
[all …]
Dshortcuts_provider.h39 FRIEND_TEST_ALL_PREFIXES(ShortcutsProviderTest, CalculateScore);
100 int CalculateScore(const base::string16& terms,
Dshortcuts_provider.cc153 int relevance = CalculateScore(term_string, it->second, max_relevance); in GetMatches()
377 int ShortcutsProvider::CalculateScore( in CalculateScore() function in ShortcutsProvider