/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | FileInputStreamTest.java | 21 import java.io.FileInputStream; 114 is = new FileInputStream(f); in test_ConstructorLjava_io_File() 123 FileInputStream fis = new FileInputStream(fos.getFD()); in test_ConstructorLjava_io_FileDescriptor() 132 is = new FileInputStream(fileName); in test_ConstructorLjava_lang_String() 141 is = new FileInputStream(""); in test_ConstructorLjava_lang_String_I() 151 is = new FileInputStream(new File("")); in test_ConstructorLjava_lang_String_I() 167 is = new FileInputStream(fileName); in test_available() 178 is = new FileInputStream(fileName); in test_close() 189 FileInputStream fis1 = new FileInputStream(fileName); in test_close_shared_fd() 190 FileInputStream fis2 = new FileInputStream(fis1.getFD()); in test_close_shared_fd() [all …]
|
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()
|
/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 | OldFileWriterTest.java | 22 import java.io.FileInputStream; 34 FileInputStream fis; 100 FileInputStream fis = new FileInputStream(f); in test_handleEarlyEOFChar_1() 161 FileInputStream fis = new FileInputStream(f); in test_handleExternalFileDescriptor()
|
D | FileDescriptorTest.java | 23 import java.io.FileInputStream; 40 FileInputStream fis = new FileInputStream(f); in test_isSocket()
|
/libcore/ojluni/src/main/java/java/io/ |
D | FileReader.java | 60 super(new FileInputStream(fileName)); in FileReader() 75 super(new FileInputStream(file)); in FileReader() 86 super(new FileInputStream(fd)); in FileReader() 103 super(new FileInputStream(fileName), charset); in FileReader() 120 super(new FileInputStream(file), charset); in FileReader()
|
D | FileInputStream.java | 74 public class FileInputStream extends InputStream class 132 public FileInputStream(String name) throws FileNotFoundException { in FileInputStream() method in FileInputStream 163 public FileInputStream(File file) throws FileNotFoundException { in FileInputStream() method in FileInputStream 230 public FileInputStream(FileDescriptor fdObj) { in FileInputStream() method in FileInputStream 238 public FileInputStream(FileDescriptor fdObj, boolean isFdOwner) { in FileInputStream() method in FileInputStream
|
/libcore/ojluni/src/test/java/io/FileInputStream/ |
D | ReadXBytes.java | 34 package test.java.io.FileInputStream; 37 import java.io.FileInputStream; 57 try (FileInputStream fis = new FileInputStream(empty)) { in main() 90 try (FileInputStream fis = new FileInputStream(file)) { in main() 104 try (FileInputStream fis = new FileInputStream(file)) { in main()
|
/libcore/ojluni/src/test/java/util/Scanner/ |
D | EncodingTest.java | 27 import java.io.FileInputStream; 111 FileInputStream fis = new FileInputStream(file); in getScanner() 114 FileInputStream fis1 = new FileInputStream(file); in getScanner() 124 FileInputStream fis = new FileInputStream(file); in getScanner() 127 FileInputStream fis1 = new FileInputStream(file); in getScanner()
|
/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/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/src/test/java/util/Properties/ |
D | SaveEncoding.java | 34 import java.io.FileInputStream; 75 FileInputStream inFile = new FileInputStream(myFile); in main() 89 FileInputStream myIn = new FileInputStream(myFile); in main()
|
D | LoadSeparators.java | 33 import java.io.FileInputStream; 62 FileInputStream myIn = new FileInputStream(propFile); in main()
|
D | Save.java | 33 import java.io.FileInputStream; 66 FileInputStream myIn = new FileInputStream(outputFile); in main()
|
/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 42 public FileInputStream(java.io.FileDescriptor fdObj, boolean isFdOwner) { throw new RuntimeExceptio… in FileInputStream() method in FileInputStream
|
/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/javax/xml/parsers/ |
D | SAXParserTest.java | 40 import java.io.FileInputStream; 416 InputSource is = new InputSource(new FileInputStream(list_wf[i])); in test_parseLorg_xml_sax_InputSourceLorg_xml_sax_helpers_DefaultHandler() 424 InputSource is = new InputSource(new FileInputStream(file)); in test_parseLorg_xml_sax_InputSourceLorg_xml_sax_helpers_DefaultHandler() 438 InputSource is = new InputSource(new FileInputStream(list_wf[0])); in test_parseLorg_xml_sax_InputSourceLorg_xml_sax_helpers_DefaultHandler() 443 in = new BrokenInputStream(new FileInputStream(list_wf[0]), 10); in test_parseLorg_xml_sax_InputSourceLorg_xml_sax_helpers_DefaultHandler() 457 InputSource is = new InputSource(new FileInputStream(list_wf[i])); in testParseInputSourceHandlerBase() 465 InputSource is = new InputSource(new FileInputStream(file)); in testParseInputSourceHandlerBase() 479 InputSource is = new InputSource(new FileInputStream(list_wf[0])); in testParseInputSourceHandlerBase() 483 is = new InputSource(new InputStreamReader(new FileInputStream(list_wf[0]))); in testParseInputSourceHandlerBase() 493 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 …]
|
D | FileLockTest.java | 23 import java.io.FileInputStream; 58 try(FileInputStream fis = new FileInputStream(tmp)) { in testToString()
|
/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 …]
|
/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/ojluni/src/test/java/text/Format/NumberFormat/ |
D | DFSDeserialization142.java | 42 FileInputStream istream = new FileInputStream(file); in main()
|
/libcore/ojluni/src/main/java/sun/security/util/ |
D | AnchorCertificates.java | 29 import java.io.FileInputStream; 62 try (FileInputStream fis = new FileInputStream(f)) {
|