Searched refs:newByteChannel (Results 1 – 11 of 11) sorted by relevance
/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/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-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 | 159 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()
|