Home
last modified time | relevance | path

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

/openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/python3-pyruvate/
H A D0001-musl-Move-F_OFD_GETLK-F_OFD_SETLK-and-F_OFD_SETLKW-t.patch29 @@ -451,9 +451,6 @@ pub const F_GETOWN: ::c_int = 9;
30 pub const F_SETLK: ::c_int = 13;
31 pub const F_SETLKW: ::c_int = 14;
32 pub const F_SETOWN: ::c_int = 8;
33 -pub const F_OFD_GETLK: ::c_int = 36;
34 -pub const F_OFD_SETLK: ::c_int = 37;
35 -pub const F_OFD_SETLKW: ::c_int = 38;
43 @@ -225,9 +225,6 @@ pub const F_GETOWN_EX: ::c_int = 16;
44 pub const F_GETSIG: ::c_int = 11;
45 pub const F_LINUX_SPECIFIC_BASE: ::c_int = 1024;
[all …]
H A D0001-musl-Define-SOCK_NONBLOCK-with-O_NONBLOCK.patch27 @@ -311,8 +311,6 @@ pub const O_SYNC: ::c_int = 1052672;
28 pub const O_RSYNC: ::c_int = 1052672;
29 pub const O_DSYNC: ::c_int = 4096;
31 -pub const SOCK_NONBLOCK: ::c_int = 2048;
33 pub const MAP_ANON: ::c_int = 0x0020;
34 pub const MAP_GROWSDOWN: ::c_int = 0x0100;
35 pub const MAP_DENYWRITE: ::c_int = 0x0800;
38 @@ -295,7 +295,6 @@ pub const SIG_SETMASK: ::c_int = 2; // F
39 pub const SIG_BLOCK: ::c_int = 0x000000;
40 pub const SIG_UNBLOCK: ::c_int = 0x01;
[all …]
H A D0001-musl-Define-SOCK_SEQPACKET-in-common-place.patch24 @@ -324,7 +324,6 @@ pub const MAP_SYNC: ::c_int = 0x080000;
26 pub const SOCK_STREAM: ::c_int = 1;
27 pub const SOCK_DGRAM: ::c_int = 2;
28 -pub const SOCK_SEQPACKET: ::c_int = 5;
30 pub const EDEADLK: ::c_int = 35;
31 pub const ENAMETOOLONG: ::c_int = 36;
34 @@ -292,7 +292,6 @@ pub const SIG_SETMASK: ::c_int = 2; // F
35 pub const SIG_BLOCK: ::c_int = 0x000000;
36 pub const SIG_UNBLOCK: ::c_int = 0x01;
37 pub const SOCK_DGRAM: ::c_int = 2;
[all …]
H A D0001-musl-riscv32-Define-F_SETLK-F_SETLKW-and-fix-F_GETLK.patch20 pub const O_ASYNC: ::c_int = 8192;
21 pub const O_NDELAY: ::c_int = 2048;
22 pub const EFD_NONBLOCK: ::c_int = 2048;
23 -pub const F_GETLK: ::c_int = 5;
24 -pub const F_GETOWN: ::c_int = 9;
25 pub const F_SETOWN: ::c_int = 8;
26 +pub const F_GETOWN: ::c_int = 9;
27 +pub const F_GETLK: ::c_int = 12;
28 +pub const F_SETLK: ::c_int = 13;
29 +pub const F_SETLKW: ::c_int = 14;
[all …]
H A D0001-musl-Define-O_LARGEFILE-for-riscv32.patch16 pub const O_DIRECT: ::c_int = 16384;
17 pub const O_DIRECTORY: ::c_int = 65536;
18 +pub const O_LARGEFILE: ::c_int = 0o0100000;
19 pub const O_NOFOLLOW: ::c_int = 131072;
20 pub const MAP_HUGETLB: ::c_int = 262144;
21 pub const MAP_LOCKED: ::c_int = 8192;
/openbmc/linux/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
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…
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
/openbmc/linux/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 { 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()
/openbmc/qemu/rust/hw/char/pl011/src/
H A Ddevice_class.rs6 use std::os::raw::{c_int, c_void};
35 extern "C" fn pl011_post_load(opaque: *mut c_void, version_id: c_int) -> c_int { in pl011_post_load() argument
H A Ddevice.rs8 os::raw::{c_int, c_uchar, c_uint, c_void},
282 let mut break_enable: c_int = new_val.send_break().into(); in write()
548 pub unsafe extern "C" fn pl011_can_receive(opaque: *mut c_void) -> c_int { in pl011_can_receive() argument
563 pub unsafe extern "C" fn pl011_receive(opaque: *mut c_void, buf: *const u8, size: c_int) { in pl011_receive() argument
/openbmc/openbmc/poky/bitbake/lib/bb/
H A Dacl.py41 acl_tag_t = ctypes.c_int
63 libacl.acl_get_entry.argtypes = [acl_t, ctypes.c_int, ctypes.c_void_p]
184 qualifier = ctypes.cast(qual, ctypes.POINTER(ctypes.c_int))[0]
/openbmc/qemu/scripts/
H A Duserfaultfd-wrlat.py22 from ctypes import c_ushort, c_int, c_ulonglong
/openbmc/linux/tools/crypto/ccp/
H A Ddbc.py59 arg = ctypes.c_int(data if data else 0)
/openbmc/openbmc/poky/bitbake/lib/
H A Dpyinotify.py207 self._libc.inotify_init.restype = ctypes.c_int
208 self._libc.inotify_add_watch.argtypes = [ctypes.c_int, ctypes.c_char_p,
210 self._libc.inotify_add_watch.restype = ctypes.c_int
211 self._libc.inotify_rm_watch.argtypes = [ctypes.c_int, ctypes.c_int]
212 self._libc.inotify_rm_watch.restype = ctypes.c_int
/openbmc/linux/tools/kvm/kvm_stat/
H A Dkvm_stat506 ctypes.c_int(pid), ctypes.c_int(cpu),
507 ctypes.c_int(group_fd), ctypes.c_long(flags))