Home
last modified time | relevance | path

Searched refs:DataType (Results 1 – 6 of 6) sorted by relevance

/system/chre/util/include/chre/util/
Dnested_data_ptr.h31 template <typename DataType>
33 static_assert(sizeof(DataType) <= sizeof(void *),
38 static_assert(alignof(DataType) <= alignof(void *),
40 static_assert(std::is_trivially_copyable<DataType>::value,
45 explicit NestedDataPtr(DataType nestedData) : data(nestedData) {} in NestedDataPtr()
59 operator DataType() const { in DataType() function
70 DataType data;
/system/extras/simpleperf/
Drecord.h422 struct DataType { struct
466 struct DataType { struct
477 AuxTraceInfoRecord(const DataType& data, const std::vector<ETM4Info>& etm4_info);
484 struct DataType { struct
503 static size_t Size() { return sizeof(perf_event_header) + sizeof(DataType); } in Size()
Drecord.cpp876 data = reinterpret_cast<DataType*>(p); in AuxRecord()
877 p += sizeof(DataType); in AuxRecord()
925 data = reinterpret_cast<DataType*>(p); in AuxTraceInfoRecord()
931 p += sizeof(DataType) + data->nr_cpu * sizeof(ETM4Info); in AuxTraceInfoRecord()
935 AuxTraceInfoRecord::AuxTraceInfoRecord(const DataType& data, in AuxTraceInfoRecord()
938 SetSize(header_size() + sizeof(DataType) + sizeof(ETM4Info) * etm4_info.size()); in AuxTraceInfoRecord()
942 this->data = reinterpret_cast<DataType*>(p); in AuxTraceInfoRecord()
974 data = reinterpret_cast<DataType*>(p); in AuxTraceRecord()
975 p += sizeof(DataType); in AuxTraceRecord()
982 SetSize(header_size() + sizeof(DataType)); in AuxTraceRecord()
[all …]
DETMRecorder.cpp214 AuxTraceInfoRecord::DataType data; in CreateAuxTraceInfoRecord()
/system/bt/gd/packet/parser/test/
Dtest_packets.pdl369 enum DataType : 8 {
380 type : DataType,
Dgenerated_packet_test.cc1750 ASSERT_EQ(entry.type_, DataType::ONE); in TEST()
1754 ASSERT_EQ(entry.type_, DataType::TWO); in TEST()
1758 ASSERT_EQ(entry.type_, DataType::THREE); in TEST()
1762 ASSERT_EQ(entry.type_, DataType::UNUSED); in TEST()
1794 ltv.type_ = DataType::ONE; in TEST()
1801 ltv.type_ = DataType::TWO; in TEST()