Home
last modified time | relevance | path

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

/system/extras/simpleperf/
Dtracing.cpp303 field.elem_count = 1; in ParseTracingField()
306 field.elem_count = 1; in ParseTracingField()
310 size_t elem_count; in ParseTracingField() local
312 if (android::base::ParseUint(value.substr(left_bracket_pos + 1, len), &elem_count)) { in ParseTracingField()
313 field.elem_count = elem_count; in ParseTracingField()
322 CHECK_EQ(size % field.elem_count, 0u); in ParseTracingField()
323 field.elem_size = size / field.elem_count; in ParseTracingField()
Dtracing.h31 size_t elem_count; member
71 place.size = field.elem_count; in GetField()
Dreport_lib_interface.cpp53 uint32_t elem_count; member
388 field.elem_count = format.fields[i].elem_count; in CreateEvents()
395 tracing_info.data_format.size = field.offset + field.elem_size * field.elem_count; in CreateEvents()
/system/extras/simpleperf/scripts/
Dsimpleperf_report_lib.py105 if self.elem_count > 1 and self.elem_size == 1 and self.is_signed == 0:
108 while length < self.elem_count and bytes_to_str(data[self.offset + length]) != '\x00':
115 value = struct.unpack('%d%s' % (self.elem_count, unpack_key),
116 data[self.offset:self.offset + self.elem_count * self.elem_size])
121 for _ in range(self.elem_count):
124 if self.elem_count == 1: