Searched refs:ctypes (Results 1 – 9 of 9) sorted by relevance
/Linux-v6.6/tools/crypto/ccp/ |
D | dbc.py | 4 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))
|
D | test_dbc.py | 13 class invalid_param(ctypes.Structure): 15 ("data", ctypes.c_uint8),
|
/Linux-v6.6/tools/kvm/kvm_stat/ |
D | kvm_stat | 29 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/ |
D | libxed.py | 18 from ctypes import CDLL, Structure, create_string_buffer, addressof, sizeof, \
|
D | intel-pt-events.py | 24 from ctypes import create_string_buffer, addressof
|
D | export-to-postgresql.py | 239 from ctypes import *
|
D | exported-sql-viewer.py | 135 from ctypes import CDLL, Structure, create_string_buffer, addressof, sizeof, \
|
/Linux-v6.6/drivers/media/firewire/ |
D | firedtv-avc.c | 147 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/ |
D | Makefile | 333 --use-core --with-derive-default --ctypes-prefix core::ffi --no-layout-tests \
|