Home
last modified time | relevance | path

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

12345678

/aosp_15_r20/external/crosvm/base/src/
H A Dshm.rs20 pub struct SharedMemory { struct
27 fn new(debug_name: &CStr, size: u64) -> Result<SharedMemory>; in new()
28 fn from_safe_descriptor(descriptor: SafeDescriptor, size: u64) -> Result<SharedMemory>; in from_safe_descriptor()
31 impl SharedMemory { implementation
36 pub fn new<T: Into<Vec<u8>>>(debug_name: T, size: u64) -> Result<SharedMemory> { in new()
52 pub fn from_safe_descriptor(descriptor: SafeDescriptor, size: u64) -> Result<SharedMemory> { in from_safe_descriptor()
58 pub fn try_clone(&self) -> Result<SharedMemory> { in try_clone()
69 impl AsRawDescriptor for SharedMemory { implementation
81 impl audio_streams::shm_streams::SharedMemory for SharedMemory { implementation
/aosp_15_r20/hardware/interfaces/automotive/evs/1.1/default/
H A DEvsUltrasonicsArray.h69 struct SharedMemory { struct
73 SharedMemory() : hidlMemory(hidl_memory()), pIMemory(nullptr){}; in SharedMemory() argument
75 SharedMemory(hidl_memory hidlMem, sp<IMemory> pIMem) in SharedMemory() function
88 SharedMemory sharedMemory; argument
/aosp_15_r20/external/crosvm/rutabaga_gfx/src/rutabaga_os/sys/linux/
H A Dshm.rs24 pub struct SharedMemory { struct
29 impl SharedMemory { argument
36 pub fn new(debug_name: &CStr, size: u64) -> RutabagaResult<SharedMemory> { in new()
57 impl AsRawDescriptor for SharedMemory { implementation
63 impl IntoRawDescriptor for SharedMemory { implementation
/aosp_15_r20/external/crosvm/rutabaga_gfx/src/rutabaga_os/sys/stub/
H A 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
/aosp_15_r20/external/crosvm/rutabaga_gfx/src/rutabaga_os/sys/windows/
H A Dshm.rs15 pub struct SharedMemory { struct
20 impl SharedMemory { argument
38 impl AsRawDescriptor for SharedMemory { implementation
44 impl IntoRawDescriptor for SharedMemory { implementation
/aosp_15_r20/external/crosvm/rutabaga_gfx/src/rutabaga_os/
H A Dshm.rs15 pub struct SharedMemory(pub(crate) SysUtilSharedMemory); struct
16 impl SharedMemory { implementation
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
/aosp_15_r20/external/cronet/base/metrics/
H A Dhistogram_shared_memory.h58 struct BASE_EXPORT SharedMemory { struct
59 UnsafeSharedMemoryRegion region;
60 std::unique_ptr<PersistentMemoryAllocator> allocator;
68 SharedMemory& operator=(SharedMemory&&);
72 SharedMemory& operator=(SharedMemory&) = delete;
H A Dhistogram_shared_memory.cc79 HistogramSharedMemory::SharedMemory::SharedMemory( in SharedMemory() function in base::HistogramSharedMemory::SharedMemory
/aosp_15_r20/external/crosvm/base/src/sys/linux/
H A 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()
/aosp_15_r20/external/crosvm/base/src/sys/windows/
H A 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()
/aosp_15_r20/packages/services/Car/cpp/car_binder_lib/largeParcelable/
DSharedMemory.cpp43 SharedMemory::SharedMemory(unique_fd fd) : mBorrowedFd(-1), mOwned(true) { in SharedMemory() function in android::automotive::car_binder_lib::SharedMemory
60 SharedMemory::SharedMemory(borrowed_fd fd) : mBorrowedFd(-1), mOwned(false) { in SharedMemory() function in android::automotive::car_binder_lib::SharedMemory
76 SharedMemory::SharedMemory(size_t size) : mBorrowedFd(-1), mOwned(true) { in SharedMemory() function in android::automotive::car_binder_lib::SharedMemory
/aosp_15_r20/hardware/google/aemu/base/
DSharedMemory_unittest.cpp25 TEST(SharedMemory, ShareVisibileWithinSameProc) { in TEST() argument
160 TEST(SharedMemory, CannotOpenTwice) { in TEST() argument
180 TEST(SharedMemory, CreateNoMapping) { in TEST() argument
DSharedMemory_posix.cpp29 SharedMemory::SharedMemory(const std::string& name, size_t size) : mSize(size) { in SharedMemory() function in android::base::SharedMemory
/aosp_15_r20/external/crosvm/base/src/sys/macos/
H A Dmod.rs251 impl crate::shm::PlatformSharedMemory for crate::SharedMemory { implementation
252 fn new(_debug_name: &std::ffi::CStr, _size: u64) -> crate::Result<crate::SharedMemory> { in new()
258 ) -> crate::Result<crate::SharedMemory> { in from_safe_descriptor()
/aosp_15_r20/frameworks/base/core/jni/
H A Dcom_android_internal_os_ApplicationSharedMemory.cpp50 class alignas(8) SharedMemory { // Ensure that `sizeof(SharedMemory)` is the same across 32-bit and class
61 SharedMemory() in SharedMemory() function in __anon98222e870111::SharedMemory
/aosp_15_r20/frameworks/base/core/java/android/os/
H A DSharedMemory.java42 public final class SharedMemory implements Parcelable, Closeable { class
49 private SharedMemory(FileDescriptor fd) { in SharedMemory() method in SharedMemory
/aosp_15_r20/prebuilts/runtime/mainline/platform/sdk/include/external/perfetto/include/perfetto/ext/tracing/core/
H A Dproducer.h27 class SharedMemory; variable
H A Dshared_memory_arbiter.h38 class SharedMemory; variable
/aosp_15_r20/external/perfetto/include/perfetto/ext/tracing/core/
H A Dproducer.h27 class SharedMemory; variable
H A Dshared_memory_arbiter.h38 class SharedMemory; variable
/aosp_15_r20/external/pytorch/aten/src/ATen/native/nested/cuda/
H A DNestedTensorTransformerFunctions.cu919 struct SharedMemory<int64_t> { struct
920 __device__ int64_t* getPointer() { in getPointer()
927 struct SharedMemory<int32_t> { struct
928 __device__ int32_t* getPointer() { in getPointer()
/aosp_15_r20/external/webrtc/modules/desktop_capture/
H A Dshared_memory.cc21 SharedMemory::SharedMemory(void* data, size_t size, Handle handle, int id) in SharedMemory() function in webrtc::SharedMemory
/aosp_15_r20/hardware/interfaces/neuralnetworks/utils/common/src/
H A DInvalidBuffer.cpp37 nn::GeneralResult<void> InvalidBuffer::copyFrom(const nn::SharedMemory& /*src*/, in copyFrom() argument
/aosp_15_r20/external/crosvm/devices/src/pci/
H A Dpci_device.rs408 _shmem: &SharedMemory, in setup_pci_config_mapping()
684 fn init_pci_config_mapping(&mut self, shmem: &SharedMemory, base: usize, len: usize) -> bool { in init_pci_config_mapping()
786 shmem: &SharedMemory, in setup_pci_config_mapping()
/aosp_15_r20/external/crosvm/src/crosvm/sys/linux/
H A Dext2.rs106 shm: SharedMemory, in mkfs_callback()

12345678