/aosp_15_r20/external/crosvm/base/src/ |
H A D | shm.rs | 20 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 D | EvsUltrasonicsArray.h | 69 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 D | shm.rs | 24 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 D | shm.rs | 13 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 D | shm.rs | 15 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 D | shm.rs | 15 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 D | histogram_shared_memory.h | 58 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 D | histogram_shared_memory.cc | 79 HistogramSharedMemory::SharedMemory::SharedMemory( in SharedMemory() function in base::HistogramSharedMemory::SharedMemory
|
/aosp_15_r20/external/crosvm/base/src/sys/linux/ |
H A D | shm.rs | 152 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 D | shm.rs | 16 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/ |
D | SharedMemory.cpp | 43 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/ |
D | SharedMemory_unittest.cpp | 25 TEST(SharedMemory, ShareVisibileWithinSameProc) { in TEST() argument 160 TEST(SharedMemory, CannotOpenTwice) { in TEST() argument 180 TEST(SharedMemory, CreateNoMapping) { in TEST() argument
|
D | SharedMemory_posix.cpp | 29 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 D | mod.rs | 251 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 D | com_android_internal_os_ApplicationSharedMemory.cpp | 50 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 D | SharedMemory.java | 42 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 D | producer.h | 27 class SharedMemory; variable
|
H A D | shared_memory_arbiter.h | 38 class SharedMemory; variable
|
/aosp_15_r20/external/perfetto/include/perfetto/ext/tracing/core/ |
H A D | producer.h | 27 class SharedMemory; variable
|
H A D | shared_memory_arbiter.h | 38 class SharedMemory; variable
|
/aosp_15_r20/external/pytorch/aten/src/ATen/native/nested/cuda/ |
H A D | NestedTensorTransformerFunctions.cu | 919 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 D | shared_memory.cc | 21 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 D | InvalidBuffer.cpp | 37 nn::GeneralResult<void> InvalidBuffer::copyFrom(const nn::SharedMemory& /*src*/, in copyFrom() argument
|
/aosp_15_r20/external/crosvm/devices/src/pci/ |
H A D | pci_device.rs | 408 _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 D | ext2.rs | 106 shm: SharedMemory, in mkfs_callback()
|