Home
last modified time | relevance | path

Searched refs:MemoryMappedFile (Results 1 – 4 of 4) sorted by relevance

/libcore/luni/src/test/java/libcore/libcore/io/
DMemoryMappedFileTest.java32 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() argument
123 MemoryMappedFile mappedFile = MemoryMappedFile.mmapRO(file.getPath()); in checkReadByte()
[all …]
/libcore/luni/src/main/java/libcore/io/
DMemoryMappedFile.java34 public final class MemoryMappedFile implements AutoCloseable { class
40 public MemoryMappedFile(long address, long size) { in MemoryMappedFile() method in MemoryMappedFile
53 public static MemoryMappedFile mmapRO(String path) throws ErrnoException { in mmapRO()
58 return new MemoryMappedFile(address, size); in mmapRO()
DNioBufferIterator.java27 private final MemoryMappedFile file;
34 NioBufferIterator(MemoryMappedFile file, long address, int length, boolean swap) { in NioBufferIterator()
/libcore/
Dnon_openjdk_java_files.bp369 "luni/src/main/java/libcore/io/MemoryMappedFile.java",