Home
last modified time | relevance | path

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

12

/external/perfetto/src/trace_processor/sqlite/
Dquery_constraints_unittest.cc40 QueryConstraints qc(0); in TEST_F()
43 QueryConstraints::SqliteString only_constraint = qc.ToNewSqlite3String(); in TEST_F()
46 QueryConstraints qc_constraint = in TEST_F()
47 QueryConstraints::FromString(only_constraint.get()); in TEST_F()
53 QueryConstraints::SqliteString result = qc.ToNewSqlite3String(); in TEST_F()
56 QueryConstraints qc_result = QueryConstraints::FromString(result.get()); in TEST_F()
61 QueryConstraints qc(0); in TEST_F()
63 QueryConstraints::SqliteString string_result = qc.ToNewSqlite3String(); in TEST_F()
66 QueryConstraints qc_result = in TEST_F()
67 QueryConstraints::FromString(string_result.get()); in TEST_F()
[all …]
Dquery_constraints.h38 class QueryConstraints {
61 explicit QueryConstraints(
63 ~QueryConstraints();
64 QueryConstraints(QueryConstraints&&) noexcept;
65 QueryConstraints& operator=(QueryConstraints&&) noexcept;
69 bool operator==(const QueryConstraints& other) const;
84 static QueryConstraints FromString(const char* idxStr);
97 QueryConstraints(const QueryConstraints&) = delete;
98 QueryConstraints& operator=(const QueryConstraints&) = delete;
Dquery_constraints.cc29 QueryConstraints::QueryConstraints(uint64_t cols_used) in QueryConstraints() function in perfetto::trace_processor::QueryConstraints
31 QueryConstraints::~QueryConstraints() = default;
32 QueryConstraints::QueryConstraints(QueryConstraints&&) noexcept = default;
33 QueryConstraints& QueryConstraints::operator=(QueryConstraints&&) noexcept =
36 int QueryConstraints::FreeSqliteString(char* resource) { in FreeSqliteString()
41 bool QueryConstraints::operator==(const QueryConstraints& other) const { in operator ==()
65 void QueryConstraints::AddConstraint(int column, in AddConstraint()
75 void QueryConstraints::AddOrderBy(int column, unsigned char desc) { in AddOrderBy()
82 QueryConstraints::SqliteString QueryConstraints::ToNewSqlite3String() const { in ToNewSqlite3String()
120 QueryConstraints QueryConstraints::FromString(const char* idxStr) { in FromString()
[all …]
Ddb_sqlite_table_unittest.cc50 QueryConstraints id_eq; in TEST()
55 QueryConstraints a_eq; in TEST()
68 QueryConstraints id_eq; in TEST()
73 QueryConstraints a_eq; in TEST()
86 QueryConstraints single_eq; in TEST()
91 QueryConstraints multi_eq; in TEST()
107 QueryConstraints sorted_eq; in TEST()
113 QueryConstraints unsorted_eq; in TEST()
129 QueryConstraints id_eq; in TEST()
134 QueryConstraints a_eq; in TEST()
[all …]
Ddb_sqlite_table.h66 base::Status Filter(const QueryConstraints& qc,
81 void TryCacheCreateSortedTable(const QueryConstraints&, FilterHistory);
135 base::Status ModifyConstraints(QueryConstraints*) final;
136 int BestIndex(const QueryConstraints&, BestIndexInfo*) final;
142 static void ModifyConstraints(const Table::Schema&, QueryConstraints*);
145 const QueryConstraints&,
151 const QueryConstraints& qc);
Ddb_sqlite_table.cc176 int DbSqliteTable::BestIndex(const QueryConstraints& qc, BestIndexInfo* info) { in BestIndex()
193 const QueryConstraints& qc, in BestIndex()
212 base::Status DbSqliteTable::ModifyConstraints(QueryConstraints* qc) { in ModifyConstraints()
218 QueryConstraints* qc) { in ModifyConstraints()
219 using C = QueryConstraints::Constraint; in ModifyConstraints()
252 auto p = [&cs](const QueryConstraints::OrderBy& o) { in ModifyConstraints()
253 auto inner_p = [&o](const QueryConstraints::Constraint& c) { in ModifyConstraints()
266 auto p = [&schema](const QueryConstraints::OrderBy& o) { in ModifyConstraints()
279 const QueryConstraints& qc) { in EstimateCost()
383 const QueryConstraints& qc, in TryCacheCreateSortedTable()
[all …]
Dsql_stats_table.h29 class QueryConstraints; variable
51 base::Status Filter(const QueryConstraints&,
77 int BestIndex(const QueryConstraints&, BestIndexInfo*) final;
Dsqlite_table.cc88 void ConstraintsToString(const QueryConstraints& qc, in ConstraintsToString()
103 void OrderByToString(const QueryConstraints& qc, in OrderByToString()
118 std::string QcDebugStr(const QueryConstraints& qc, in QcDebugStr()
142 const QueryConstraints& qc, in WriteQueryConstraintsToMetatrace()
163 base::Status SqliteTable::ModifyConstraints(QueryConstraints*) { in ModifyConstraints() argument
178 qc_cache_ = QueryConstraints::FromString(idxStr); in ReadConstraints()
360 QueryConstraints qc(idx->colUsed); in xBestIndex()
Dstats_table.h43 base::Status Filter(const QueryConstraints&,
69 int BestIndex(const QueryConstraints&, BestIndexInfo*) final;
Dquery_cache.h34 using Constraint = QueryConstraints::Constraint;
55 const std::vector<QueryConstraints::Constraint>& cs, in GetOrCache()
Dsql_stats_table.cc55 int SqlStatsTable::BestIndex(const QueryConstraints&, BestIndexInfo*) { in BestIndex() argument
65 base::Status SqlStatsTable::Cursor::Filter(const QueryConstraints&, in Filter() argument
Dsqlite_table.h102 base::Status Filter(const QueryConstraints& qc,
204 virtual int BestIndex(const QueryConstraints& qc, BestIndexInfo* info) = 0;
208 virtual base::Status ModifyConstraints(QueryConstraints* qc);
245 QueryConstraints qc_cache_;
Dstats_table.cc52 int StatsTable::BestIndex(const QueryConstraints&, BestIndexInfo*) { in BestIndex() argument
63 base::Status StatsTable::Cursor::Filter(const QueryConstraints&, in Filter() argument
/external/perfetto/src/trace_processor/prelude/operators/
Dwindow_operator.h52 base::Status Filter(const QueryConstraints& qc,
87 int BestIndex(const QueryConstraints&, BestIndexInfo*) final;
88 base::Status ModifyConstraints(QueryConstraints* qc) final;
Dwindow_operator.cc61 int WindowOperatorTable::BestIndex(const QueryConstraints&, BestIndexInfo*) { in BestIndex() argument
65 base::Status WindowOperatorTable::ModifyConstraints(QueryConstraints* qc) { in ModifyConstraints()
103 base::Status WindowOperatorTable::Cursor::Filter(const QueryConstraints& qc, in Filter()
Dspan_join_operator.h175 const QueryConstraints& qc,
325 base::Status Filter(const QueryConstraints& qc,
360 int BestIndex(const QueryConstraints& qc, BestIndexInfo* info) final;
420 const QueryConstraints& qc,
/external/perfetto/src/trace_processor/prelude/table_functions/
Dexperimental_flamegraph.cc289 const QueryConstraints& qc) { in ValidateConstraints()
294 auto ts_fn = [](const QueryConstraints::Constraint& c) { in ValidateConstraints()
300 auto upid_fn = [](const QueryConstraints::Constraint& c) { in ValidateConstraints()
306 auto upid_group_fn = [](const QueryConstraints::Constraint& c) { in ValidateConstraints()
313 auto profile_type_fn = [](const QueryConstraints::Constraint& c) { in ValidateConstraints()
Dtable_function.h50 virtual base::Status ValidateConstraints(const QueryConstraints& qc) = 0;
Dexperimental_annotated_stack.h40 base::Status ValidateConstraints(const QueryConstraints&) override;
Dview.h36 util::Status ValidateConstraints(const QueryConstraints&) override;
Ddescendant.cc101 base::Status Descendant::ValidateConstraints(const QueryConstraints& qc) { in ValidateConstraints()
105 auto id_fn = [column](const QueryConstraints::Constraint& c) { in ValidateConstraints()
Dexperimental_flat_slice.h63 base::Status ValidateConstraints(const QueryConstraints&) override;
Dview.cc27 base::Status ViewTableFunction::ValidateConstraints(const QueryConstraints&) { in ValidateConstraints() argument
Dconnected_flow.h56 base::Status ValidateConstraints(const QueryConstraints&) override;
/external/perfetto/src/trace_processor/prelude/functions/
Dcreate_view_function.cc46 base::Status Filter(const QueryConstraints& qc,
66 int BestIndex(const QueryConstraints& qc, BestIndexInfo* info) final;
250 int CreatedViewFunction::BestIndex(const QueryConstraints& qc, in BestIndex()
276 base::Status CreatedViewFunction::Cursor::Filter(const QueryConstraints& qc, in Filter()

12