Searched refs:mapReadWrite (Results 1 – 6 of 6) sorted by relevance
31 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()
41 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()
58 void *mapReadWrite(size_t offset, size_t size);
105 void *LinuxMemFd::mapReadWrite(size_t offset, size_t size) in mapReadWrite() function in LinuxMemFd
118 void *addr = memfd.mapReadWrite(0, size); in allocate()
219 void *addr = memfd.mapReadWrite(0, size); in mapRegion()