Home
last modified time | relevance | path

Searched refs:c_int (Results 1 – 6 of 6) sorted by relevance

/Linux-v6.6/tools/perf/scripts/python/
Dlibxed.py19 c_void_p, c_bool, c_byte, c_char, c_int, c_uint, c_longlong, c_ulonglong
26 ("mode", c_int),
27 ("width", c_int)
71 self.xed_decode.restype = c_int
76 …self.xed_format_context.argtypes = [ c_int, c_void_p, c_void_p, c_int, c_ulonglong, c_void_p, c_vo…
Dexport-to-postgresql.py247 PQstatus.restype = c_int
253 PQresultStatus.restype = c_int
256 PQputCopyData.restype = c_int
257 PQputCopyData.argtypes = [ c_void_p, c_void_p, c_int ]
259 PQputCopyEnd.restype = c_int
Dexported-sql-viewer.py136 c_void_p, c_bool, c_byte, c_char, c_int, c_uint, c_longlong, c_ulonglong
/Linux-v6.6/rust/kernel/
Derror.rs95 pub struct Error(core::ffi::c_int);
102 pub(crate) fn from_errno(errno: core::ffi::c_int) -> Error { in from_errno()
122 unsafe fn from_errno_unchecked(errno: core::ffi::c_int) -> Error { in from_errno_unchecked()
129 pub fn to_errno(self) -> core::ffi::c_int { in to_errno() argument
243 pub fn to_result(err: core::ffi::c_int) -> Result { in to_result()
295 return Err(unsafe { Error::from_errno_unchecked(err as core::ffi::c_int) }); in from_err_ptr()
/Linux-v6.6/tools/crypto/ccp/
Ddbc.py60 arg = ctypes.c_int(data if data else 0)
/Linux-v6.6/tools/kvm/kvm_stat/
Dkvm_stat506 ctypes.c_int(pid), ctypes.c_int(cpu),
507 ctypes.c_int(group_fd), ctypes.c_long(flags))