Home
last modified time | relevance | path

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/
DMapModeTest.java34 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()
DFileChannelTest.java1735 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/
DMappedByteBufferTest.java104 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()
DByteBufferTest.java2078 tempFileChannel.map(FileChannel.MapMode.READ_WRITE, 0, tempFileChannel.size()); in testMappedByteBuffer_Put_ReadOnlyHeapByteBuffer()
/libcore/benchmarks/src/benchmarks/regression/
DByteBufferBulkBenchmark.java62 result = fc.map(FileChannel.MapMode.READ_WRITE, 0, fc.size()); in newBuffer()
DByteBufferBenchmark.java72 result = fc.map(FileChannel.MapMode.READ_WRITE, 0, fc.size()); in newBuffer()
/libcore/ojluni/src/main/java/java/nio/channels/
DFileChannel.java801 public static final MapMode READ_WRITE field in FileChannel.MapMode
/libcore/ojluni/src/main/java/sun/nio/ch/
DFileChannelImpl.java925 else if (mode == MapMode.READ_WRITE) in map()
/libcore/luni/src/test/java/libcore/java/nio/
DBufferTest.java57 MappedByteBuffer result = ch.map(FileChannel.MapMode.READ_WRITE, 0, size); in allocateMapped()