Lines Matching refs:ctypes
32 import ctypes
351 "ia32": ctypes.c_uint32,
352 "arm": ctypes.c_uint32,
353 "mips": ctypes.c_uint32,
354 "x64": ctypes.c_uint64
378 ("name_size", ctypes.c_int32),
380 ("code_size", ctypes.c_int32)])
391 ("position", ctypes.c_int32)])
404 self.log_pos += ctypes.sizeof(event)
434 self.log_pos += ctypes.sizeof(event)
455 self.log_pos += ctypes.sizeof(event)
469 self.log_pos += ctypes.sizeof(event)
485 class Struct(ctypes.Structure):
505 "u16": ctypes.c_uint16,
506 "u32": ctypes.c_uint32,
507 "u64": ctypes.c_uint64
511 class TraceItem(ctypes.Structure):
636 self.header_size = ctypes.sizeof(PERF_EVENT_HEADER_DESC.ctype)
647 self.ip_size = ctypes.sizeof(self.ip_struct)
661 filename = self.trace[offset + self.header_size + ctypes.sizeof(mmap_info):
672 offset += self.header_size + ctypes.sizeof(sample)