Home
last modified time | relevance | path

Searched refs:ctypes (Results 1 – 9 of 9) sorted by relevance

/Linux-v6.6/tools/crypto/ccp/
Ddbc.py4 import ctypes
26 lib = ctypes.CDLL("./dbc_library.so", mode=ctypes.RTLD_GLOBAL)
37 buf = ctypes.create_string_buffer(DBC_NONCE_SIZE)
38 ret = lib.get_nonce(device.fileno(), ctypes.byref(buf), signature)
60 arg = ctypes.c_int(data if data else 0)
61 ret = lib.process_param(device.fileno(), message[0], signature, ctypes.pointer(arg))
Dtest_dbc.py13 class invalid_param(ctypes.Structure):
15 ("data", ctypes.c_uint8),
/Linux-v6.6/tools/kvm/kvm_stat/
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.c_uint64),
417 ('flags', ctypes.c_uint64),
[all …]
/Linux-v6.6/tools/perf/scripts/python/
Dlibxed.py18 from ctypes import CDLL, Structure, create_string_buffer, addressof, sizeof, \
Dintel-pt-events.py24 from ctypes import create_string_buffer, addressof
Dexport-to-postgresql.py239 from ctypes import *
Dexported-sql-viewer.py135 from ctypes import CDLL, Structure, create_string_buffer, addressof, sizeof, \
/Linux-v6.6/drivers/media/firewire/
Dfiredtv-avc.c147 static const char *ctypes[] = { in debug_fcp_ctype() local
155 const char *ret = ctype < ARRAY_SIZE(ctypes) ? ctypes[ctype] : NULL; in debug_fcp_ctype()
/Linux-v6.6/rust/
DMakefile333 --use-core --with-derive-default --ctypes-prefix core::ffi --no-layout-tests \