Home
last modified time | relevance | path

Searched refs:sqlite_utils (Results 1 – 16 of 16) sorted by relevance

/external/perfetto/src/trace_processor/
Dargs_table.cc52 if (cs.iColumn == id && sqlite_utils::IsOpEq(cs.op)) { in BestIndex()
80 sqlite_utils::ReportSqliteResult(ctx, value.int_value); in ReportResult()
83 sqlite_utils::ReportSqliteResult(ctx, value.real_value); in ReportResult()
87 sqlite3_result_text(ctx, str, -1, sqlite_utils::kSqliteStatic); in ReportResult()
104 bool op_is_null = sqlite_utils::IsOpIsNull(op); in Filter()
105 auto predicate = sqlite_utils::CreateNumericPredicate<int64_t>(op, value); in Filter()
114 bool op_is_null = sqlite_utils::IsOpIsNull(op); in Filter()
115 auto predicate = sqlite_utils::CreateNumericPredicate<double>(op, value); in Filter()
124 auto predicate = sqlite_utils::CreateStringPredicate(op, value); in Filter()
152 return sqlite_utils::CompareValuesAsc(arg_f.int_value, arg_s.int_value); in CompareRefsAsc()
[all …]
Dstorage_columns.h89 sqlite3_result_text(ctx, str.c_str(), -1, sqlite_utils::kSqliteStatic); in ReportResult()
106 return sqlite_utils::CompareValuesDesc(a, b); in Sort()
112 return sqlite_utils::CompareValuesAsc(a, b); in Sort()
130 typename sqlite_utils::is_numeric<typename Accessor::Type>* = nullptr>
141 sqlite_utils::ReportSqliteResult(ctx, accessor_.Get(row)); in ReportResult()
152 using namespace sqlite_utils; in BoundFilter() local
183 if (sqlite_utils::IsOpEq(op) && same_type && in Filter()
185 auto raw = sqlite_utils::ExtractSqliteValue<NumericType>(value); in Filter()
203 return sqlite_utils::CompareValuesDesc(accessor_.Get(f), in Sort()
208 return sqlite_utils::CompareValuesAsc(accessor_.Get(f), accessor_.Get(s)); in Sort()
[all …]
Dsqlite_utils.h34 namespace sqlite_utils {
182 template <typename T, typename sqlite_utils::is_numeric<T>* = nullptr>
250 template <typename T, typename sqlite_utils::is_float<T>* = nullptr>
264 template <typename T, typename sqlite_utils::is_int<T>* = nullptr>
280 template <typename T, typename sqlite_utils::is_float<T>* = nullptr>
295 template <typename T, typename sqlite_utils::is_int<T>* = nullptr>
311 template <typename T, typename sqlite_utils::is_float<T>* = nullptr>
320 template <typename T, typename sqlite_utils::is_int<T>* = nullptr>
Dsched_slice_table.cc77 sqlite_utils::IsOpEq(c.op); in EstimateQueryCost()
110 sqlite_utils::kSqliteStatic); in ReportResult()
190 return sqlite_utils::CompareValuesAsc(a.raw_state(), b.raw_state()); in Sort()
201 return sqlite_utils::CompareValuesAsc(a.raw_state(), b.raw_state()); in Sort()
Dstorage_table.cc120 if (sqlite_utils::IsOpEq(c.op)) in RemoveRedundantOrderBy()
162 return c.iColumn == static_cast<int>(c_idx) && sqlite_utils::IsOpEq(c.op); in HasEqConstraint()
Dsqlite3_str_split.cc65 sqlite3_result_text(context, in, size, sqlite_utils::kSqliteTransient); in sqlite_str_split()
Dstring_table.cc86 sqlite_utils::kSqliteStatic); in Column()
Dsql_stats_table.cc85 sqlite_utils::kSqliteStatic); in Column()
Dstats_table.cc61 const auto kSqliteStatic = sqlite_utils::kSqliteStatic; in Column()
Dspan_join_operator_table.cc189 auto op = sqlite_utils::OpToString(cs.op); in ComputeSqlConstraintsForDefinition()
190 auto value = sqlite_utils::SqliteValueAsString(argv[i]); in ComputeSqlConstraintsForDefinition()
200 auto cols = sqlite_utils::GetColumnsForTable(db_, desc.name); in CreateTableDefinition()
Dprocess_table.cc28 using namespace sqlite_utils;
Dthread_table.cc28 using namespace sqlite_utils;
Dwindow_operator_table.cc25 using namespace sqlite_utils;
DBUILD.gn108 "sqlite_utils.h",
Dtrace_processor_impl.cc188 sqlite_utils::kSqliteStatic); in CreateMetricsFunctions()
/external/perfetto/
DBUILD225 "src/trace_processor/sqlite_utils.h",
478 "src/trace_processor/sqlite_utils.h",
686 "src/trace_processor/sqlite_utils.h",