Home
last modified time | relevance | path

Searched refs:elem_count (Results 1 – 7 of 7) sorted by relevance

/system/extras/simpleperf/
Dtracing.h35 size_t elem_count = 1; member
41 elem_count == other.elem_count && is_signed == other.is_signed &&
82 place.size = field.elem_count; in GetField()
Dtracing_test.cpp64 << ", elem_count " << field.elem_count << ", is_signed " << field.is_signed << ", is_dynamic " in operator <<()
95 {.name = "comm", .offset = 8, .elem_size = 1, .elem_count = 16, .is_signed = true})); in TEST()
99 .elem_count = 1, in TEST()
Dtracing.cpp304 field.elem_count = 1; in ParseTracingField()
310 field.elem_count = 1; in ParseTracingField()
314 size_t elem_count; in ParseTracingField() local
317 &elem_count)) { in ParseTracingField()
318 field.elem_count = elem_count; in ParseTracingField()
324 field.elem_count = 1; in ParseTracingField()
330 CHECK_EQ(size % field.elem_count, 0u); in ParseTracingField()
331 field.elem_size = size / field.elem_count; in ParseTracingField()
Dcmd_dumprecord.cpp62 size_t max_len = std::min(data.size - field.offset, field.elem_count); in ExtractStringField()
112 if (field.offset + field.elem_size * field.elem_count > data.size) { in ExtractIntArrayField()
117 for (size_t i = 0; i < field.elem_count; i++) { 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()
154 if (field.elem_count == 1) { in GetExtractFieldFunction()
448 event.tp_data_size += field.elem_count * field.elem_size; in ProcessTracingData()
Dreport_lib_interface.cpp51 uint32_t elem_count; member
341 field.elem_count = format.fields[i].elem_count; in CreateEvents()
349 tracing_info.data_format.size = field.offset + field.elem_size * field.elem_count; in CreateEvents()
/system/extras/simpleperf/scripts/
Dsimpleperf_report_lib.py114 if self.elem_count > 1 and self.elem_size == 1:
118 while length < self.elem_count and bytes_to_str(data[self.offset + length]) != '\x00':
125 value = struct.unpack('%d%s' % (self.elem_count, unpack_key),
126 data[self.offset:self.offset + self.elem_count * self.elem_size])
131 for _ in range(self.elem_count):
134 if self.elem_count == 1:
/system/logging/logd/
DChattyLogBuffer.cpp149 int64_t elem_count = elem_event->payload.data; in LogInternal() local
151 int64_t total = current_last_count + elem_count; in LogInternal()