Home
last modified time | relevance | path

Searched refs:createInputStream (Results 1 – 25 of 117) sorted by relevance

12345

/external/javaparser/javaparser-testing/src/test/resources/com/github/javaparser/bdd/samples/
DJavaConcepts.java336 try (InputStream in = createInputStream()) { in parse()
341 try (InputStream in = createInputStream(); in parse()
342 InputStream in2 = createInputStream()) { in parse()
347 try (InputStream in = createInputStream()) { in parse()
385 private static InputStream createInputStream() { in createInputStream() method in JavaConcepts
/external/javaparser/javaparser-testing/src/test/test_sourcecode/com/github/javaparser/printer/
DJavaConcepts.java332 try (InputStream in = createInputStream()) { in parse()
337 try (InputStream in = createInputStream(); in parse()
338 InputStream in2 = createInputStream()) { in parse()
343 try (InputStream in = createInputStream()) { in parse()
381 private static InputStream createInputStream() { in createInputStream() method in JavaConcepts
/external/javaparser/javaparser-testing/src/test/resources/com/github/javaparser/printer/
DJavaConcepts_prettyprinted334 try (InputStream in = createInputStream()) {
339 try (InputStream in = createInputStream();
340 InputStream in2 = createInputStream()) {
345 try (InputStream in = createInputStream()) {
383 private static InputStream createInputStream() {
/external/javaparser/javaparser-testing/src/test/resources/com/github/javaparser/bdd/
Dpretty_printing_java_concepts.story338 try (InputStream in = createInputStream()) {
343 try (InputStream in = createInputStream();
344 InputStream in2 = createInputStream()) {
349 try (InputStream in = createInputStream()) {
387 private static InputStream createInputStream() {
/external/mockftpserver/tags/2.x_Before_IDEA/src/test/groovy/org/mockftpserver/fake/filesystem/
DAbstractFileSystemTest.groovy138 * Test the createInputStream() method
141 InputStream input = fileSystem.createInputStream(EXISTING_FILE)
144 shouldFail(FileSystemException) { fileSystem.createInputStream(NO_SUCH_FILE) }
145 shouldFail(FileSystemException) { fileSystem.createInputStream(EXISTING_DIR) }
146 shouldFail(FileSystemException) { fileSystem.createInputStream("") }
148 shouldFailWithMessageContaining("path") { fileSystem.createInputStream(null) }
DFileEntryTest.groovy119 * Test the createInputStream() method when the file entry contents have not been initialized
165 byte[] bytes = IoUtil.readBytes(entry.createInputStream())
/external/mockftpserver/tags/2.0/src/test/groovy/org/mockftpserver/fake/filesystem/
DFileEntryTest.groovy118 assert clone.createInputStream().text == 'abc'
129 assert clone.createInputStream().text == 'ABCDEF'
195 byte[] bytes = IoUtil.readBytes(entry.createInputStream())
/external/mockftpserver/tags/2.x_Before_IDEA/src/test/groovy/org/mockftpserver/fake/command/
DStorCommandHandlerTest.groovy56 def contents = fileSystem.createInputStream(FILE).text
66 def contents = fileSystem.createInputStream(FILE).text
/external/apache-http/android/src/com/android/internal/http/multipart/
DPartSource.java70 InputStream createInputStream() throws IOException; in createInputStream() method
DByteArrayPartSource.java82 public InputStream createInputStream() { in createInputStream() method in ByteArrayPartSource
DFilePartSource.java123 public InputStream createInputStream() throws IOException { in createInputStream() method in FilePartSource
/external/mockftpserver/MockFtpServer/src/test/groovy/org/mockftpserver/fake/filesystem/
DFileEntryTest.groovy125 assert clone.createInputStream().text == 'abc'
136 assert clone.createInputStream().text == 'ABCDEF'
209 byte[] bytes = IoUtil.readBytes(entry.createInputStream())
/external/mockftpserver/tags/2.2/src/test/groovy/org/mockftpserver/fake/filesystem/
DFileEntryTest.groovy124 assert clone.createInputStream().text == 'abc'
135 assert clone.createInputStream().text == 'ABCDEF'
208 byte[] bytes = IoUtil.readBytes(entry.createInputStream())
/external/mockftpserver/tags/2.3/src/test/groovy/org/mockftpserver/fake/filesystem/
DFileEntryTest.groovy124 assert clone.createInputStream().text == 'abc'
135 assert clone.createInputStream().text == 'ABCDEF'
208 byte[] bytes = IoUtil.readBytes(entry.createInputStream())
/external/mockftpserver/tags/2.5/src/test/groovy/org/mockftpserver/fake/filesystem/
DFileEntryTest.groovy125 assert clone.createInputStream().text == 'abc'
136 assert clone.createInputStream().text == 'ABCDEF'
209 byte[] bytes = IoUtil.readBytes(entry.createInputStream())
/external/mockftpserver/tags/2.0.2/src/test/groovy/org/mockftpserver/fake/filesystem/
DFileEntryTest.groovy124 assert clone.createInputStream().text == 'abc'
135 assert clone.createInputStream().text == 'ABCDEF'
208 byte[] bytes = IoUtil.readBytes(entry.createInputStream())
/external/mockftpserver/tags/2.1/src/test/groovy/org/mockftpserver/fake/filesystem/
DFileEntryTest.groovy124 assert clone.createInputStream().text == 'abc'
135 assert clone.createInputStream().text == 'ABCDEF'
208 byte[] bytes = IoUtil.readBytes(entry.createInputStream())
/external/mockftpserver/tags/2.0.1/src/test/groovy/org/mockftpserver/fake/filesystem/
DFileEntryTest.groovy124 assert clone.createInputStream().text == 'abc'
135 assert clone.createInputStream().text == 'ABCDEF'
208 byte[] bytes = IoUtil.readBytes(entry.createInputStream())
/external/mockftpserver/tags/2.4/src/test/groovy/org/mockftpserver/fake/filesystem/
DFileEntryTest.groovy125 assert clone.createInputStream().text == 'abc'
136 assert clone.createInputStream().text == 'ABCDEF'
209 byte[] bytes = IoUtil.readBytes(entry.createInputStream())
/external/cldr/tools/java/org/unicode/cldr/util/
DInputStreamFactory.java23 public static InputStream createInputStream(File f) throws FileNotFoundException { in createInputStream() method in InputStreamFactory
/external/volley/src/main/java/com/android/volley/toolbox/
DDiskBasedCache.java122 new BufferedInputStream(createInputStream(file)), file.length()); in get()
168 new BufferedInputStream(createInputStream(file)), entrySize); in initialize()
352 InputStream createInputStream(File file) throws FileNotFoundException { in createInputStream() method in DiskBasedCache
/external/mockftpserver/tags/2.0/src/main/java/org/mockftpserver/fake/filesystem/
DFileEntry.java107 public InputStream createInputStream() { in createInputStream() method in FileEntry
/external/mockftpserver/tags/2.0-rc3/MockFtpServer/src/main/java/org/mockftpserver/fake/filesystem/
DFileEntry.java107 public InputStream createInputStream() { in createInputStream() method in FileEntry
/external/mockftpserver/tags/2.0-rc1/src/main/java/org/mockftpserver/fake/filesystem/
DFileEntry.java108 public InputStream createInputStream() { in createInputStream() method in FileEntry
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/fake/filesystem/
DFileEntry.java111 public InputStream createInputStream() { in createInputStream() method in FileEntry

12345