Home | History | Annotate | Download | only in omnibox

Lines Matching refs:results

168     SearchSuggestionParser::Results* results) {
170 // pressed a key. Revise the cached results appropriately.
173 results->suggest_results.begin();
174 sug_it != results->suggest_results.end(); ++sug_it) {
178 results->navigation_results.begin();
179 nav_it != results->navigation_results.end(); ++nav_it) {
204 // Can't return search/suggest results for bogus input.
268 // Answers needs scored history results before any suggest query has been
269 // started, since the query for answer-bearing results needs additional
280 // Raw results are not needed any more.
345 SearchSuggestionParser::Results* results =
347 results_updated = ParseSuggestResults(*data, -1, is_keyword, results);
349 SortResults(is_keyword, results);
376 SearchSuggestionParser::Results* results) {
378 results->suggest_results.begin();
379 sug_it != results->suggest_results.end(); ++sug_it) {
384 results->navigation_results.begin();
385 nav_it != results->navigation_results.end(); ++nav_it) {
391 SearchSuggestionParser::Results* results) {
394 // ability to get good keyword results.
399 if (!results->relevances_from_server || abandon_suggested_scores) {
400 ApplyCalculatedSuggestRelevance(&results->suggest_results);
401 ApplyCalculatedNavigationRelevance(&results->navigation_results);
404 results->verbatim_relevance = -1;
409 std::stable_sort(results->suggest_results.begin(),
410 results->suggest_results.end(),
412 std::stable_sort(results->navigation_results.begin(),
413 results->navigation_results.end(),
536 // The history query results are synchronous, so if minimal_changes is true,
537 // we still have the last results and don't need to do anything.
590 // have its results, or are allowed to keep running it, just do that, rather
605 // Update the content classifications of remaining results so they look good
611 // We can't start a new query if we're only allowed synchronous results.
662 // private, and the Suggest server is unlikely to have any useful results
666 // server is once again unlikely to have and useful results.
698 SearchSuggestionParser::Results* results) {
699 // Mark any results matching the current top results as having been received
701 // clobbering top results, which may be used for inline autocompletion.
702 // Other results don't need similar changes, because they shouldn't be
706 results->suggest_results.begin();
707 sug_it != results->suggest_results.end(); ++sug_it) {
714 results->navigation_results.begin();
715 nav_it != results->navigation_results.end(); ++nav_it) {
800 // Convert all the results to matches and add them to a map, so we can keep
821 // Verbatim results don't get suggestions and hence, answers.
978 // highest-scoring result. (The results are already sorted by relevance.)
994 // Until Answers becomes default, scoring of history results will still happen
997 // For users with Answers enabled, the history results have already been
1029 SearchProvider::ScoreHistoryResultsHelper(const HistoryResults& results,
1042 for (HistoryResults::const_iterator i(results.begin()); i != results.end();
1070 // History results are synchronous; they are received on the last keystroke.
1075 // History returns results sorted for us. However, we may have docked some
1076 // results' scores, so things are no longer in order. While keeping the
1078 // things back in order without otherwise disturbing results with equal
1140 const HistoryResults& results,
1144 if (results.empty()) {
1165 results, prevent_inline_autocomplete, false, input_text, is_keyword);
1171 *scored_results = ScoreHistoryResultsHelper(results,
1180 const SearchSuggestionParser::SuggestResults& results,
1183 for (size_t i = 0; i < results.size(); ++i) {
1184 AddMatchToMap(results[i], metadata, i, false,
1196 // Check for results on each verbatim calculation, as results from older
1241 // Check for results on each verbatim calculation, as results from older
1331 // Otherwise, user edits to a suggestion would show non-Search results.
1421 // Retrieve the top entry from scored history results.