Searched refs:SeekableByteChannel (Results 1 – 13 of 13) sorted by relevance
/libcore/ojluni/src/main/java/java/nio/channels/ |
D | SeekableByteChannel.java | 53 public interface SeekableByteChannel interface 125 SeekableByteChannel position(long newPosition) throws IOException; in position() 167 SeekableByteChannel truncate(long size) throws IOException; in truncate()
|
D | FileChannel.java | 157 implements SeekableByteChannel, GatheringByteChannel, ScatteringByteChannel
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | ChannelInputStream.java | 115 if (ch instanceof SeekableByteChannel) { in available() 116 SeekableByteChannel sbc = (SeekableByteChannel)ch; in available()
|
/libcore/ojluni/src/main/java/java/nio/file/ |
D | SecureDirectoryStream.java | 28 import java.nio.channels.SeekableByteChannel; 148 SeekableByteChannel newByteChannel(T path, in newByteChannel()
|
D | Files.java | 42 import java.nio.channels.SeekableByteChannel; 356 public static SeekableByteChannel newByteChannel(Path path, 402 public static SeekableByteChannel newByteChannel(Path path, OpenOption... options) 3152 try (SeekableByteChannel sbc = Files.newByteChannel(path);
|
/libcore/luni/src/test/java/libcore/java/nio/file/ |
D | DefaultSecureDirectoryStreamTest.java | 27 import java.nio.channels.SeekableByteChannel; 209 try (SeekableByteChannel sbc = ds_path_root.newByteChannel(filesSetup.getTestPath(), in test_newByteChannel() 218 try (SeekableByteChannel sbc = ds_path_root.newByteChannel( in test_newByteChannel() 227 try (SeekableByteChannel sbc = ds_path_root.newByteChannel( in test_newByteChannel() 239 try (SeekableByteChannel sbc = ds_path_root.newByteChannel( in test_newByteChannel() 251 try (SeekableByteChannel sbc = ds_path_root.newByteChannel(null, set)) { in test_newByteChannel_NPE() 256 try (SeekableByteChannel sbc = ds_path_root.newByteChannel(filesSetup.getDataFilePath(), in test_newByteChannel_NPE()
|
D | DefaultFileSystemProviderTest.java | 29 import java.nio.channels.SeekableByteChannel; 294 try (SeekableByteChannel sbc = provider.newByteChannel(filesSetup.getTestPath(), set)) { in test_newByteChannel() 303 try (SeekableByteChannel sbc = provider.newByteChannel(filesSetup.getDataFilePath(), set)) { in test_newByteChannel() 310 try (SeekableByteChannel sbc = provider.newByteChannel(filesSetup.getDataFilePath(), set)) { in test_newByteChannel() 330 try (SeekableByteChannel sbc = provider.newByteChannel(filesSetup.getTestPath(), set)) { in test_newByteChannel_openOption_WRITE() 338 try (SeekableByteChannel sbc = provider.newByteChannel(filesSetup.getDataFilePath(), set)) { in test_newByteChannel_openOption_WRITE() 345 try (SeekableByteChannel sbc = provider.newByteChannel(filesSetup.getDataFilePath(), set)) { in test_newByteChannel_openOption_WRITE() 367 try (SeekableByteChannel sbc = provider.newByteChannel(filesSetup.getDataFilePath(), set)) { in test_newByteChannel_openOption_WRITE_READ() 389 try (SeekableByteChannel sbc = provider.newByteChannel(null, set)) { in test_newByteChannel_NPE() 393 try (SeekableByteChannel sbc = provider in test_newByteChannel_NPE()
|
D | Files2Test.java | 34 import java.nio.channels.SeekableByteChannel; 1170 try (SeekableByteChannel sbc = Files.newByteChannel(filesSetup.getTestPath())) { in test_newByteChannel() 1178 try (SeekableByteChannel sbc = Files.newByteChannel(filesSetup.getDataFilePath())) { in test_newByteChannel() 1185 try (SeekableByteChannel sbc = Files.newByteChannel(filesSetup.getDataFilePath())) { in test_newByteChannel() 1198 try (SeekableByteChannel sbc = Files.newByteChannel(filesSetup.getTestPath(), WRITE)) { in test_newByteChannel_openOption_WRITE() 1205 try (SeekableByteChannel sbc = Files.newByteChannel(filesSetup.getDataFilePath(), WRITE)) { in test_newByteChannel_openOption_WRITE() 1212 try (SeekableByteChannel sbc = Files.newByteChannel(filesSetup.getDataFilePath(), WRITE)) { in test_newByteChannel_openOption_WRITE() 1227 try (SeekableByteChannel sbc = Files.newByteChannel(filesSetup.getDataFilePath(), WRITE, in test_newByteChannel_openOption_WRITE_READ() 1249 try (SeekableByteChannel sbc = Files.newByteChannel(null)) { in test_newByteChannel_NPE() 1253 try (SeekableByteChannel sbc = Files.newByteChannel(filesSetup.getDataFilePath(), in test_newByteChannel_NPE()
|
/libcore/luni/src/test/filesystems/src/mypackage/ |
D | MockFileSystemProvider.java | 21 import java.nio.channels.SeekableByteChannel; 65 public SeekableByteChannel newByteChannel(Path path, Set<? extends OpenOption> options, in newByteChannel()
|
/libcore/ojluni/src/main/java/sun/nio/fs/ |
D | UnixSecureDirectoryStream.java | 30 import java.nio.channels.SeekableByteChannel; 153 public SeekableByteChannel newByteChannel(Path obj, in newByteChannel()
|
D | UnixFileSystemProvider.java | 203 public SeekableByteChannel newByteChannel(Path obj, in newByteChannel()
|
/libcore/ojluni/src/main/java/java/nio/file/spi/ |
D | FileSystemProvider.java | 565 public abstract SeekableByteChannel newByteChannel(Path path, in newByteChannel()
|
/libcore/ |
D | openjdk_java_files.bp | 420 "ojluni/src/main/java/java/nio/channels/SeekableByteChannel.java",
|