Home
last modified time | relevance | path

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

12

/external/crosvm/base/src/
Dshm.rs21 pub struct SharedMemory { struct
28 fn new(debug_name: &CStr, size: u64) -> Result<SharedMemory>; in new()
29 fn from_safe_descriptor(descriptor: SafeDescriptor, size: u64) -> Result<SharedMemory>; in from_safe_descriptor()
32 impl SharedMemory { impl
37 pub fn new<T: Into<Vec<u8>>>(debug_name: T, size: u64) -> Result<SharedMemory> { in new()
53 pub fn from_safe_descriptor(descriptor: SafeDescriptor, size: u64) -> Result<SharedMemory> { in from_safe_descriptor()
59 pub fn try_clone(&self) -> Result<SharedMemory> { in try_clone()
68 impl AsRawDescriptor for SharedMemory { implementation
74 impl IntoRawDescriptor for SharedMemory { implementation
86 impl audio_streams::shm_streams::SharedMemory for SharedMemory { implementation
/external/crosvm/rutabaga_gfx/src/rutabaga_os/sys/linux/
Dshm.rs22 pub struct SharedMemory { struct
27 impl SharedMemory { impl
34 pub fn new(debug_name: &CStr, size: u64) -> RutabagaResult<SharedMemory> { in new()
55 impl AsRawDescriptor for SharedMemory { implementation
61 impl IntoRawDescriptor for SharedMemory { implementation
/external/crosvm/rutabaga_gfx/src/rutabaga_os/sys/stub/
Dshm.rs13 pub struct SharedMemory { struct
17 impl SharedMemory { impl
19 pub fn new(_debug_name: &CStr, _size: u64) -> RutabagaResult<SharedMemory> { in new()
32 impl AsRawDescriptor for SharedMemory { implementation
38 impl IntoRawDescriptor for SharedMemory { implementation
/external/crosvm/rutabaga_gfx/src/rutabaga_os/sys/windows/
Dshm.rs15 pub struct SharedMemory { struct
20 impl SharedMemory { argument
38 impl AsRawDescriptor for SharedMemory { implementation
44 impl IntoRawDescriptor for SharedMemory { implementation
/external/crosvm/rutabaga_gfx/src/rutabaga_os/
Dshm.rs15 pub struct SharedMemory(pub(crate) SysUtilSharedMemory); struct
16 impl SharedMemory { impl
21 pub fn new<T: Into<Vec<u8>>>(debug_name: T, size: u64) -> RutabagaResult<SharedMemory> { in new()
31 impl AsRawDescriptor for SharedMemory { implementation
37 impl IntoRawDescriptor for SharedMemory { implementation
/external/crosvm/base/src/sys/windows/
Dshm.rs16 impl PlatformSharedMemory for SharedMemory { implementation
17 fn new(_debug_name: &CStr, size: u64) -> Result<SharedMemory> { in new()
32 fn from_safe_descriptor(mapping_handle: SafeDescriptor, size: u64) -> Result<SharedMemory> { in from_safe_descriptor()
/external/crosvm/base/src/sys/linux/
Dshm.rs152 impl PlatformSharedMemory for SharedMemory { implementation
163 fn new(debug_name: &CStr, size: u64) -> Result<SharedMemory> { in new()
194 fn from_safe_descriptor(descriptor: SafeDescriptor, size: u64) -> Result<SharedMemory> { in from_safe_descriptor()
204 fn from_file(file: File) -> Result<SharedMemory>; in from_file()
218 impl SharedMemoryLinux for SharedMemory { implementation
219 fn from_file(mut file: File) -> Result<SharedMemory> { in from_file()
/external/perfetto/include/perfetto/ext/tracing/core/
Dproducer.h27 class SharedMemory; variable
Dshared_memory_arbiter.h38 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/crosvm/base/src/sys/macos/
Dmod.rs249 impl crate::shm::PlatformSharedMemory for crate::SharedMemory { implementation
250 fn new(_debug_name: &std::ffi::CStr, _size: u64) -> crate::Result<crate::SharedMemory> { in new()
256 ) -> crate::Result<crate::SharedMemory> { in from_safe_descriptor()
/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.py50 class SharedMemory: class
/external/crosvm/devices/src/pci/
Dpvpanic.rs190 shmem: &SharedMemory, in setup_pci_config_mapping()
Dpci_device.rs431 _shmem: &SharedMemory, in setup_pci_config_mapping()
707 fn init_pci_config_mapping(&mut self, shmem: &SharedMemory, base: usize, len: usize) -> bool { in init_pci_config_mapping()
809 shmem: &SharedMemory, in setup_pci_config_mapping()
/external/crosvm/common/audio_streams/src/
Dshm_streams.rs162 pub trait SharedMemory { trait
/external/crosvm/devices/src/usb/xhci/
Dxhci_controller.rs293 shmem: &SharedMemory, in setup_pci_config_mapping()
/external/crosvm/swap/src/
Dstaging.rs110 pub fn new(shmem: &SharedMemory, offset_bytes: u64, num_of_pages: usize) -> Result<Self> { in new()
Dpage_handler.rs191 staging_shmem: &'a SharedMemory, in create()
/external/libchrome/base/metrics/
Dpersistent_memory_allocator.h25 class SharedMemory; variable
/external/crosvm/vm_memory/src/
Dguest_memory.rs176 shm: Arc<SharedMemory>, in new_from_shm()
248 fn create_shm(ranges: &[(GuestAddress, u64, MemoryRegionOptions)]) -> Result<SharedMemory> { in create_shm()
/external/crosvm/devices/src/virtio/snd/vios_backend/
Dshm_streams.rs369 src: &mut SharedMemory, in mmap_buffer()
/external/crosvm/devices/src/
Dproxy.rs460 fn init_pci_config_mapping(&mut self, shmem: &SharedMemory, base: usize, len: usize) -> bool { in init_pci_config_mapping()
/external/perfetto/src/tracing/service/
Dtracing_service_impl.h70 class SharedMemory; variable

12