Searched refs:MemoryMappedFile (Results 1 – 4 of 4) sorted by relevance
32 import libcore.io.MemoryMappedFile;47 MemoryMappedFile.mmapRO("doesNotExist"); in testMmapRo_missingFile()58 MemoryMappedFile.mmapRO(file.getPath()); in testMmapRo_emptyFile()70 try (MemoryMappedFile memoryMappedFile = MemoryMappedFile.mmapRO(file.getPath())) { in testMmapRo()80 MemoryMappedFile memoryMappedFile = MemoryMappedFile.mmapRO(file.getPath()); in testMmapRo_close()102 MemoryMappedFile memoryMappedFile = MemoryMappedFile.mmapRO(file.getPath()); in testReadAfterCloseFails()113 checkReadByte(MemoryMappedFile::bigEndianIterator); in testReadByte()114 checkReadByte(MemoryMappedFile::littleEndianIterator); in testReadByte()118 Function<MemoryMappedFile, BufferIterator> iteratorFactory) throws Exception { in checkReadByte() argument123 MemoryMappedFile mappedFile = MemoryMappedFile.mmapRO(file.getPath()); in checkReadByte()[all …]
34 public final class MemoryMappedFile implements AutoCloseable { class40 public MemoryMappedFile(long address, long size) { in MemoryMappedFile() method in MemoryMappedFile53 public static MemoryMappedFile mmapRO(String path) throws ErrnoException { in mmapRO()58 return new MemoryMappedFile(address, size); in mmapRO()
27 private final MemoryMappedFile file;34 NioBufferIterator(MemoryMappedFile file, long address, int length, boolean swap) { in NioBufferIterator()
369 "luni/src/main/java/libcore/io/MemoryMappedFile.java",