Home
last modified time | relevance | path

Searched refs:query_words (Results 1 – 5 of 5) sorted by relevance

/external/chromium_org/chrome/browser/history/
Dsnippet_unittest.cc100 std::vector<std::string> query_words; in BuildSnippet() local
101 base::SplitString(query, ' ', &query_words); in BuildSnippet()
106 for (std::vector<std::string>::iterator qw = query_words.begin(); in BuildSnippet()
107 qw != query_words.end(); ++qw) { in BuildSnippet()
Dquery_parser.cc375 std::vector<QueryWord> query_words; in DoesQueryMatch() local
377 ExtractQueryWords(lower_text, &query_words); in DoesQueryMatch()
379 if (query_words.empty()) in DoesQueryMatch()
384 if (!query_nodes[i]->HasMatchIn(query_words, &matches)) in DoesQueryMatch()
400 bool QueryParser::DoesQueryMatch(const std::vector<QueryWord>& query_words, in DoesQueryMatch() argument
402 if (query_nodes.empty() || query_words.empty()) in DoesQueryMatch()
406 if (!query_nodes[i]->HasMatchIn(query_words)) in DoesQueryMatch()
Durl_database.cc344 std::vector<QueryWord> query_words; in GetTextMatches() local
346 query_parser_.ExtractQueryWords(url, &query_words); in GetTextMatches()
355 query_parser_.ExtractQueryWords(utf, &query_words); in GetTextMatches()
358 query_parser_.ExtractQueryWords(title, &query_words); in GetTextMatches()
360 if (query_parser_.DoesQueryMatch(query_words, query_nodes.get())) { in GetTextMatches()
/external/chromium/chrome/browser/history/
Dsnippet_unittest.cc100 std::vector<std::string> query_words; in BuildSnippet() local
101 base::SplitString(query, ' ', &query_words); in BuildSnippet()
106 for (std::vector<std::string>::iterator qw = query_words.begin(); in BuildSnippet()
107 qw != query_words.end(); ++qw) { in BuildSnippet()
Dquery_parser.cc298 std::vector<QueryWord> query_words; in DoesQueryMatch() local
300 ExtractQueryWords(lower_text, &query_words); in DoesQueryMatch()
302 if (query_words.empty()) in DoesQueryMatch()
307 if (!query_nodes[i]->HasMatchIn(query_words, &matches)) in DoesQueryMatch()