Home
last modified time | relevance | path

Searched refs:mapReadWrite (Results 1 – 6 of 6) sorted by relevance

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowSharedMemoryTest.java31 ByteBuffer fooBuf = sharedMemory.mapReadWrite(); in mapReadWrite_shouldReflectWrites()
42 ByteBuffer fooBuf = sharedMemory.mapReadWrite(); in mapReadWrite_shouldReflectWritesAcrossMappings()
54 ByteBuffer fooBuf = sharedMemory.mapReadWrite(); in mapReadWrite_shouldPersistWritesAcrossUnmap()
81 ByteBuffer fooBuf = fooMem.mapReadWrite(); in create_shouldIgnoreDebugNameForIdentity()
82 ByteBuffer barBuf = barMem.mapReadWrite(); in create_shouldIgnoreDebugNameForIdentity()
108 ByteBuffer fooBuf = sharedMemory.mapReadWrite(); in unmap_shouldTolerateDoubleUnmap()
119 ByteBuffer fooBuf = sharedMemory.mapReadWrite(); in writeToParcel_shouldNotCrash()
/external/swiftshader/tests/SystemUnitTests/
Dunittests.cpp41 void *addr = memfd.mapReadWrite(0, kRegionSize); in TEST()
72 auto *addr = reinterpret_cast<uint8_t *>(memfd.mapReadWrite(0, kRegionSize)); in TEST()
85 addr = reinterpret_cast<uint8_t *>(memfd2.mapReadWrite(0, kRegionSize)); in TEST()
/external/swiftshader/src/System/Linux/
DMemFd.hpp58 void *mapReadWrite(size_t offset, size_t size);
DMemFd.cpp105 void *LinuxMemFd::mapReadWrite(size_t offset, size_t size) in mapReadWrite() function in LinuxMemFd
/external/swiftshader/src/Vulkan/
DVkDeviceMemoryExternalLinux.hpp118 void *addr = memfd.mapReadWrite(0, size); in allocate()
DVkSemaphoreExternalLinux.hpp219 void *addr = memfd.mapReadWrite(0, size); in mapRegion()