Searched refs:query_nodes (Results 1 – 5 of 5) sorted by relevance
/external/chromium_org/components/query_parser/ |
D | query_parser.cc | 357 const QueryNodeStarVector& query_nodes, in DoesQueryMatch() argument 359 if (query_nodes.empty()) in DoesQueryMatch() 370 for (size_t i = 0; i < query_nodes.size(); ++i) { in DoesQueryMatch() 371 if (!query_nodes[i]->HasMatchIn(query_words, &matches)) in DoesQueryMatch() 388 const QueryNodeStarVector& query_nodes) { in DoesQueryMatch() argument 389 if (query_nodes.empty() || query_words.empty()) in DoesQueryMatch() 392 for (size_t i = 0; i < query_nodes.size(); ++i) { in DoesQueryMatch() 393 if (!query_nodes[i]->HasMatchIn(query_words)) in DoesQueryMatch()
|
D | query_parser_unittest.cc | 121 ScopedVector<QueryNode> query_nodes; in TEST_F() local 123 &query_nodes.get()); in TEST_F() 127 query_nodes.get(), in TEST_F()
|
/external/chromium_org/components/bookmarks/browser/ |
D | bookmark_index.cc | 157 ScopedVector<query_parser::QueryNode> query_nodes; in GetBookmarksMatching() local 158 parser.ParseQueryNodes(query, &query_nodes.get()); in GetBookmarksMatching() 168 AddMatchToResults(*i, &parser, query_nodes.get(), results); in GetBookmarksMatching() 203 const query_parser::QueryNodeStarVector& query_nodes, in AddMatchToResults() argument 219 for (size_t i = 0; i < query_nodes.size(); ++i) { in AddMatchToResults() 221 query_nodes[i]->HasMatchIn(title_words, &title_matches); in AddMatchToResults() 223 query_nodes[i]->HasMatchIn(url_words, &url_matches); in AddMatchToResults()
|
D | bookmark_index.h | 67 const query_parser::QueryNodeStarVector& query_nodes,
|
/external/chromium_org/components/history/core/browser/ |
D | url_database.cc | 359 ScopedVector<query_parser::QueryNode> query_nodes; in GetTextMatches() local 360 query_parser_.ParseQueryNodes(query, &query_nodes.get()); in GetTextMatches() 383 if (query_parser_.DoesQueryMatch(query_words, query_nodes.get())) { in GetTextMatches()
|