/libcore/luni/src/main/java/libcore/io/ |
D | IoTracker.java | 29 private Mode mode = Mode.READ; 60 READ, enumConstant
|
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
D | AsynchronousFileChannelTest.java | 99 AsynchronousFileChannel.open(nonExistent, StandardOpenOption.READ); in testOpen_nonexistent() 123 StandardOpenOption.READ); in testOpen_nonexistent() 182 StandardOpenOption.DELETE_ON_CLOSE, StandardOpenOption.READ); in testOpen_deleteOnClose() 208 StandardOpenOption.READ); in testRead_Future() 300 StandardOpenOption.READ); in testRead_CompletionListener() 368 StandardOpenOption.READ); in testWrite_Future() 378 StandardOpenOption.WRITE, StandardOpenOption.READ); in testWrite_Future() 458 StandardOpenOption.READ); in testWrite_CompletionListener() 471 StandardOpenOption.WRITE, StandardOpenOption.READ); in testWrite_CompletionListener() 628 afc = AsynchronousFileChannel.open(temp.toPath(), StandardOpenOption.READ); in testTruncate() [all …]
|
D | FileIOInterruptTest.java | 182 testChannelRead_exceptionWhenAlreadyClosed(ChannelReader.Method.READ); in testChannelRead_exceptionWhenAlreadyClosed() 199 if (method == ChannelReader.Method.READ) { in testChannelRead_exceptionWhenAlreadyClosed() 214 testChannelRead_exceptionWhenAlreadyInterrupted(ChannelReader.Method.READ); in testChannelRead_exceptionWhenAlreadyInterrupted() 232 if (method == ChannelReader.Method.READ) { in testChannelRead_exceptionWhenAlreadyInterrupted() 251 testChannelRead_exceptionOnCloseWhenBlocked(ChannelReader.Method.READ); in testChannelRead_exceptionOnCloseWhenBlocked() 284 testChannelRead_exceptionOnInterrupt(ChannelReader.Method.READ); in testChannelRead_exceptionOnInterrupt() 534 READ, enumConstant 554 if (method == Method.READ) { in run()
|
D | FileChannelTest.java | 19 import static java.nio.file.StandardOpenOption.READ; 311 standardOpenOptions.add(READ); in test_open_Path_Set_FileAttributes() 336 standardOpenOptions.add(READ); in test_open_Path_OpenOptions() 344 assertEquals(mockFileChannel, FileChannel.open(mockPath, READ, WRITE)); in test_open_Path_OpenOptions()
|
/libcore/ojluni/src/main/java/java/nio/file/ |
D | AccessMode.java | 38 READ, enumConstant
|
D | StandardOpenOption.java | 38 READ, enumConstant
|
D | Files.java | 2490 return isAccessible(path, AccessMode.READ);
|
/libcore/ojluni/src/main/java/java/lang/ |
D | ProcessBuilder.java | 478 READ, enumConstant 564 public Type type() { return Type.READ; } in from() 732 if (destination.type() == Redirect.Type.READ) 766 if (destination.type() == Redirect.Type.READ)
|
/libcore/luni/src/test/java/libcore/java/nio/file/ |
D | FilesTest.java | 50 import static java.nio.file.StandardOpenOption.READ; 88 when(mockFileSystemProvider.newInputStream(mockPath, READ)).thenReturn(is); in test_newInputStream() 90 assertSame(is, Files.newInputStream(mockPath, READ)); in test_newInputStream() 92 verify(mockFileSystemProvider).newInputStream(mockPath, READ); in test_newInputStream() 112 openOptions.add(READ); in test_newByteChannel() 116 assertSame(sfc, Files.newByteChannel(mockPath, READ)); in test_newByteChannel()
|
D | DefaultFileSystemProvider2Test.java | 63 import static java.nio.file.StandardOpenOption.READ; 442 openOptions.add(READ); in test_newFileChannel() 516 new Object[] { EnumSet.of(READ) }, in parameters_test_newFileChannel_NoSuchFileException() 520 new Object[] { EnumSet.of(CREATE, READ) }, in parameters_test_newFileChannel_NoSuchFileException() 522 new Object[] { EnumSet.of(CREATE, READ) }, in parameters_test_newFileChannel_NoSuchFileException()
|
D | DefaultFileSystemProviderTest.java | 61 import static java.nio.file.StandardOpenOption.READ; 92 try (InputStream is = provider.newInputStream(filesSetup.getDataFilePath(), READ)) { in test_newInputStream() argument 125 try (InputStream is = provider.newInputStream(filesSetup.getDataFilePath(), READ); in test_newInputStream_twice() argument 127 InputStream is2 = provider.newInputStream(filesSetup.getDataFilePath(), READ)) { in test_newInputStream_twice() 159 try (OutputStream os = provider.newOutputStream(filesSetup.getTestPath(), READ)) { in test_newOutputStream_openOption_READ() argument 364 set.add(READ); in test_newByteChannel_openOption_WRITE_READ()
|
D | Files2Test.java | 74 import static java.nio.file.StandardOpenOption.READ; 1228 READ, SYNC/* Sync makes sure the that InputStream is able to read content written by in test_newByteChannel_openOption_WRITE_READ() argument 1575 Files.write(filesSetup.getDataFilePath(), TEST_FILE_DATA_2.getBytes(), READ); in test_write$Path$byte$OpenOption_OpenOption() local
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | UnixAsynchronousSocketChannelImpl.java | 49 private static enum OpType { CONNECT, READ, WRITE }; enumConstant 256 if (task.getContext() == OpType.READ) in onCancel() 544 result = new PendingFuture<V,A>(this, OpType.READ); in implRead()
|
/libcore/ojluni/src/main/java/java/nio/file/spi/ |
D | FileSystemProvider.java | 428 if (opt == StandardOpenOption.READ) in newOutputStream()
|
/libcore/ojluni/src/main/java/sun/nio/fs/ |
D | UnixChannelFactory.java | 73 case READ : flags.read = true; break; in toFlags()
|
D | UnixFileSystemProvider.java | 280 case READ : r = true; break; in checkAccess()
|
/libcore/ojluni/src/main/java/java/io/ |
D | RandomAccessFile.java | 386 ioTracker.trackIo(len, IoTracker.Mode.READ); in readBytes()
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | ProcessBuilderTest.java | 403 assertRedirectFileAndType(file, Type.READ, Redirect.from(file)); in testRedirect_fileAndType()
|