Home
last modified time | relevance | path

Searched refs:AsLong (Results 1 – 25 of 27) sorted by relevance

12

/external/perfetto/src/trace_processor/db/
Dstorage_variants.h54 return val.AsLong(); in GetNumericTypeVariant()
56 if (val.AsLong() > std::numeric_limits<int32_t>::max() || in GetNumericTypeVariant()
57 val.AsLong() < std::numeric_limits<int32_t>::min()) in GetNumericTypeVariant()
59 return static_cast<int32_t>(val.AsLong()); in GetNumericTypeVariant()
61 if (val.AsLong() > std::numeric_limits<uint32_t>::max() || in GetNumericTypeVariant()
62 val.AsLong() < std::numeric_limits<uint32_t>::min()) in GetNumericTypeVariant()
64 return static_cast<uint32_t>(val.AsLong()); in GetNumericTypeVariant()
/external/perfetto/src/trace_processor/prelude/functions/
Dstack_functions.cc160 if (value->AsLong() > std::numeric_limits<uint32_t>::max() || in RunImpl()
163 static_cast<uint32_t>(value->AsLong()))) in RunImpl()
168 value->AsLong())); in RunImpl()
171 uint32_t callsite_id = static_cast<uint32_t>(value->AsLong()); in RunImpl()
181 annotate = (value->AsLong() != 0); in RunImpl()
229 if (value->AsLong() > std::numeric_limits<uint32_t>::max() || in RunImpl()
232 static_cast<uint32_t>(value->AsLong()))) in RunImpl()
235 kFunctionName, value->AsLong()); in RunImpl()
238 uint32_t frame_id = static_cast<uint32_t>(value->AsLong()); in RunImpl()
Dlayout_functions.cc146 return slice_packer.value()->AddSlice(ts->AsLong(), dur.value().AsLong()); in Step()
Dpprof_functions.cc147 sample_value_.Append(value->AsLong()); in UpdateSampleValue()
/external/perfetto/src/trace_processor/tables/
Dpy_tables_unittest.cc182 slice_ext->columns()[TestSliceTable::ColumnIndex::ts].Get(0).AsLong(), in TEST_F()
185 slice_ext->columns()[TestSliceTable::ColumnIndex::dur].Get(0).AsLong(), in TEST_F()
188 slice_ext->columns()[TestSliceTable::ColumnIndex::ts].Get(1).AsLong(), in TEST_F()
191 slice_ext->columns()[TestSliceTable::ColumnIndex::dur].Get(1).AsLong(), in TEST_F()
194 slice_ext->columns()[TestSliceTable::ColumnIndex::ts].Get(2).AsLong(), in TEST_F()
197 slice_ext->columns()[TestSliceTable::ColumnIndex::dur].Get(2).AsLong(), in TEST_F()
215 slice_ext->columns()[TestSliceTable::ColumnIndex::ts].Get(0).AsLong(), in TEST_F()
218 slice_ext->columns()[TestSliceTable::ColumnIndex::dur].Get(0).AsLong(), in TEST_F()
273 static_cast<uint32_t>(it.Get(arg_set_id_col_idx).AsLong()); in TEST_F()
283 static_cast<uint32_t>(it.Get(arg_set_id_col_idx).AsLong()); in TEST_F()
[all …]
/external/perfetto/src/traceconv/
Dpprof_builder.cc180 return std::make_optional(it.Get(0).AsLong()); in GetStatsEntry()
269 int64_t symbol_set_id = it.Get(0).AsLong(); in PreprocessInliningInfo()
272 int64_t line_no = it.Get(3).AsLong(); in PreprocessInliningInfo()
320 int64_t query_cid = cid_it.Get(0).AsLong(); in PreprocessLocations()
338 int64_t cid = c_it.Get(0).AsLong(); in PreprocessLocations()
340 int64_t mapping_id = c_it.Get(2).AsLong(); in PreprocessLocations()
345 : std::make_optional(c_it.Get(5).AsLong()); in PreprocessLocations()
566 int64_t id = mapping_it.Get(0).AsLong(); in WriteMappings()
577 static_cast<uint64_t>(mapping_it.Get(1).AsLong())); in WriteMappings()
579 static_cast<uint64_t>(mapping_it.Get(2).AsLong())); in WriteMappings()
[all …]
Dtrace_to_hprof.cc206 uint64_t id = static_cast<uint64_t>(it.Get(0).AsLong()); in IngestClasses()
224 static_cast<uint64_t>(raw_super_id.AsLong())); in IngestClasses()
/external/clang/lib/Analysis/
DScanfFormatString.cpp244 case LengthModifier::AsLong: in getArgType()
283 case LengthModifier::AsLong: in getArgType()
320 case LengthModifier::AsLong: in getArgType()
335 case LengthModifier::AsLong: in getArgType()
377 case LengthModifier::AsLong: in getArgType()
474 LM.setKind(LengthModifier::AsLong); in fixType()
DPrintfFormatString.cpp401 case LengthModifier::AsLong: in getArgType()
422 case LengthModifier::AsLong: return Ctx.LongTy; in getArgType()
456 case LengthModifier::AsLong: return Ctx.UnsignedLongTy; in getArgType()
494 case LengthModifier::AsLong: in getArgType()
656 LM.setKind(LengthModifier::AsLong); in fixType()
DFormatString.cpp207 lmKind = LengthModifier::AsLong; in ParseLengthModifier()
524 case AsLong: // or AsWideChar in toString()
703 case LengthModifier::AsLong: // or AsWideChar in hasValidLengthModifier()
814 case LengthModifier::AsLong: in hasStandardLengthModifier()
/external/perfetto/src/profiling/symbolizer/
Dsymbolize_database.cc91 int64_t load_bias = it.Get(3).AsLong(); in GetUnsymbolizedFrames()
105 int64_t rel_pc = it.Get(2).AsLong(); in GetUnsymbolizedFrames()
/external/perfetto/src/trace_processor/storage/
Dtrace_storage.cc37 int64_t col_min = ts_col.Min()->AsLong(); in DbTableMaybeUpdateMinMax()
38 int64_t col_max = ts_col.Max()->AsLong(); in DbTableMaybeUpdateMinMax()
/external/perfetto/src/trace_processor/prelude/table_functions/
Dexperimental_flamegraph.cc115 TimeConstraints{ts_it->op, ts_it->value.AsLong()}); in GetFlamegraphInputValues()
118 ts = ts_it->value.AsLong(); in GetFlamegraphInputValues()
125 upid = static_cast<UniquePid>(upid_it->value.AsLong()); in GetFlamegraphInputValues()
Dexperimental_flat_slice.cc63 int64_t start_bound = start_it->value.AsLong(); in ComputeTable()
64 int64_t end_bound = end_it->value.AsLong(); in ComputeTable()
Ddescendant.cc146 int64_t start_id = constraint_it->value.AsLong(); in ComputeTable()
Dancestor.cc152 int64_t start_id = constraint_it->value.AsLong(); in ComputeTable()
Dconnected_flow.cc226 SliceId start_id{static_cast<uint32_t>(it->value.AsLong())}; in ComputeTable()
Dexperimental_annotated_stack.cc157 CallsiteId(static_cast<uint32_t>(constraint_it->value.AsLong())); in ComputeTable()
/external/perfetto/src/profiling/memory/
Dheapprofd_end_to_end_test.cc108 it.Get(0).AsLong(), in GetFlamegraph()
111 it.Get(3).AsLong(), in GetFlamegraph()
112 it.Get(4).AsLong(), in GetFlamegraph()
113 it.Get(5).AsLong(), in GetFlamegraph()
114 it.Get(6).AsLong(), in GetFlamegraph()
115 it.Get(7).AsLong(), in GetFlamegraph()
116 it.Get(8).AsLong(), in GetFlamegraph()
117 it.Get(9).AsLong(), in GetFlamegraph()
118 it.Get(10).AsLong(), in GetFlamegraph()
120 : std::optional<int64_t>(it.Get(11).AsLong()), in GetFlamegraph()
/external/perfetto/include/perfetto/trace_processor/
Dbasic_types.h202 int64_t AsLong() const { in AsLong() function
/external/cronet/base/test/
Dtest_trace_processor.cc37 ss << sql_value.AsLong(); in ExecuteQuery()
/external/clang/include/clang/Analysis/Analyses/
DFormatString.h71 AsLong, // 'l' enumerator
84 AsWideChar = AsLong // for '%ls', only makes sense for printf
/external/perfetto/src/trace_processor/sqlite/
Dsqlite_utils.cc211 int64_t res = value.AsLong(); in ExtractFromSqlValueInt()
Dsqlite_utils.h108 return std::to_string(value.AsLong()); in SqlValueToString()
Ddb_sqlite_table.cc558 writer.AppendString(std::to_string(c.value.AsLong())); in Filter()

12