Home
last modified time | relevance | path

Searched refs:ffi (Results 1 – 25 of 36) sorted by relevance

12

/openbmc/openbmc/poky/meta/recipes-devtools/python/python3-libarchive-c/
H A D0001-ffi-Insert-a-replacable-anchor-for-find_library.patch4 Subject: [PATCH] ffi: Insert a replacable anchor for find_library
14 libarchive/ffi.py | 2 +-
17 diff --git a/libarchive/ffi.py b/libarchive/ffi.py
19 --- a/libarchive/ffi.py
20 +++ b/libarchive/ffi.py
/openbmc/linux/rust/kernel/
H A Dtypes.rs30 fn into_foreign(self) -> *const core::ffi::c_void; in into_foreign()
38 unsafe fn borrow<'a>(ptr: *const core::ffi::c_void) -> Self::Borrowed<'a>; in borrow()
48 unsafe fn from_foreign(ptr: *const core::ffi::c_void) -> Self; in from_foreign()
54 fn into_foreign(self) -> *const core::ffi::c_void { in into_foreign()
58 unsafe fn borrow<'a>(ptr: *const core::ffi::c_void) -> &'a T { in borrow()
66 unsafe fn from_foreign(ptr: *const core::ffi::c_void) -> Self { in from_foreign()
76 fn into_foreign(self) -> *const core::ffi::c_void { in into_foreign()
80 unsafe fn borrow<'a>(_: *const core::ffi::c_void) -> Self::Borrowed<'a> {} in borrow()
82 unsafe fn from_foreign(_: *const core::ffi::c_void) -> Self {} in from_foreign()
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()
243 pub fn to_result(err: core::ffi::c_int) -> Result { in to_result()
280 let const_ptr: *const core::ffi::c_void = ptr.cast(); in from_err_ptr()
295 return Err(unsafe { Error::from_errno_unchecked(err as core::ffi::c_int) }); in from_err_ptr()
H A Dallocator.rs39 unsafe { bindings::krealloc(ptr as *const core::ffi::c_void, size, flags) as *mut u8 } in krealloc_aligned()
51 bindings::kfree(ptr as *const core::ffi::c_void); in dealloc()
H A Dstr.rs98 pub unsafe fn from_char_ptr<'a>(ptr: *const core::ffi::c_char) -> &'a Self { in from_char_ptr()
148 pub const fn as_char_ptr(&self) -> *const core::ffi::c_char { in as_char_ptr()
H A Dkunit.rs9 use core::{ffi::c_void, fmt};
H A Dprint.rs10 ffi::{c_char, c_void},
/openbmc/qemu/rust/qemu-api/src/
H A Ddevice_class.rs5 use std::ffi::CStr;
33 name: ::std::ffi::CStr::as_ptr($name),
44 name: ::std::ffi::CStr::as_ptr($name),
H A Dc_str.rs30 unsafe { std::ffi::CStr::from_bytes_with_nul_unchecked(BYTES) }
36 use std::ffi::CStr;
H A Ddefinitions.rs7 use std::{ffi::CStr, os::raw::c_void};
/openbmc/openbmc/poky/meta/recipes-devtools/python/
H A Dpython3-libarchive-c_5.1.bb10 file://0001-ffi-Insert-a-replacable-anchor-for-find_library.patch \
25 …I@@|'${libdir}/$(patchelf --print-soname ${STAGING_LIBDIR}/libarchive.so)'|" ${S}/libarchive/ffi.py
H A Dpython3-rpds-py-crates.inc18 crate://crates.io/pyo3-ffi/0.23.3 \
44 SRC_URI[pyo3-ffi-0.23.3.sha256sum] = "eb1547a7f9966f6f1a0f0227564a9945fe36b90da5a93b3933fc3dc03fae3…
H A Dpython3-cryptography-crates.inc29 crate://crates.io/pyo3-ffi/0.23.2 \
66 SRC_URI[pyo3-ffi-0.23.2.sha256sum] = "6fca7cd8fd809b5ac4eefb89c1f98f7a7651d3739dfb341ca6980090f554c…
H A Dpython3-bcrypt-crates.inc30 crate://crates.io/pyo3-ffi/0.23.1 \
71 SRC_URI[pyo3-ffi-0.23.1.sha256sum] = "3b09f311c76b36dfd6dd6f7fa6f9f18e7e46a1c937110d283e80b12ba2468…
/openbmc/linux/rust/kernel/sync/
H A Darc.rs239 fn into_foreign(self) -> *const core::ffi::c_void { in into_foreign()
243 unsafe fn borrow<'a>(ptr: *const core::ffi::c_void) -> ArcBorrow<'a, T> { in borrow()
253 unsafe fn from_foreign(ptr: *const core::ffi::c_void) -> Self { in from_foreign()
H A Dlock.rs42 name: *const core::ffi::c_char, in init()
/openbmc/openbmc/poky/meta-selftest/recipes-devtools/python/
H A Dpython3-guessing-game-crates.inc.upgraded22 crate://crates.io/pyo3-ffi/0.21.2 \
65 SRC_URI[pyo3-ffi-0.21.2.sha256sum] = "01be5843dc60b916ab4dad1dca6d20b9b4e6ddc8e15f50c47fe6d85f1fb97…
H A Dpython3-guessing-game-crates.inc20 crate://crates.io/pyo3-ffi/0.19.2 \
60 SRC_URI[pyo3-ffi-0.19.2.sha256sum] = "e53cee42e77ebe256066ba8aa77eff722b3bb91f3419177cf4cd0f304d328…
/openbmc/linux/rust/kernel/sync/lock/
H A Dspinlock.rs99 name: *const core::ffi::c_char, in init()
H A Dmutex.rs100 name: *const core::ffi::c_char, in init()
/openbmc/qemu/rust/hw/char/pl011/src/
H A Dlib.rs51 pub const TYPE_PL011: &::std::ffi::CStr = c_str!("pl011");
52 pub const TYPE_PL011_LUMINARY: &::std::ffi::CStr = c_str!("pl011_luminary");
/openbmc/qemu/rust/qemu-api/tests/
H A Dtests.rs5 use std::{ffi::CStr, os::raw::c_void};
/openbmc/openbmc/poky/meta/recipes-support/libffi/
H A Dlibffi_3.4.6.bb25 oe_multilib_header ffi.h ffitarget.h
/openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/
H A Dpython3-pydantic-core-crates.inc53 crate://crates.io/pyo3-ffi/0.22.6 \
151 SRC_URI[pyo3-ffi-0.22.6.sha256sum] = "9ab5bcf04a2cdcbb50c7d6105de943f543f9ed92af55818fd17b660390fc8…
/openbmc/linux/rust/alloc/
H A Dlib.rs248 pub mod ffi; module

12