/libcore/luni/src/test/java/libcore/java/io/ |
D | FileInputStreamTest.java | 35 import java.io.FileInputStream; 76 private void verifyData(FileInputStream is, int start, int count) throws IOException { in verifyData() 89 FileInputStream fis = new FileInputStream(pipe[0]); in testSkipInPipes() 102 new FileInputStream("."); in testDirectories() 120 FileInputStream fis1 = new FileInputStream(tmp); in testFileDescriptorOwnership() 121 FileInputStream fis2 = new FileInputStream(fis1.getFD()); in testFileDescriptorOwnership() 179 FileInputStream fis = new FileInputStream(tmp); in testClose() 221 try (FileInputStream input = new FileInputStream(file)) { in test_available_on_nonIOCTL_supported_file() 225 try (FileInputStream input = new FileInputStream(file)) { in test_available_on_nonIOCTL_supported_file() 240 new FileInputStream(phile); in testFdLeakWhenOpeningDirectory() [all …]
|
D | FileDescriptorTest.java | 23 import java.io.FileInputStream; 40 FileInputStream fis = new FileInputStream(f); in test_isSocket()
|
D | OldFilterInputStreamTest.java | 116 new java.io.FileInputStream(fileName), 100)); in test_markI() 137 new java.io.FileInputStream(fileName), 100)); in test_markSupported() 250 new java.io.FileInputStream(fileName), 100)); in test_reset() 299 is = new MyFilterInputStream(new java.io.FileInputStream(fileName)); in setUp()
|
/libcore/luni/src/test/java/libcore/java/util/zip/ |
D | OldZipInputStreamTest.java | 22 import java.io.FileInputStream; 63 FileInputStream fis = new FileInputStream(new File(resources, in test_skipJ() 92 FileInputStream fis = new FileInputStream(new File(resources, in test_read$BII() 131 FileInputStream fis = new FileInputStream(new File(resources, in test_closeEntry() 169 FileInputStream fis = new FileInputStream(fl); in test_createZipEntryLjava_lang_String()
|
/libcore/ojluni/src/main/java/java/io/ |
D | FileReader.java | 58 super(new FileInputStream(fileName)); in FileReader() 72 super(new FileInputStream(file)); in FileReader() 82 super(new FileInputStream(fd)); in FileReader()
|
D | FileInputStream.java | 59 class FileInputStream extends InputStream class 114 public FileInputStream(String name) throws FileNotFoundException { in FileInputStream() method in FileInputStream 145 public FileInputStream(File file) throws FileNotFoundException { in FileInputStream() method in FileInputStream 200 public FileInputStream(FileDescriptor fdObj) { in FileInputStream() method in FileInputStream 208 public FileInputStream(FileDescriptor fdObj, boolean isFdOwner) { in FileInputStream() method in FileInputStream
|
/libcore/ojluni/annotations/mmodule/java/io/ |
D | FileInputStream.annotated.java | 33 public class FileInputStream extends java.io.InputStream { class 35 public FileInputStream(java.lang.String name) throws java.io.FileNotFoundException { throw new Runt… in FileInputStream() method in FileInputStream 37 public FileInputStream(java.io.File file) throws java.io.FileNotFoundException { throw new RuntimeE… in FileInputStream() method in FileInputStream 39 public FileInputStream(java.io.FileDescriptor fdObj) { throw new RuntimeException("Stub!"); } in FileInputStream() method in FileInputStream 43 public FileInputStream(java.io.FileDescriptor fdObj, boolean isFdOwner) { throw new RuntimeExceptio… in FileInputStream() method in FileInputStream
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/ |
D | MappedByteBufferTest.java | 21 import java.io.FileInputStream; 45 FileInputStream fis = new FileInputStream(tmpFile); in testasIntBuffer() 75 FileInputStream fis = new FileInputStream(emptyFile); in testEmptyBuffer() 128 FileInputStream fileInputStream = new FileInputStream(tmpFile); in test_force() 135 FileInputStream inputStream = new FileInputStream(tmpFile); in test_force() 172 FileInputStream fileInputStream = new FileInputStream(tmpFile); in test_load()
|
/libcore/ojluni/annotations/hiddenapi/java/io/ |
D | FileInputStream.java | 32 public class FileInputStream extends java.io.InputStream { class 34 public FileInputStream(java.lang.String name) throws java.io.FileNotFoundException { in FileInputStream() method in FileInputStream 38 public FileInputStream(java.io.File file) throws java.io.FileNotFoundException { in FileInputStream() method in FileInputStream 42 public FileInputStream(java.io.FileDescriptor fdObj) { in FileInputStream() method in FileInputStream 46 public FileInputStream(java.io.FileDescriptor fdObj, boolean isFdOwner) { in FileInputStream() method in FileInputStream 73 throws java.io.FileInputStream.UseManualSkipException, java.io.IOException; in skip0()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | FileReaderTest.java | 22 import java.io.FileInputStream; 35 FileInputStream fis; 61 FileInputStream fis = new FileInputStream(f.getPath()); in test_ConstructorLjava_io_FileDescriptor()
|
D | FileDescriptorTest.java | 22 import java.io.FileInputStream; 35 FileInputStream fis = null; in test_sync() 42 fis = new FileInputStream(f.getPath()); in test_sync()
|
D | FileOutputStreamTest.java | 22 import java.io.FileInputStream; 38 private FileInputStream fis; 86 fis = new FileInputStream(fileName); in test_ConstructorLjava_io_FileDescriptor() 119 fis = new FileInputStream(f.getPath()); in test_ConstructorLjava_lang_StringZ() 186 fis = new FileInputStream(f.getPath()); in test_write$B() 200 fis = new FileInputStream(f.getPath()); in test_write$BII() 227 fis = new FileInputStream(f.getPath()); in test_writeI()
|
D | FileWriterTest.java | 23 import java.io.FileInputStream; 32 private FileInputStream fis; 101 fis = new FileInputStream(f.getPath()); in test_ConstructorLjava_io_FileDescriptor()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/xml/parsers/ |
D | SAXParserTest.java | 40 import java.io.FileInputStream; 405 InputSource is = new InputSource(new FileInputStream(list_wf[i])); in test_parseLorg_xml_sax_InputSourceLorg_xml_sax_helpers_DefaultHandler() 413 InputSource is = new InputSource(new FileInputStream(file)); in test_parseLorg_xml_sax_InputSourceLorg_xml_sax_helpers_DefaultHandler() 427 InputSource is = new InputSource(new FileInputStream(list_wf[0])); in test_parseLorg_xml_sax_InputSourceLorg_xml_sax_helpers_DefaultHandler() 432 in = new BrokenInputStream(new FileInputStream(list_wf[0]), 10); in test_parseLorg_xml_sax_InputSourceLorg_xml_sax_helpers_DefaultHandler() 446 InputSource is = new InputSource(new FileInputStream(list_wf[i])); in testParseInputSourceHandlerBase() 454 InputSource is = new InputSource(new FileInputStream(file)); in testParseInputSourceHandlerBase() 468 InputSource is = new InputSource(new FileInputStream(list_wf[0])); in testParseInputSourceHandlerBase() 472 is = new InputSource(new InputStreamReader(new FileInputStream(list_wf[0]))); in testParseInputSourceHandlerBase() 482 in = new BrokenInputStream(new FileInputStream(list_wf[0]), 10); in testParseInputSourceHandlerBase() [all …]
|
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
D | FileIOInterruptTest.java | 22 import java.io.FileInputStream; 101 FileInputStream fis = new FileInputStream(fifoFile); in testStreamRead_exceptionWhenAlreadyClosed() 120 FileInputStream fis = new FileInputStream(fifoFile); in testStreamRead_exceptionOnCloseWhenBlocked() 193 FileInputStream fis = new FileInputStream(fifoFile); in testChannelRead_exceptionWhenAlreadyClosed() 225 FileInputStream fis = new FileInputStream(fifoFile); in testChannelRead_exceptionWhenAlreadyInterrupted() 262 FileInputStream fis = new FileInputStream(fifoFile); in testChannelRead_exceptionOnCloseWhenBlocked() 294 FileChannel fileChannel = new FileInputStream(fifoFile).getChannel(); in testChannelRead_exceptionOnInterrupt() 457 private final FileInputStream inputStream; 462 StreamReader(FileInputStream inputStream) { in StreamReader() 666 private FileInputStream fis; [all …]
|
/libcore/ojluni/src/main/java/sun/security/util/ |
D | AnchorCertificates.java | 29 import java.io.FileInputStream; 58 try (FileInputStream fis = new FileInputStream(f)) { in AccessController.doPrivileged()
|
/libcore/luni/src/test/java/libcore/libcore/io/ |
D | FdsanTest.java | 20 import java.io.FileInputStream; 34 try (FileInputStream fis = new FileInputStream("/dev/null")) { in testFileInputStream() 72 try (FileInputStream fis = new FileInputStream("/dev/null")) { in testParcelFileDescriptor()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/ |
D | ChannelsTest.java | 19 import java.io.FileInputStream; 51 private FileInputStream fins; 105 FileInputStream file = new FileInputStream(fileToTest); in assertFileSizeSame() 129 this.fins = new FileInputStream(tmpFile); in testNewChannelInputStream_BufferNull() 156 this.fins = new FileInputStream(tmpFile); in testNewChannelInputStream() 242 this.fins = new FileInputStream(tmpFile); in testNewChannelOutputStream() 273 this.fins = new FileInputStream(tmpFile); in testNewInputStreamReadableByteChannel_InputNull() 290 this.fins = new FileInputStream(tmpFile); in testNewInputStreamReadableByteChannel() 362 this.fins = new FileInputStream(tmpFile); in testnewReaderCharsetError() 396 this.fins = new FileInputStream(tmpFile); in testNewReaderReadableByteChannelString_InputNull() [all …]
|
D | FileChannelLockingTest.java | 20 import java.io.FileInputStream; 63 FileInputStream fileInputStream = new FileInputStream(tempFiles[0]); in setUp()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/ |
D | ZipInputStreamTest.java | 22 import java.io.FileInputStream; 125 FileInputStream fis = new FileInputStream(new File(resources, in test_closeAfterException() 222 FileInputStream fis = new FileInputStream(fl); in test_available()
|
/libcore/support/src/test/java/tests/support/ |
D | Support_TestWebData.java | 21 import java.io.FileInputStream; 117 FileInputStream in = null; in Support_TestWebData() 119 in = new FileInputStream(file); in Support_TestWebData()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | ProcessImpl.java | 29 import java.io.FileInputStream; 91 FileInputStream f0 = null; in start() 106 f0 = new FileInputStream(redirects[0].file()); in start()
|
/libcore/ojluni/src/main/native/ |
D | FileInputStream.c | 149 NATIVE_METHOD(FileInputStream, skip0, "(J)J"), 150 NATIVE_METHOD(FileInputStream, available0, "()I"),
|
/libcore/luni/src/test/java/libcore/dalvik/system/ |
D | BlockGuardTest.java | 25 import java.io.FileInputStream; 123 FileInputStream fis = new FileInputStream(tmpFile); in testFileInputStream() 205 try (FileInputStream fis = new FileInputStream(new File("/dev/null"))) { in testUnbufferedIO()
|
/libcore/luni/src/main/java/javax/xml/datatype/ |
D | FactoryFinder.java | 24 import java.io.FileInputStream; 64 try (FileInputStream inputStream = new FileInputStream(f)) { in try()
|