Searched refs:ctypes (Results 1 - 9 of 9) sorted by last modified time

/linux-master/rust/
H A DMakefile326 --use-core --with-derive-default --ctypes-prefix core::ffi --no-layout-tests \
/linux-master/tools/crypto/ccp/
H A Dtest_dbc.py19 class invalid_param(ctypes.Structure):
21 ("data", ctypes.c_uint8),
H A Ddbc.py4 import ctypes namespace
26 lib = ctypes.CDLL("./dbc_library.so", mode=ctypes.RTLD_GLOBAL)
36 buf = ctypes.create_string_buffer(DBC_NONCE_SIZE)
37 ret = lib.get_nonce(device.fileno(), ctypes.byref(buf), signature)
59 arg = ctypes.c_int(data if data else 0)
60 sig = ctypes.create_string_buffer(signature, len(signature))
61 ret = lib.process_param(device.fileno(), message[0], ctypes.pointer(sig), ctypes.pointer(arg))
/linux-master/tools/perf/scripts/python/
H A Dexported-sql-viewer.py135 from ctypes import CDLL, Structure, create_string_buffer, addressof, sizeof, \
H A Dintel-pt-events.py24 from ctypes import create_string_buffer, addressof
H A Dexport-to-postgresql.py239 from ctypes import *
H A Dlibxed.py18 from ctypes import CDLL, Structure, create_string_buffer, addressof, sizeof, \
/linux-master/drivers/media/firewire/
H A Dfiredtv-avc.c147 static const char *ctypes[] = { local
155 const char *ret = ctype < ARRAY_SIZE(ctypes) ? ctypes[ctype] : NULL;
/linux-master/tools/kvm/kvm_stat/
H A Dkvm_stat29 import ctypes
364 char_ptr_size = ctypes.sizeof(ctypes.c_char_p)
402 class perf_event_attr(ctypes.Structure):
411 _fields_ = [('type', ctypes.c_uint32),
412 ('size', ctypes.c_uint32),
413 ('config', ctypes.c_uint64),
414 ('sample_freq', ctypes.c_uint64),
415 ('sample_type', ctypes.c_uint64),
416 ('read_format', ctypes
[all...]

Completed in 207 milliseconds