Searched refs:READ_WRITE (Results 1 – 9 of 9) sorted by relevance
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/ |
D | MapModeTest.java | 34 assertNotNull(FileChannel.MapMode.READ_WRITE); in test_PRIVATE_READONLY_READWRITE() 39 .equals(FileChannel.MapMode.READ_WRITE)); in test_PRIVATE_READONLY_READWRITE() 41 .equals(FileChannel.MapMode.READ_WRITE)); in test_PRIVATE_READONLY_READWRITE() 50 assertNotNull(FileChannel.MapMode.READ_WRITE.toString()); in test_toString()
|
D | FileChannelTest.java | 1735 writeOnlyFileChannel.map(MapMode.READ_WRITE, 0, CONTENT_LENGTH); in test_map_AbnormalMode() 1748 writeOnlyFileChannel.map(MapMode.READ_WRITE, 0, -1); in test_map_AbnormalMode() 1755 readOnlyFileChannel.map(MapMode.READ_WRITE, 0, CONTENT_LENGTH); in test_map_AbnormalMode() 1767 readOnlyFileChannel.map(MapMode.READ_WRITE, -1, CONTENT_LENGTH); in test_map_AbnormalMode() 1773 readOnlyFileChannel.map(MapMode.READ_WRITE, 0, -1); in test_map_AbnormalMode() 1794 readOnlyFileChannel.map(MapMode.READ_WRITE, 0, -1); in test_map_AbnormalMode() 1808 readWriteFileChannel.map(MapMode.READ_WRITE, 0, -1); in test_map_AbnormalMode() 1925 mapped = readWriteFileChannel.map(MapMode.READ_WRITE, 0, CONTENT in test_map_ReadWrite() 1952 MappedByteBuffer mapped = readWriteFileChannel.map(MapMode.READ_WRITE, in test_map_ReadWrite_NonZeroPosition()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/ |
D | MappedByteBufferTest.java | 104 mmb = fc.map(FileChannel.MapMode.READ_WRITE, 0, fc.size()); in testEmptyBuffer() 149 FileChannel.MapMode.READ_WRITE, 0, fileChannelReadWrite.size()); in test_force() 157 FileChannel.MapMode.READ_WRITE, 0, fileChannelRW.size()); in test_force() 182 FileChannel.MapMode.READ_WRITE, 0, fileChannelReadWrite.size()); in test_load() 217 MappedByteBuffer mbb = ch.map(MapMode.READ_WRITE, 0L, 100L); in test_position()
|
D | ByteBufferTest.java | 2078 tempFileChannel.map(FileChannel.MapMode.READ_WRITE, 0, tempFileChannel.size()); in testMappedByteBuffer_Put_ReadOnlyHeapByteBuffer()
|
/libcore/benchmarks/src/benchmarks/regression/ |
D | ByteBufferBulkBenchmark.java | 62 result = fc.map(FileChannel.MapMode.READ_WRITE, 0, fc.size()); in newBuffer()
|
D | ByteBufferBenchmark.java | 72 result = fc.map(FileChannel.MapMode.READ_WRITE, 0, fc.size()); in newBuffer()
|
/libcore/ojluni/src/main/java/java/nio/channels/ |
D | FileChannel.java | 801 public static final MapMode READ_WRITE field in FileChannel.MapMode
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | FileChannelImpl.java | 925 else if (mode == MapMode.READ_WRITE) in map()
|
/libcore/luni/src/test/java/libcore/java/nio/ |
D | BufferTest.java | 57 MappedByteBuffer result = ch.map(FileChannel.MapMode.READ_WRITE, 0, size); in allocateMapped()
|