/libcore/luni/src/test/java/libcore/java/nio/channels/ |
D | AsynchronousFileChannelTest.java | 60 StandardOpenOption.CREATE, StandardOpenOption.WRITE); in testOpen_create() 74 StandardOpenOption.CREATE, StandardOpenOption.WRITE); in testOpen_existing() 82 StandardOpenOption.WRITE); in testOpen_existing() 89 StandardOpenOption.WRITE); in testOpen_existing() 105 AsynchronousFileChannel.open(nonExistent, StandardOpenOption.WRITE); in testOpen_nonexistent() 170 StandardOpenOption.TRUNCATE_EXISTING, StandardOpenOption.WRITE); in testOpen_truncate() 198 StandardOpenOption.WRITE); in testRead_Future() 287 StandardOpenOption.WRITE); in testRead_CompletionListener() 378 StandardOpenOption.WRITE, StandardOpenOption.READ); in testWrite_Future() 471 StandardOpenOption.WRITE, StandardOpenOption.READ); in testWrite_CompletionListener() [all …]
|
D | FileIOInterruptTest.java | 315 testChannelWrite_exceptionWhenAlreadyClosed(ChannelWriter.Method.WRITE); in testChannelWrite_exceptionWhenAlreadyClosed() 331 if (method == ChannelWriter.Method.WRITE) { in testChannelWrite_exceptionWhenAlreadyClosed() 346 testChannelWrite_exceptionWhenAlreadyInterrupted(ChannelWriter.Method.WRITE); in testChannelWrite_exceptionWhenAlreadyInterrupted() 364 if (method == ChannelWriter.Method.WRITE) { in testChannelWrite_exceptionWhenAlreadyInterrupted() 383 testChannelWrite_exceptionOnCloseWhenBlocked(ChannelWriter.Method.WRITE); in testChannelWrite_exceptionOnCloseWhenBlocked() 425 testChannelWrite_exceptionOnInterrupt(ChannelWriter.Method.WRITE); in testChannelWrite_exceptionOnInterrupt() 579 WRITE, enumConstant 605 if (method == Method.WRITE) { in run()
|
D | FileChannelTest.java | 20 import static java.nio.file.StandardOpenOption.WRITE; 312 standardOpenOptions.add(WRITE); in test_open_Path_Set_FileAttributes() 337 standardOpenOptions.add(WRITE); 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 | 42 WRITE, enumConstant
|
D | StandardOpenOption.java | 43 WRITE, enumConstant
|
D | Files.java | 631 EnumSet.<StandardOpenOption>of(StandardOpenOption.CREATE_NEW, StandardOpenOption.WRITE); 2521 return isAccessible(path, AccessMode.WRITE); 3017 StandardOpenOption.WRITE);
|
/libcore/luni/src/main/java/libcore/io/ |
D | IoTracker.java | 61 WRITE enumConstant
|
/libcore/luni/src/test/java/libcore/java/nio/file/ |
D | DefaultFileSystemProvider2Test.java | 65 import static java.nio.file.StandardOpenOption.WRITE; 409 openOptions.add(WRITE); in test_newFileChannel() 452 openOptions.add(WRITE); in test_newFileChannel() 464 openOptions.add(WRITE); in test_newFileChannel() 477 openOptions.add(WRITE); in test_newFileChannel() 490 openOptions.add(WRITE); in test_newFileChannel() 517 new Object[] { EnumSet.of(WRITE) }, in parameters_test_newFileChannel_NoSuchFileException() 542 openOptions.add(WRITE); in test_newFileChannel_withFileAttributes() 555 openOptions.add(WRITE); in test_newFileChannel_withFileAttributes()
|
D | DefaultFileSystemProviderTest.java | 65 import static java.nio.file.StandardOpenOption.WRITE; 100 try (InputStream is = provider.newInputStream(filesSetup.getDataFilePath(), WRITE)) { in test_newInputStream_openOption() argument 208 try (OutputStream os = provider.newOutputStream(filesSetup.getDataFilePath(), WRITE)) { in test_newOutputStream_openOption_WRITE() argument 219 try (OutputStream os = provider.newOutputStream(filesSetup.getTestPath(), WRITE)) { in test_newOutputStream_openOption_WRITE() argument 327 set.add(WRITE); in test_newByteChannel_openOption_WRITE() 363 set.add(WRITE); in test_newByteChannel_openOption_WRITE_READ()
|
D | Files2Test.java | 77 import static java.nio.file.StandardOpenOption.WRITE; 1198 try (SeekableByteChannel sbc = Files.newByteChannel(filesSetup.getTestPath(), WRITE)) { in test_newByteChannel_openOption_WRITE() argument 1205 try (SeekableByteChannel sbc = Files.newByteChannel(filesSetup.getDataFilePath(), WRITE)) { in test_newByteChannel_openOption_WRITE() argument 1212 try (SeekableByteChannel sbc = Files.newByteChannel(filesSetup.getDataFilePath(), WRITE)) { in test_newByteChannel_openOption_WRITE() argument 1227 try (SeekableByteChannel sbc = Files.newByteChannel(filesSetup.getDataFilePath(), WRITE, in test_newByteChannel_openOption_WRITE_READ() argument
|
/libcore/ojluni/src/main/java/java/lang/ |
D | ProcessBuilder.java | 484 WRITE, enumConstant 591 public Type type() { return Type.WRITE; } in to() 701 if (source.type() == Redirect.Type.WRITE ||
|
/libcore/ojluni/src/main/java/java/nio/file/spi/ |
D | FileSystemProvider.java | 380 opt == StandardOpenOption.WRITE) in newInputStream() 433 opts.add(StandardOpenOption.WRITE); in newOutputStream()
|
/libcore/ojluni/src/main/java/java/util/logging/ |
D | FileHandler.java | 31 import static java.nio.file.StandardOpenOption.WRITE; 461 CREATE_NEW, WRITE); in openFiles() 473 WRITE, APPEND); in openFiles()
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | UnixAsynchronousSocketChannelImpl.java | 49 private static enum OpType { CONNECT, READ, WRITE }; enumConstant 258 if (task.getContext() == OpType.WRITE) in onCancel() 727 result = new PendingFuture<V,A>(this, OpType.WRITE); in implWrite()
|
/libcore/ojluni/src/main/java/java/io/ |
D | RandomAccessFile.java | 545 ioTracker.trackIo(len, IoTracker.Mode.WRITE); in writeBytes()
|
/libcore/ojluni/src/main/java/sun/nio/fs/ |
D | UnixFileSystemProvider.java | 281 case WRITE : w = true; break; in checkAccess()
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | ProcessBuilderTest.java | 404 assertRedirectFileAndType(file, Type.WRITE, Redirect.to(file)); in testRedirect_fileAndType()
|