Searched refs:elem_size (Results 1 – 7 of 7) sorted by relevance
/system/extras/simpleperf/ |
D | tracing_test.cpp | 63 os << "field (" << field.name << ", off " << field.offset << ", elem size " << field.elem_size in operator <<() 86 ASSERT_EQ(format.fields[0], TracingField({.name = "common_type", .offset = 0, .elem_size = 2})); in TEST() 87 ASSERT_EQ(format.fields[1], TracingField({.name = "common_flags", .offset = 2, .elem_size = 1})); in TEST() 89 TracingField({.name = "common_preempt_count", .offset = 3, .elem_size = 1})); in TEST() 91 TracingField({.name = "common_pid", .offset = 4, .elem_size = 4, .is_signed = true})); in TEST() 95 {.name = "comm", .offset = 8, .elem_size = 1, .elem_count = 16, .is_signed = true})); in TEST() 98 .elem_size = 4, in TEST()
|
D | tracing.h | 34 size_t elem_size = 0; member 40 return name == other.name && offset == other.offset && elem_size == other.elem_size && 76 place.size = field.elem_size; in GetField()
|
D | cmd_dumprecord.cpp | 73 if (field.elem_size != 4 || field.offset + field.elem_size > data.size) { in ExtractDynamicStringField() 112 if (field.offset + field.elem_size * field.elem_count > data.size) { in ExtractIntArrayField() 122 p += field.elem_size; in ExtractIntArrayField() 128 size_t total = field.elem_size * field.elem_count; in ExtractUnknownField() 149 if (field.elem_count > 1 && field.elem_size == 1) { in GetExtractFieldFunction() 155 switch (field.elem_size) { in GetExtractFieldFunction() 166 switch (field.elem_size) { in GetExtractFieldFunction() 448 event.tp_data_size += field.elem_count * field.elem_size; in ProcessTracingData()
|
D | report_lib_interface.cpp | 50 uint32_t elem_size; member 340 field.elem_size = format.fields[i].elem_size; in CreateEvents() 349 tracing_info.data_format.size = field.offset + field.elem_size * field.elem_count; in CreateEvents()
|
D | tracing.cpp | 331 field.elem_size = size / field.elem_count; in ParseTracingField()
|
/system/extras/simpleperf/scripts/ |
D | simpleperf_report_lib.py | 114 if self.elem_count > 1 and self.elem_size == 1: 121 unpack_key = self._unpack_key_dict.get(self.elem_size) 126 data[self.offset:self.offset + self.elem_count * self.elem_size]) 132 value.append(data[offset: offset + self.elem_size]) 133 offset += self.elem_size
|
/system/chre/external/flatbuffers/include/flatbuffers/ |
D | flatbuffers.h | 1314 void TrackMinAlign(size_t elem_size) { 1315 if (elem_size > minalign_) minalign_ = elem_size; 1318 void Align(size_t elem_size) { 1319 TrackMinAlign(elem_size); 1320 buf_.fill(PaddingBytes(buf_.size(), elem_size)); 2312 bool VerifyVectorOrString(const uint8_t *vec, size_t elem_size, 2320 auto max_elems = FLATBUFFERS_MAX_BUFFER_SIZE / elem_size; 2323 auto byte_size = sizeof(size) + elem_size * size;
|