Searched refs:UnsafeSharedBuf (Results 1 – 3 of 3) sorted by relevance
/trusty/user/base/lib/tipc/rust/src/ |
D | lib.rs | 42 pub use handle::{Handle, MMapFlags, UnsafeSharedBuf, MAX_MSG_HANDLES};
|
D | handle.rs | 338 pub fn mmap(&self, size: usize, flags: MMapFlags) -> crate::Result<UnsafeSharedBuf> { in mmap() argument 361 Ok(UnsafeSharedBuf { buf: buf_ptr as *mut u8, len: size }) in mmap() 433 pub struct UnsafeSharedBuf { struct 438 impl UnsafeSharedBuf { implementation
|
/trusty/user/app/sample/memref-test/rust/ |
D | memref_test.rs | 5 use tipc::{Deserialize, Handle, MMapFlags, Serialize, Serializer, TipcError, UnsafeSharedBuf}; 76 fn test_read_write(lender: &Handle, remote_buf: UnsafeSharedBuf) { in test_read_write() argument
|