Searched refs:query_words (Results 1 – 4 of 4) sorted by relevance
/external/chromium_org/components/query_parser/ |
D | snippet_unittest.cc | 102 std::vector<std::string> query_words; in BuildSnippet() local 103 base::SplitString(query, ' ', &query_words); in BuildSnippet() 108 for (std::vector<std::string>::iterator qw = query_words.begin(); in BuildSnippet() 109 qw != query_words.end(); ++qw) { in BuildSnippet()
|
D | query_parser.cc | 362 QueryWordVector query_words; in DoesQueryMatch() local 364 ExtractQueryWords(lower_text, &query_words); in DoesQueryMatch() 366 if (query_words.empty()) in DoesQueryMatch() 371 if (!query_nodes[i]->HasMatchIn(query_words, &matches)) in DoesQueryMatch() 387 bool QueryParser::DoesQueryMatch(const QueryWordVector& query_words, in DoesQueryMatch() argument 389 if (query_nodes.empty() || query_words.empty()) in DoesQueryMatch() 393 if (!query_nodes[i]->HasMatchIn(query_words)) in DoesQueryMatch()
|
/external/chromium_org/components/bookmarks/browser/ |
D | bookmark_utils.cc | 307 std::vector<base::string16> query_words; in GetBookmarksMatchingProperties() local 311 &query_words); in GetBookmarksMatchingProperties() 312 if (query_words.empty()) in GetBookmarksMatchingProperties() 319 if ((!query_words.empty() && in GetBookmarksMatchingProperties() 320 !DoesBookmarkContainWords(node, query_words, languages)) || in GetBookmarksMatchingProperties()
|
/external/chromium_org/components/history/core/browser/ |
D | url_database.cc | 367 query_parser::QueryWordVector query_words; in GetTextMatches() local 369 query_parser_.ExtractQueryWords(url, &query_words); in GetTextMatches() 378 query_parser_.ExtractQueryWords(utf, &query_words); in GetTextMatches() 381 query_parser_.ExtractQueryWords(title, &query_words); in GetTextMatches() 383 if (query_parser_.DoesQueryMatch(query_words, query_nodes.get())) { in GetTextMatches()
|