Home
last modified time | relevance | path

Searched refs:c_int (Results 1 - 7 of 7) sorted by relevance

/kernel/linux/linux-6.6/tools/perf/scripts/python/
H A Dlibxed.py19 c_void_p, c_bool, c_byte, c_char, c_int, c_uint, c_longlong, c_ulonglong namespace
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_void_p ]
H A 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
H A Dexported-sql-viewer.py136 c_void_p, c_bool, c_byte, c_char, c_int, c_uint, c_longlong, c_ulonglong namespace
/kernel/linux/linux-6.6/rust/kernel/
H A Derror.rs95 pub struct Error(core::ffi::c_int);
102 pub(crate) fn from_errno(errno: core::ffi::c_int) -> Error {
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()
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) });
315 /// ) -> core::ffi::c_int {
/kernel/linux/linux-5.10/tools/perf/scripts/python/
H A 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
H A Dexported-sql-viewer.py135 c_void_p, c_bool, c_byte, c_char, c_int, c_uint, c_longlong, c_ulonglong namespace
4755 ("mode", c_int),
4756 ("width", c_int)
4800 self.xed_decode.restype = c_int
4805 self.xed_format_context.argtypes = [ c_int, c_void_p, c_void_p, c_int, c_ulonglong, c_void_p, c_void_p ]
/kernel/linux/linux-6.6/tools/crypto/ccp/
H A Ddbc.py59 arg = ctypes.c_int(data if data else 0)

Completed in 16 milliseconds