Searched refs:READ_WRITE (Results 1 – 7 of 7) 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 | 1637 writeOnlyFileChannel.map(MapMode.READ_WRITE, 0, CONTENT_LENGTH); in test_map_AbnormalMode() 1650 writeOnlyFileChannel.map(MapMode.READ_WRITE, 0, -1); in test_map_AbnormalMode() 1657 readOnlyFileChannel.map(MapMode.READ_WRITE, 0, CONTENT_LENGTH); in test_map_AbnormalMode() 1669 readOnlyFileChannel.map(MapMode.READ_WRITE, -1, CONTENT_LENGTH); in test_map_AbnormalMode() 1675 readOnlyFileChannel.map(MapMode.READ_WRITE, 0, -1); in test_map_AbnormalMode() 1696 readOnlyFileChannel.map(MapMode.READ_WRITE, 0, -1); in test_map_AbnormalMode() 1710 readWriteFileChannel.map(MapMode.READ_WRITE, 0, -1); in test_map_AbnormalMode() 1827 mapped = readWriteFileChannel.map(MapMode.READ_WRITE, 0, CONTENT in test_map_ReadWrite() 1854 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()
|
/libcore/luni/src/main/java/java/nio/ |
D | MappedByteBuffer.java | 107 if (mapMode == MapMode.READ_WRITE) { in force()
|
/libcore/luni/src/main/java/java/nio/channels/ |
D | FileChannel.java | 99 public static final MapMode READ_WRITE = new MapMode("READ_WRITE"); field in FileChannel.MapMode
|
/libcore/benchmarks/src/benchmarks/regression/ |
D | ByteBufferBenchmark.java | 68 result = fc.map(FileChannel.MapMode.READ_WRITE, 0, fc.size()); in newBuffer()
|
/libcore/luni/src/test/java/libcore/java/nio/ |
D | BufferTest.java | 49 MappedByteBuffer result = ch.map(FileChannel.MapMode.READ_WRITE, 0, size); in allocateMapped() 87 .map(FileChannel.MapMode.READ_WRITE, 65536, 131072); in testDevZeroMapRW()
|