Searched refs:query_words (Results 1 – 5 of 5) sorted by relevance
/external/chromium_org/chrome/browser/history/ |
D | snippet_unittest.cc | 100 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()
|
D | query_parser.cc | 375 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()
|
D | url_database.cc | 344 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/ |
D | snippet_unittest.cc | 100 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()
|
D | query_parser.cc | 298 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()
|