Home
last modified time | relevance | path

Searched refs:query_nodes (Results 1 – 9 of 9) sorted by relevance

/external/chromium_org/chrome/browser/history/
Dquery_parser.cc370 const std::vector<QueryNode*>& query_nodes, in DoesQueryMatch() argument
372 if (query_nodes.empty()) in DoesQueryMatch()
383 for (size_t i = 0; i < query_nodes.size(); ++i) { in DoesQueryMatch()
384 if (!query_nodes[i]->HasMatchIn(query_words, &matches)) in DoesQueryMatch()
401 const std::vector<QueryNode*>& query_nodes) { in DoesQueryMatch() argument
402 if (query_nodes.empty() || query_words.empty()) in DoesQueryMatch()
405 for (size_t i = 0; i < query_nodes.size(); ++i) { in DoesQueryMatch()
406 if (!query_nodes[i]->HasMatchIn(query_words)) in DoesQueryMatch()
Dquery_parser_unittest.cc119 ScopedVector<QueryNode> query_nodes; in TEST_F() local
120 parser.ParseQueryNodes(UTF8ToUTF16(data[i].query), &query_nodes.get()); in TEST_F()
124 query_nodes.get(), in TEST_F()
Durl_database.cc336 ScopedVector<QueryNode> query_nodes; in GetTextMatches() local
337 query_parser_.ParseQueryNodes(query, &query_nodes.get()); in GetTextMatches()
360 if (query_parser_.DoesQueryMatch(query_words, query_nodes.get())) { in GetTextMatches()
/external/chromium/chrome/browser/bookmarks/
Dbookmark_index.cc97 ScopedVector<QueryNode> query_nodes; in GetBookmarksWithTitlesMatching() local
98 parser.ParseQuery(query, &query_nodes.get()); in GetBookmarksWithTitlesMatching()
107 AddMatchToResults(i->first, &parser, query_nodes.get(), results); in GetBookmarksWithTitlesMatching()
143 const std::vector<QueryNode*>& query_nodes, in AddMatchToResults() argument
151 if (parser->DoesQueryMatch(node->GetTitle(), query_nodes, in AddMatchToResults()
Dbookmark_index.h89 const std::vector<QueryNode*>& query_nodes,
/external/chromium_org/chrome/browser/bookmarks/
Dbookmark_index.cc99 ScopedVector<QueryNode> query_nodes; in GetBookmarksWithTitlesMatching() local
100 parser.ParseQueryNodes(query, &query_nodes.get()); in GetBookmarksWithTitlesMatching()
109 AddMatchToResults(i->first, &parser, query_nodes.get(), results); in GetBookmarksWithTitlesMatching()
151 const std::vector<QueryNode*>& query_nodes, in AddMatchToResults() argument
159 if (parser->DoesQueryMatch(node->GetTitle(), query_nodes, in AddMatchToResults()
Dbookmark_index.h87 const std::vector<QueryNode*>& query_nodes,
/external/chromium/chrome/browser/history/
Dquery_parser_unittest.cc117 ScopedVector<QueryNode> query_nodes; in TEST_F() local
118 parser.ParseQuery(UTF8ToUTF16(data[i].query), &query_nodes.get()); in TEST_F()
122 query_nodes.get(), in TEST_F()
Dquery_parser.cc293 const std::vector<QueryNode*>& query_nodes, in DoesQueryMatch() argument
295 if (query_nodes.empty()) in DoesQueryMatch()
306 for (size_t i = 0; i < query_nodes.size(); ++i) { in DoesQueryMatch()
307 if (!query_nodes[i]->HasMatchIn(query_words, &matches)) in DoesQueryMatch()