Home
last modified time | relevance | path

Searched refs:SeekableByteChannel (Results 1 – 13 of 13) sorted by relevance

/libcore/ojluni/src/main/java/java/nio/channels/
DSeekableByteChannel.java53 public interface SeekableByteChannel interface
125 SeekableByteChannel position(long newPosition) throws IOException; in position()
167 SeekableByteChannel truncate(long size) throws IOException; in truncate()
DFileChannel.java157 implements SeekableByteChannel, GatheringByteChannel, ScatteringByteChannel
/libcore/ojluni/src/main/java/sun/nio/ch/
DChannelInputStream.java115 if (ch instanceof SeekableByteChannel) { in available()
116 SeekableByteChannel sbc = (SeekableByteChannel)ch; in available()
/libcore/ojluni/src/main/java/java/nio/file/
DSecureDirectoryStream.java28 import java.nio.channels.SeekableByteChannel;
148 SeekableByteChannel newByteChannel(T path, in newByteChannel()
DFiles.java42 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/
DDefaultSecureDirectoryStreamTest.java27 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()
DDefaultFileSystemProviderTest.java29 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()
DFiles2Test.java34 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/
DMockFileSystemProvider.java21 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/
DUnixSecureDirectoryStream.java30 import java.nio.channels.SeekableByteChannel;
153 public SeekableByteChannel newByteChannel(Path obj, in newByteChannel()
DUnixFileSystemProvider.java203 public SeekableByteChannel newByteChannel(Path obj, in newByteChannel()
/libcore/ojluni/src/main/java/java/nio/file/spi/
DFileSystemProvider.java565 public abstract SeekableByteChannel newByteChannel(Path path, in newByteChannel()
/libcore/
Dopenjdk_java_files.bp420 "ojluni/src/main/java/java/nio/channels/SeekableByteChannel.java",