Searched refs:number_of_hits (Results 1 – 13 of 13) sorted by relevance
/external/chromium_org/chrome/browser/predictors/ |
D | autocomplete_action_predictor_table_unittest.cc | 124 lhs.number_of_hits == rhs.number_of_hits && in RowsAreEqual() 151 row1.number_of_hits = row1.number_of_hits + 1; in TestAddAndUpdateRows() 164 row0.number_of_hits = row0.number_of_hits + 2; in TestAddAndUpdateRows() 166 row2.number_of_hits = row2.number_of_hits + 2; in TestAddAndUpdateRows()
|
D | autocomplete_action_predictor_table.cc | 30 statement->BindInt(3, row.number_of_hits); in BindRowToStatement() 43 row->number_of_hits = statement->ColumnInt(3); in StepAndInitializeRow() 53 : number_of_hits(0), in Row() 60 int number_of_hits, in Row() argument 65 number_of_hits(number_of_hits), in Row() 73 number_of_hits(row.number_of_hits), in Row()
|
D | autocomplete_action_predictor_unittest.cc | 37 int number_of_hits; member 154 row.number_of_hits = test_row.number_of_hits; in CreateRowFromTestUrlInfo() 235 const DBCacheValue value = { test_url_db[0].number_of_hits, in TEST_F() 237 EXPECT_EQ(value.number_of_hits, it->second.number_of_hits); in TEST_F() 263 update_row.number_of_hits = it->second.number_of_hits + 1; in TEST_F() 272 EXPECT_EQ(update_row.number_of_hits, update_it->second.number_of_hits); in TEST_F()
|
D | autocomplete_action_predictor.cc | 391 row.number_of_hits = is_hit ? 1 : 0; in OnOmniboxOpenedUrl() 398 row.number_of_hits = it->second.number_of_hits + (is_hit ? 1 : 0); in OnOmniboxOpenedUrl() 432 DBCacheValue value = { it->number_of_hits, it->number_of_misses }; in AddAndUpdateRows() 449 db_it->second.number_of_hits = it->number_of_hits; in AddAndUpdateRows() 473 const DBCacheValue value = { it->number_of_hits, it->number_of_misses }; in CreateCaches() 599 if (value.number_of_hits < kMinimumNumberOfHits) in CalculateConfidenceForDbEntry() 602 const double number_of_hits = static_cast<double>(value.number_of_hits); in CalculateConfidenceForDbEntry() local 603 return number_of_hits / (number_of_hits + value.number_of_misses); in CalculateConfidenceForDbEntry()
|
D | autocomplete_action_predictor_table.h | 50 int number_of_hits, 58 int number_of_hits; member
|
D | autocomplete_action_predictor.h | 146 int number_of_hits; member
|
/external/chromium_org/chrome/browser/history/ |
D | shortcuts_database.cc | 46 s->BindInt(12, shortcut.number_of_hits); in BindShortcutToStatement() 97 int number_of_hits) in Shortcut() argument 102 number_of_hits(number_of_hits) { in Shortcut() 109 number_of_hits(0) { in Shortcut()
|
D | shortcuts_database.h | 75 int number_of_hits); 84 int number_of_hits; // How many times shortcut was selected. member
|
D | shortcuts_database_unittest.cc | 41 int number_of_hits; member 132 info.number_of_hits); in ShortcutFromTestInfo()
|
/external/chromium_org/chrome/browser/ui/webui/predictors/ |
D | predictors_handler.cc | 43 entry->SetInteger("hit_count", it->second.number_of_hits); in RequestAutocompleteActionPredictorDb()
|
/external/chromium_org/chrome/browser/autocomplete/ |
D | shortcuts_provider_unittest.cc | 60 int number_of_hits; member 337 cur.number_of_hits); in FillData() 750 shortcut.number_of_hits = 2; in TEST_F() 759 shortcut.number_of_hits = 3; in TEST_F()
|
D | shortcuts_provider.cc | 212 match.RecordAdditionalInfo("number of hits", shortcut.number_of_hits); in ShortcutToACMatch() 418 (shortcut.number_of_hits + kNumUsesPerDecaySpeedDivisorIncrement - 1) / in CalculateScore()
|
D | shortcuts_backend.cc | 130 it->second.number_of_hits + 1)); in AddOrUpdateShortcut()
|