Home
last modified time | relevance | path

Searched defs:SharedMemory (Results 1 – 20 of 20) sorted by relevance

/external/crosvm/base/src/windows/
Dshm.rs19 pub struct SharedMemory { struct
28 impl SharedMemory { impl
34 pub fn named<T: Into<Vec<u8>>>(name: T, size: u64) -> Result<SharedMemory> { in named()
42 pub fn anon(size: u64) -> Result<SharedMemory> { in anon()
58 impl AsRawDescriptor for SharedMemory { implementation
64 impl IntoRawDescriptor for SharedMemory { implementation
70 impl Read for SharedMemory { implementation
87 impl Write for SharedMemory { implementation
109 impl Seek for SharedMemory { implementation
/external/crosvm/base/src/
Dshm.rs22 pub struct SharedMemory(SysUtilSharedMemory); struct
23 impl SharedMemory { impl
24 pub fn named<T: Into<Vec<u8>>>(name: T, size: u64) -> Result<SharedMemory> { in named()
30 pub fn anon(size: u64) -> Result<SharedMemory> { in anon()
34 pub fn new(name: Option<&CStr>, size: u64) -> Result<SharedMemory> { in new()
49 fn from_safe_descriptor(descriptor: SafeDescriptor) -> Result<SharedMemory> { in from_safe_descriptor()
54 fn from_file(file: File) -> Result<SharedMemory> { in from_file()
63 impl Unix for SharedMemory { implementation
73 impl AsRawDescriptor for SharedMemory { implementation
79 impl IntoRawDescriptor for SharedMemory { implementation
[all …]
/external/crosvm/base/src/unix/
Dshm.rs26 pub struct SharedMemory { struct
28 fd: File,
29 size: u64,
119 impl SharedMemory { implementation
125 pub fn named<T: Into<Vec<u8>>>(name: T) -> Result<SharedMemory> { in named()
140 pub fn new(name: Option<&CStr>) -> Result<SharedMemory> { in new()
160 pub fn from_file(mut file: File) -> Result<SharedMemory> { in from_file()
231 impl Read for SharedMemory { implementation
237 impl Read for &SharedMemory { implementation
243 impl Write for SharedMemory { implementation
[all …]
/external/crosvm/common/sys_util/src/
Dshm.rs25 pub struct SharedMemory { struct
27 fd: File,
28 size: u64,
118 impl SharedMemory { implementation
124 pub fn named<T: Into<Vec<u8>>>(name: T) -> Result<SharedMemory> { in named()
139 pub fn new(name: Option<&CStr>) -> Result<SharedMemory> { in new()
159 pub fn from_file(mut file: File) -> Result<SharedMemory> { in from_file()
230 impl Read for SharedMemory { implementation
236 impl Read for &SharedMemory { implementation
242 impl Write for SharedMemory { implementation
[all …]
/external/crosvm/base/src/windows/win/
Dshm.rs12 impl SharedMemory { impl
/external/perfetto/include/perfetto/ext/tracing/core/
Dproducer.h25 class SharedMemory; variable
Dshared_memory_arbiter.h37 class SharedMemory; variable
/external/webrtc/modules/desktop_capture/
Dshared_memory.cc21 SharedMemory::SharedMemory(void* data, size_t size, Handle handle, int id) in SharedMemory() function in webrtc::SharedMemory
/external/libchrome/base/trace_event/
Dprocess_memory_dump.h31 class SharedMemory; variable
/external/libchrome/base/memory/
Dshared_memory_posix.cc44 SharedMemory::SharedMemory(const SharedMemoryHandle& handle, bool read_only) in SharedMemory() function in base::SharedMemory
/external/python/cpython3/Lib/multiprocessing/
Dshared_memory.py49 class SharedMemory: class
Dmanagers.py1356 def SharedMemory(self, size): member in SharedMemoryManager
/external/crosvm/common/audio_streams/src/
Dshm_streams.rs157 pub trait SharedMemory { trait
/external/libchrome/base/metrics/
Dpersistent_memory_allocator.h25 class SharedMemory; variable
/external/crosvm/vm_memory/src/
Dguest_memory.rs113 shm: Arc<SharedMemory>, in new_from_shm()
181 fn create_shm(ranges: &[(GuestAddress, u64)]) -> Result<SharedMemory> { in create_shm()
/external/crosvm/devices/src/virtio/snd/vios_backend/
Dshm_streams.rs355 src: &mut SharedMemory, in mmap_buffer()
/external/perfetto/src/tracing/core/
Dtracing_service_impl.h68 class SharedMemory; variable
/external/perfetto/src/base/
Dunix_socket_unittest.cc657 TEST_F(UnixSocketTest, SharedMemory) { in TEST_F() argument
/external/crosvm/vm_control/src/
Dlib.rs238 SharedMemory(SharedMemory), enumerator
/external/crosvm/devices/src/virtio/
Dwl.rs347 fn register_memory(&self, shm: SharedMemory) -> WlResult<(SharedMemory, VmMemoryResponse)> { in register_memory()