Home
last modified time | relevance | path

Searched refs:QueryConstraints (Results 1 – 25 of 37) sorted by relevance

12

/external/perfetto/src/trace_processor/sqlite/
Dquery_constraints_unittest.cc38 QueryConstraints qc; in TEST_F()
41 QueryConstraints::SqliteString only_constraint = qc.ToNewSqlite3String(); in TEST_F()
44 QueryConstraints qc_constraint = in TEST_F()
45 QueryConstraints::FromString(only_constraint.get()); in TEST_F()
51 QueryConstraints::SqliteString result = qc.ToNewSqlite3String(); in TEST_F()
54 QueryConstraints qc_result = QueryConstraints::FromString(result.get()); in TEST_F()
59 QueryConstraints qc; in TEST_F()
61 QueryConstraints::SqliteString string_result = qc.ToNewSqlite3String(); in TEST_F()
64 QueryConstraints qc_result = in TEST_F()
65 QueryConstraints::FromString(string_result.get()); in TEST_F()
[all …]
Dquery_constraints.h39 class QueryConstraints {
60 QueryConstraints();
61 ~QueryConstraints();
62 QueryConstraints(QueryConstraints&&) noexcept;
63 QueryConstraints& operator=(QueryConstraints&&);
67 bool operator==(const QueryConstraints& other) const;
82 static QueryConstraints FromString(const char* idxStr);
93 QueryConstraints(const QueryConstraints&) = delete;
94 QueryConstraints& operator=(const QueryConstraints&) = delete;
Dquery_constraints.cc28 QueryConstraints::QueryConstraints() = default;
29 QueryConstraints::~QueryConstraints() = default;
30 QueryConstraints::QueryConstraints(QueryConstraints&&) noexcept = default;
31 QueryConstraints& QueryConstraints::operator=(QueryConstraints&&) = default;
33 int QueryConstraints::FreeSqliteString(char* resource) { in FreeSqliteString()
38 bool QueryConstraints::operator==(const QueryConstraints& other) const { in operator ==()
61 void QueryConstraints::AddConstraint(int column, in AddConstraint()
71 void QueryConstraints::AddOrderBy(int column, unsigned char desc) { in AddOrderBy()
78 QueryConstraints::SqliteString QueryConstraints::ToNewSqlite3String() const { in ToNewSqlite3String()
109 QueryConstraints QueryConstraints::FromString(const char* idxStr) { in FromString()
[all …]
Ddb_sqlite_table_unittest.cc45 QueryConstraints id_eq; in TEST()
50 QueryConstraints a_eq; in TEST()
63 QueryConstraints id_eq; in TEST()
68 QueryConstraints a_eq; in TEST()
81 QueryConstraints single_eq; in TEST()
86 QueryConstraints multi_eq; in TEST()
102 QueryConstraints sorted_eq; in TEST()
108 QueryConstraints unsorted_eq; in TEST()
124 QueryConstraints id_eq; in TEST()
129 QueryConstraints a_eq; in TEST()
[all …]
Ddb_sqlite_table.h62 virtual util::Status ValidateConstraints(const QueryConstraints& qc) = 0;
79 int Filter(const QueryConstraints& qc,
94 void TryCacheCreateSortedTable(const QueryConstraints&, FilterHistory);
171 int ModifyConstraints(QueryConstraints*) override final;
172 int BestIndex(const QueryConstraints&, BestIndexInfo*) override final;
178 static void ModifyConstraints(const Table::Schema&, QueryConstraints*);
181 const QueryConstraints&,
187 const QueryConstraints& qc);
Dsql_stats_table.h28 class QueryConstraints; variable
50 int Filter(const QueryConstraints&,
77 int BestIndex(const QueryConstraints&, BestIndexInfo*) override;
Dwindow_operator_table.h46 int Filter(const QueryConstraints& qc,
82 int BestIndex(const QueryConstraints&, BestIndexInfo*) override;
83 int ModifyConstraints(QueryConstraints* qc) override;
Ddb_sqlite_table.cc153 int DbSqliteTable::BestIndex(const QueryConstraints& qc, BestIndexInfo* info) { in BestIndex()
170 const QueryConstraints& qc, in BestIndex()
189 int DbSqliteTable::ModifyConstraints(QueryConstraints* qc) { in ModifyConstraints()
195 QueryConstraints* qc) { in ModifyConstraints()
196 using C = QueryConstraints::Constraint; in ModifyConstraints()
224 auto p = [&cs](const QueryConstraints::OrderBy& o) { in ModifyConstraints()
225 auto inner_p = [&o](const QueryConstraints::Constraint& c) { in ModifyConstraints()
238 auto p = [&schema](const QueryConstraints::OrderBy& o) { in ModifyConstraints()
251 const QueryConstraints& qc) { in EstimateCost()
336 const QueryConstraints& qc, in TryCacheCreateSortedTable()
[all …]
Dstats_table.h41 int Filter(const QueryConstraints&,
68 int BestIndex(const QueryConstraints&, BestIndexInfo*) override;
Dquery_cache.h34 using Constraint = QueryConstraints::Constraint;
55 const std::vector<QueryConstraints::Constraint>& cs, in GetOrCache()
Dwindow_operator_table.cc64 int WindowOperatorTable::BestIndex(const QueryConstraints&, BestIndexInfo*) { in BestIndex() argument
68 int WindowOperatorTable::ModifyConstraints(QueryConstraints* qc) { in ModifyConstraints()
105 int WindowOperatorTable::Cursor::Filter(const QueryConstraints& qc, in Filter()
Dspan_join_operator_table.h175 const QueryConstraints& qc,
325 int Filter(const QueryConstraints& qc,
363 int BestIndex(const QueryConstraints& qc, BestIndexInfo* info) override;
419 const QueryConstraints& qc,
Dsql_stats_table.cc59 int SqlStatsTable::BestIndex(const QueryConstraints&, BestIndexInfo*) { in BestIndex() argument
68 int SqlStatsTable::Cursor::Filter(const QueryConstraints&, in Filter() argument
Dsqlite_table.cc63 QueryConstraints qc; in BestIndexInternal()
139 int SqliteTable::ModifyConstraints(QueryConstraints*) { in ModifyConstraints() argument
154 qc_cache_ = QueryConstraints::FromString(idxStr); in ReadConstraints()
Dsqlite_table.h99 virtual int Filter(const QueryConstraints& qc,
325 virtual int BestIndex(const QueryConstraints& qc, BestIndexInfo* info) = 0;
329 virtual int ModifyConstraints(QueryConstraints* qc);
366 QueryConstraints qc_cache_;
Dstats_table.cc53 int StatsTable::BestIndex(const QueryConstraints&, BestIndexInfo*) { in BestIndex() argument
60 int StatsTable::Cursor::Filter(const QueryConstraints&, in Filter() argument
/external/perfetto/src/trace_processor/dynamic/
Ddescribe_slice_generator.cc54 const QueryConstraints& qc) { in ValidateConstraints()
59 auto slice_id_fn = [](const QueryConstraints::Constraint& c) { in ValidateConstraints()
Ddescendant_slice_generator.cc34 const QueryConstraints& qc) { in ValidateConstraints()
37 auto slice_id_fn = [this](const QueryConstraints::Constraint& c) { in ValidateConstraints()
Dexperimental_flamegraph_generator.cc222 const QueryConstraints& qc) { in ValidateConstraints()
227 auto ts_fn = [](const QueryConstraints::Constraint& c) { in ValidateConstraints()
233 auto upid_fn = [](const QueryConstraints::Constraint& c) { in ValidateConstraints()
239 auto profile_type_fn = [](const QueryConstraints::Constraint& c) { in ValidateConstraints()
Dancestor_generator.cc90 const QueryConstraints& qc) { in ValidateConstraints()
94 auto id_fn = [column](const QueryConstraints::Constraint& c) { in ValidateConstraints()
Dexperimental_annotated_stack_generator.h41 util::Status ValidateConstraints(const QueryConstraints&) override;
Ddescribe_slice_generator.h44 util::Status ValidateConstraints(const QueryConstraints&) override;
Dconnected_flow_generator.h56 util::Status ValidateConstraints(const QueryConstraints&) override;
Ddescendant_slice_generator.h41 util::Status ValidateConstraints(const QueryConstraints&) override;
Dexperimental_sched_upid_generator.h38 util::Status ValidateConstraints(const QueryConstraints&) override;

12