/external/apache-commons-io/src/main/java/org/apache/commons/io/file/ |
D | FilesUncheck.java | 441 public static SeekableByteChannel newByteChannel(final Path path, final OpenOption... options) { in newByteChannel() method in FilesUncheck 442 return Uncheck.apply(Files::newByteChannel, path, options); in newByteChannel() 455 …public static SeekableByteChannel newByteChannel(final Path path, final Set<? extends OpenOption> … in newByteChannel() method in FilesUncheck 456 return Uncheck.apply(Files::newByteChannel, path, options, attrs); in newByteChannel()
|
/external/jimfs/jimfs/src/test/java/com/google/common/jimfs/ |
D | JimfsFileSystemCloseTest.java | 118 SeekableByteChannel sbc = Files.newByteChannel(p, READ); in testOpenChannelsClosed() 337 Files.newByteChannel(file); in testFilesMethodsThrow()
|
D | JimfsUnixLikeFileSystemTest.java | 710 Files.newByteChannel(path("/foo"), ImmutableSet.of(WRITE, CREATE), permissions).close(); in testOpenChannel_withInitialAttributes_createNewFile() 725 Files.newByteChannel(path("/foo"), ImmutableSet.of(WRITE, CREATE), permissions).close(); in testOpenChannel_withInitialAttributes_fileExists() 1464 try (SeekableByteChannel channel = Files.newByteChannel(path("/test.txt"), READ)) { in testChannels() 1478 try (SeekableByteChannel channel = Files.newByteChannel(path("/test"), READ, WRITE)) { in testChannels() 1996 secureStream.newByteChannel(path("b"), ImmutableSet.of(WRITE, CREATE_NEW)).close(); in testSecureDirectoryStream() 2042 barStream.newByteChannel(path("stuff"), ImmutableSet.of(WRITE, CREATE_NEW)).close(); in testSecureDirectoryStream() 2147 stream.newByteChannel(fs.getPath("a"), ImmutableSet.of(CREATE, WRITE)); in testClosedSecureDirectoryStream() 2397 try (SeekableByteChannel channel = Files.newByteChannel(bar)) { in testUnsupportedFeatures()
|
/external/tensorflow/tensorflow/lite/java/src/test/java/org/tensorflow/lite/ |
D | TestUtils.java | 39 Files.newByteChannel(new File(path).toPath(), EnumSet.of(StandardOpenOption.READ))) { in getTestFileAsBuffer()
|
/external/apache-commons-io/src/test/java/org/apache/commons/io/file/ |
D | FilesUncheckTest.java | 269 …try (SeekableByteChannel c = FilesUncheck.newByteChannel(FILE_PATH_EMPTY, StandardOpenOption.READ)… in testNewByteChannelPathOpenOptionArray() 280 …try (SeekableByteChannel c = FilesUncheck.newByteChannel(FILE_PATH_EMPTY, options, EMPTY_FILE_ATTR… in testNewByteChannelPathSetOfQextendsOpenOptionFileAttributeOfQArray()
|
/external/jimfs/jimfs/src/main/java/com/google/common/jimfs/ |
D | JimfsSecureDirectoryStream.java | 143 public SeekableByteChannel newByteChannel( in newByteChannel() method in JimfsSecureDirectoryStream
|
D | SystemJimfsFileSystemProvider.java | 203 public SeekableByteChannel newByteChannel(
|
D | JimfsFileSystemProvider.java | 160 public SeekableByteChannel newByteChannel( in newByteChannel() method in JimfsFileSystemProvider
|
/external/apache-commons-io/src/main/java/org/apache/commons/io/input/ |
D | ReversedLinesFileReader.java | 349 this.channel = Files.newByteChannel(file, StandardOpenOption.READ); in ReversedLinesFileReader()
|
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/sevenz/ |
D | SevenZFile.java | 108 this(Files.newByteChannel(filename.toPath(), EnumSet.of(StandardOpenOption.READ)), in SevenZFile() 123 this(Files.newByteChannel(filename.toPath(), EnumSet.of(StandardOpenOption.READ)), in SevenZFile()
|
D | SevenZOutputFile.java | 71 this(Files.newByteChannel(filename.toPath(), in SevenZOutputFile()
|
/external/guava/guava/src/com/google/common/io/ |
D | MoreFiles.java | 162 try (SeekableByteChannel channel = Files.newByteChannel(path, options)) { in read()
|
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/zip/ |
D | ZipFile.java | 218 this(Files.newByteChannel(f.toPath(), EnumSet.of(StandardOpenOption.READ)), in ZipFile()
|
D | ZipArchiveOutputStream.java | 292 _channel = Files.newByteChannel(file.toPath(), in ZipArchiveOutputStream()
|