Home
last modified time | relevance | path

Searched refs:number_of_hits (Results 1 – 13 of 13) sorted by relevance

/external/chromium_org/chrome/browser/predictors/
Dautocomplete_action_predictor_table_unittest.cc124 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()
Dautocomplete_action_predictor_table.cc30 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()
Dautocomplete_action_predictor_unittest.cc37 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()
Dautocomplete_action_predictor.cc391 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()
Dautocomplete_action_predictor_table.h50 int number_of_hits,
58 int number_of_hits; member
Dautocomplete_action_predictor.h146 int number_of_hits; member
/external/chromium_org/chrome/browser/history/
Dshortcuts_database.cc46 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()
Dshortcuts_database.h75 int number_of_hits);
84 int number_of_hits; // How many times shortcut was selected. member
Dshortcuts_database_unittest.cc41 int number_of_hits; member
132 info.number_of_hits); in ShortcutFromTestInfo()
/external/chromium_org/chrome/browser/ui/webui/predictors/
Dpredictors_handler.cc43 entry->SetInteger("hit_count", it->second.number_of_hits); in RequestAutocompleteActionPredictorDb()
/external/chromium_org/chrome/browser/autocomplete/
Dshortcuts_provider_unittest.cc60 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()
Dshortcuts_provider.cc212 match.RecordAdditionalInfo("number of hits", shortcut.number_of_hits); in ShortcutToACMatch()
418 (shortcut.number_of_hits + kNumUsesPerDecaySpeedDivisorIncrement - 1) / in CalculateScore()
Dshortcuts_backend.cc130 it->second.number_of_hits + 1)); in AddOrUpdateShortcut()