Home
last modified time | relevance | path

Searched refs:newInputStream (Results 1 – 25 of 27) sorted by relevance

12

/external/jimfs/jimfs/src/test/java/com/google/common/jimfs/
DJimfsInputStreamTest.java42 JimfsInputStream in = newInputStream(2); in testRead_singleByte()
49 JimfsInputStream in = newInputStream(1, 2, 3, 4, 5, 6, 7, 8); in testRead_wholeArray()
58 JimfsInputStream in = newInputStream(1, 2, 3, 4, 5, 6, 7, 8); in testRead_wholeArray_arrayLarger()
67 JimfsInputStream in = newInputStream(1, 2, 3, 4, 5, 6, 7, 8); in testRead_wholeArray_arraySmaller()
79 JimfsInputStream in = newInputStream(1, 2, 3, 4, 5, 6, 7, 8); in testRead_partialArray()
88 JimfsInputStream in = newInputStream(1, 2, 3, 4, 5, 6, 7, 8); in testRead_partialArray_sliceLarger()
97 JimfsInputStream in = newInputStream(1, 2, 3, 4, 5, 6, 7, 8); in testRead_partialArray_sliceSmaller()
108 JimfsInputStream in = newInputStream(1, 2, 3, 4, 5); in testRead_partialArray_invalidInput()
131 JimfsInputStream in = newInputStream(1, 2, 3, 4, 5, 6, 7, 8); in testAvailable()
145 JimfsInputStream in = newInputStream(1, 2, 3, 4, 5, 6, 7, 8); in testSkip()
[all …]
DJimfsFileSystemCloseTest.java92 InputStream in = Files.newInputStream(p); in testOpenStreamsClosed()
325 Files.newInputStream(file); in testFilesMethodsThrow()
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/examples/
DParameterizedExpanderTest.java109 try (InputStream i = new BufferedInputStream(Files.newInputStream(archive.toPath()))) { in inputStreamVersion()
117 try (InputStream i = new BufferedInputStream(Files.newInputStream(archive.toPath()))) { in inputStreamVersionWithAutoDetection()
133 try (InputStream i = new BufferedInputStream(Files.newInputStream(archive.toPath())); in archiveInputStreamVersion()
151 try (InputStream is = Files.newInputStream(new File(resultDir, fileName).toPath())) { in assertHelloWorld()
DExpanderTest.java75 try (InputStream i = new BufferedInputStream(Files.newInputStream(archive.toPath()))) { in sevenZInputStreamVersion()
83 try (InputStream i = new BufferedInputStream(Files.newInputStream(archive.toPath()))) { in sevenZInputStreamVersionWithAutoDetection()
227 try (InputStream is = Files.newInputStream(new File(resultDir, fileName).toPath())) { in assertHelloWorld()
DParameterizedArchiverTest.java118 try (InputStream is = Files.newInputStream(target.toPath()); in verifyContent()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/expected_output/
Dcom_github_javaparser_Providers.txt12 …Line 50) provider(Files.newInputStream(assertNotNull(path)), assertNotNull(encoding)) ==> com.gith…
13 …Line 50) Files.newInputStream(assertNotNull(path)) ==> java.nio.file.Files.newInputStream(java.nio…
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/
DLister.java58 try (final InputStream fis = new BufferedInputStream(Files.newInputStream(f.toPath())); in listStream()
77 try (final InputStream fis = new BufferedInputStream(Files.newInputStream(f.toPath()))) { in detectFormat()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/examples/
DExpander.java68 try (InputStream i = new BufferedInputStream(Files.newInputStream(archive.toPath()))) { in expand()
91 try (InputStream i = new BufferedInputStream(Files.newInputStream(archive.toPath()))) { in expand()
138 expand(format, Channels.newInputStream(archive), targetDirectory); in expand()
DArchiver.java144 … try (InputStream in = new BufferedInputStream(Files.newInputStream(source.toPath()))) { in create()
177 … try (InputStream in = new BufferedInputStream(Files.newInputStream(source.toPath()))) { in create()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/compressors/pack200/
DTempFileCachingStreamBridge.java45 return new FilterInputStream(Files.newInputStream(f.toPath())) { in getInputView()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/parallel/
DFileBasedScatterGatherBackingStore.java51 return Files.newInputStream(target.toPath()); in getInputStream()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/
DProviders.java50 return provider(Files.newInputStream(assertNotNull(path)), assertNotNull(encoding)); in provider()
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/
DIssue1485Test.java36 new StreamProvider(Files.newInputStream(file))).getResult().get(); in issue1485withoutSpecifyingJARs()
/external/brotli/java/org/brotli/wrapper/dec/
DBrotliDecoderChannelTest.java78 crc = BundleHelper.fingerprintStream(Channels.newInputStream(decoder)); in run()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/
DProviders.java70 return provider(Files.newInputStream(assertNotNull(path)), assertNotNull(encoding)); in provider()
/external/jimfs/jimfs/src/main/java/com/google/common/jimfs/
DPathURLConnection.java91 stream = Files.newInputStream(path); in connect()
DJimfsFileSystemProvider.java186 public InputStream newInputStream(Path path, OpenOption... options) throws IOException { in newInputStream() method in JimfsFileSystemProvider
/external/turbine/javatests/com/google/turbine/bytecode/sig/
DSigIntegrationTest.java94 new ClassReader(Files.newInputStream(path)) in roundTrip()
/external/okio/okio/src/jvmMain/kotlin/okio/
DJvmOkio.kt193 Files.newInputStream(this, *options).source() in sink()
/external/guava/guava/src/com/google/common/io/
DMoreFiles.java113 return Files.newInputStream(path, options); in openStream()
160 return ByteStreams.toByteArray(Channels.newInputStream(channel), channel.size()); in read()
/external/glide/third_party/disklrucache/src/main/java/com/bumptech/glide/disklrucache/
DDiskLruCache.java719 private InputStream newInputStream(int index) throws IOException { in newInputStream() method in DiskLruCache.Editor
740 InputStream in = newInputStream(index); in getString()
/external/turbine/javatests/com/google/turbine/main/
DReducedClasspathTest.java209 try (InputStream is = new BufferedInputStream(Files.newInputStream(jdeps))) { in bazelFallback()
DMainTest.java368 try (InputStream is = new BufferedInputStream(Files.newInputStream(manifestProtoOutput))) { in readManifestProto()
/external/turbine/java/com/google/turbine/deps/
DDependencies.java202 try (InputStream is = new BufferedInputStream(Files.newInputStream(Paths.get(path)))) { in reduceClasspath()
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/utils/
DFixedLengthBlockOutputStreamTest.java217 DataInputStream din = new DataInputStream(Files.newInputStream(tempFile)); in testWithFileOutputStream()

12