Searched refs:query_words (Results 1 – 4 of 4) sorted by relevance
/external/chromium_org/components/query_parser/ |
D | snippet_unittest.cc | 101 std::vector<std::string> query_words; in BuildSnippet() local 102 base::SplitString(query, ' ', &query_words); in BuildSnippet() 107 for (std::vector<std::string>::iterator qw = query_words.begin(); in BuildSnippet() 108 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 | 288 std::vector<base::string16> query_words; in GetBookmarksMatchingProperties() local 292 &query_words); in GetBookmarksMatchingProperties() 293 if (query_words.empty()) in GetBookmarksMatchingProperties() 300 if ((!query_words.empty() && in GetBookmarksMatchingProperties() 301 !DoesBookmarkContainWords(node, query_words, languages)) || in GetBookmarksMatchingProperties()
|
/external/chromium_org/chrome/browser/history/ |
D | url_database.cc | 368 query_parser::QueryWordVector query_words; in GetTextMatches() local 370 query_parser_.ExtractQueryWords(url, &query_words); in GetTextMatches() 379 query_parser_.ExtractQueryWords(utf, &query_words); in GetTextMatches() 382 query_parser_.ExtractQueryWords(title, &query_words); in GetTextMatches() 384 if (query_parser_.DoesQueryMatch(query_words, query_nodes.get())) { in GetTextMatches()
|