/external/chromium/chrome/browser/autocomplete/ |
builtin_provider.cc | 28 matches_.clear(); 35 (i != builtins_.end()) && (matches_.size() < kMaxMatches); ++i) { 49 matches_.push_back(match); 52 for (size_t i = 0; i < matches_.size(); ++i) 53 matches_[i].relevance = kRelevance + matches_.size() - (i + 1);
|
history_url_provider_unittest.cc | 135 ACMatches matches_; member in class:HistoryURLProviderTest 198 matches_ = autocomplete_->matches(); 199 ASSERT_EQ(num_results, matches_.size()) << "Input text: " << text 202 EXPECT_EQ(expected_urls[i], matches_[i].destination_url.spec()); 213 matches_ = autocomplete_->matches(); 214 ASSERT_GE(matches_.size(), 1U) << "Input text: " << text; 215 EXPECT_EQ(expected_offset, matches_[0].inline_autocomplete_offset); 248 EXPECT_EQ(ASCIIToUTF16("Google News"), matches_.front().description); 418 EXPECT_EQ(input_1.length(), matches_.front().inline_autocomplete_offset); 430 EXPECT_EQ(input_2.length(), matches_.front().inline_autocomplete_offset) [all...] |
search_provider.cc | 92 for (ACMatches::iterator i = matches_.begin(); i != matches_.end();) { 106 i = matches_.erase(i); 124 matches_.push_back(match_map.begin()->second); 126 std::sort(matches_.begin(), matches_.end(), &AutocompleteMatch::MoreRelevant); 135 matches_.clear(); 191 matches_.push_back(match); 566 // Now add the most relevant matches from the map to |matches_|. 567 matches_.clear() [all...] |
autocomplete.cc | 526 if (matches_.empty()) 535 for (ACMatches::iterator i = matches_.begin(); i != matches_.end(); ++i) 564 matches_.reserve(kMaxMatches); 578 matches_ = rhs.matches_; 627 std::copy(matches.begin(), matches.end(), std::back_inserter(matches_)); 640 matches_.insert(insertion_point, match); 646 std::sort(matches_.begin(), matches_.end() [all...] |
keyword_provider.cc | 134 matches_.clear(); 215 matches_.push_back(CreateAutocompleteMatch(model, keyword, input, 230 &matches_[0]); 237 matches_.push_back(extension_suggest_matches_[i]); 238 matches_.back().relevance = matches_[0].relevance - (i + 1); 261 matches_.push_back(CreateAutocompleteMatch(model, *i, 465 if (matches_.empty() || current_keyword_extension_id_.empty() || 473 &matches_[0]); 514 matches_.insert(matches_.end(), extension_suggest_matches_.begin() [all...] |
history_provider.cc | 43 for (ACMatches::iterator i(matches_.begin()); i != matches_.end(); ++i) { 53 matches_.erase(i);
|
history_contents_provider.cc | 68 matches_.clear(); 171 listener_->OnProviderUpdate(!matches_.empty()); 196 matches_.clear(); 198 matches_.push_back(ResultToMatch(*result_refs[i].result,
|
history_contents_provider.h | 40 // adds it to matches_.
|
extension_app_provider.cc | 34 matches_.clear(); 80 matches_.push_back(match);
|
history_quick_provider_unittest.cc | 164 matches_.insert(iter->destination_url.spec()); 168 EXPECT_EQ(1U, matches_.erase(expected)); 171 std::set<std::string> LeftOvers() const { return matches_; } 174 std::set<std::string> matches_; member in class:SetShouldContain
|
history_quick_provider.cc | 44 matches_.clear(); 113 matches_.push_back(ac_match);
|
autocomplete.h | 403 const ACMatches& matches() const { return matches_; } 415 // NOTE: Remember to call OnProviderUpdate() if matches_ is updated. 432 // Updates the starred state of each of the matches in matches_ from the 448 ACMatches matches_; member in class:AutocompleteProvider 561 // Populates |provider_to_matches| from |matches_|. 574 ACMatches matches_; member in class:AutocompleteResult [all...] |
history_url_provider.cc | 291 // Don't modify |matches_| if the query failed, since it might have a default 294 matches_.swap(params->matches); 571 matches_.clear(); 585 matches_.push_back(SuggestExactInput(input, trim_http)); 635 matches_.clear(); 636 matches_.swap(params->matches); [all...] |
search_provider.h | 207 // AutocompleteMatches and adds them to |matches_|. This also sets |done_| 212 // AutocompleteMatch and adds it to |matches_|.
|
autocomplete_unittest.cc | 66 matches_.clear(); 101 matches_.push_back(match);
|
history_url_provider.h | 111 // |matches_| at all, so it won't delete the default match 118 // to matches_ on the main thread in QueryComplete().
|
/external/chromium/chrome/browser/history/ |
snippet.h | 57 const MatchPositions& matches() const { return matches_; } 67 MatchPositions matches_; member in class:Snippet
|
snippet.cc | 257 matches_.push_back(std::make_pair(first, snippet.size())); 296 matches_.swap(other->matches_);
|
/packages/apps/Camera/jni/feature_stab/src/dbregtest/ |
dbregtest.cpp | 264 s << "Matches_" << file_name_root << ".txt";
|