/external/testng/src/main/java/org/testng/internal/ |
PropertiesFile.java | 27 FileInputStream fis = null;
local 32 fis = new FileInputStream(new File(fileName));
33 m_properties.load(fis);
37 if( fis != null) {
38 fis.close();
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
FileInputStreamTest.java | 118 FileInputStream fis = new FileInputStream(fos.getFD()); local 120 fis.close(); 203 FileInputStream fis = new FileInputStream(fileName); local 204 assertTrue("Returned invalid fd", fis.getFD().valid()); 205 fis.close(); 206 assertTrue("Returned invalid fd", !fis.getFD().valid()); 395 FileInputStream fis = new FileInputStream(fileName); local 398 fis.read(new byte[1], -1, 1); 405 fis.read(new byte[1], 0, -1); 412 fis.read(new byte[1], 0, 5) 438 FileInputStream fis = new FileInputStream(fileName); local 450 FileInputStream fis = new FileInputStream(fileName); local [all...] |
FileDescriptorTest.java | 35 FileInputStream fis = null; local 42 fis = new FileInputStream(f.getPath()); 47 assertEquals(length, fis.available()); 50 fd = fis.getFD(); 52 assertEquals(length, fis.available()); 61 if (fis != null) { 62 fis.close();
|
FileReaderTest.java | 35 FileInputStream fis; field in class:FileReaderTest 61 FileInputStream fis = new FileInputStream(f.getPath()); local 62 br = new FileReader(fis.getFD()); 66 fis.close(); 110 if (fis != null) { 111 fis.close();
|
FileOutputStreamTest.java | 34 private FileInputStream fis; field in class:FileOutputStreamTest 57 if (fis != null) { 58 fis.close(); 82 fis = new FileInputStream(fileName); 83 fos = new FileOutputStream(fis.getFD()); 85 fis.close(); 114 fis = new FileInputStream(f.getPath()); 115 fis.read(buf, 0, buf.length); 181 fis = new FileInputStream(f.getPath()); 183 fis.read(rbytes, 0, fileString.length()) [all...] |
FileWriterTest.java | 32 private FileInputStream fis; field in class:FileWriterTest 101 fis = new FileInputStream(f.getPath()); 102 br = new BufferedReader(new FileReader(fis.getFD())); 106 fis.close(); 180 fis.close();
|
/prebuilts/go/darwin-x86/src/os/ |
dir_windows.go | 8 fis, err := file.Readdir(n) 9 names = make([]string, len(fis)) 10 for i, fi := range fis {
|
/prebuilts/go/linux-x86/src/os/ |
dir_windows.go | 8 fis, err := file.Readdir(n) 9 names = make([]string, len(fis)) 10 for i, fi := range fis {
|
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/ |
ANTLRFileStream.java | 59 FileInputStream fis = new FileInputStream(fileName); local 61 isr = new InputStreamReader(fis, encoding); 64 isr = new InputStreamReader(fis);
|
/libcore/luni/src/test/java/libcore/java/io/ |
FileDescriptorTest.java | 35 FileInputStream fis = new FileInputStream(f); local 36 assertFalse(fis.getFD().isSocket$()); 37 fis.close();
|
FileInputStreamTest.java | 79 FileInputStream fis = new FileInputStream(pipe[0]); local 80 fis.skip(SKIP_SIZE); 81 verifyData(fis, SKIP_SIZE, TOTAL_SIZE - SKIP_SIZE); 82 assertEquals(-1, fis.read()); 169 FileInputStream fis = new FileInputStream(tmp); local 172 fis.close(); 173 fis.close(); 177 fis.available(); 182 fis.read(); 187 fis.read(new byte[1], 0, 1) 239 FileInputStream fis = new FileInputStream(largeFile); local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.monitor/src/com/android/ide/eclipse/monitor/ |
MonitorStartup.java | 64 FileInputStream fis = null; local 66 fis = new FileInputStream(sourceProp); 67 p.load(fis); 69 if (fis != null) { 71 fis.close();
|
/libcore/luni/src/test/java/libcore/java/util/zip/ |
OldZipInputStreamTest.java | 63 FileInputStream fis = new FileInputStream(new File(resources, local 66 ZipInputStream zis1 = new ZipInputStream(fis); 92 FileInputStream fis = new FileInputStream(new File(resources, local 95 ZipInputStream zis1 = new ZipInputStream(fis); 131 FileInputStream fis = new FileInputStream(new File(resources, local 134 ZipInputStream zis1 = new ZipInputStream(fis); 169 FileInputStream fis = new FileInputStream(fl); local 171 Mock_ZipInputStream zis1 = new Mock_ZipInputStream(fis);
|
/cts/libs/deviceutil/src/android/cts/util/ |
SystemUtil.java | 63 FileInputStream fis = new ParcelFileDescriptor.AutoCloseInputStream(pfd); local 65 while ((bytesRead = fis.read(buf)) != -1) { 68 fis.close();
|
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/ |
ANTLRFileStream.js | 51 fis = new java.io.FileInputStream(f); 53 isr = new java.io.InputStreamReader(fis, encoding); 55 isr = new java.io.InputStreamReader(fis);
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
BytesBufferPool.java | 41 FileInputStream fis = new FileInputStream(fd); local 47 int rc = fis.read(data, length, step); 59 fis.close();
|
/cts/tools/dex-tools/src/dex/reader/ |
DexBuffer.java | 33 FileInputStream fis = null; local 35 fis = new FileInputStream(fileName); 37 BufferedInputStream bis = new BufferedInputStream(fis); 47 if (fis != null) { 48 fis.close();
|
/external/antlr/antlr-3.4/runtime/JavaScript/tests/functional/ |
rhino-python.prog | 7 fis = new java.io.FileInputStream(f); 9 isr = new java.io.InputStreamReader(fis, encoding); 11 isr = new java.io.InputStreamReader(fis);
|
/external/jetty/src/java/org/eclipse/jetty/server/session/ |
HashedSession.java | 180 FileInputStream fis = null; local 188 fis = new FileInputStream(file); 190 _hashSessionManager.restoreSession(fis, this); 191 IO.close(fis); 202 if (fis != null) IO.close(fis);//Must ensure closed before invalidate
|
/packages/apps/CertInstaller/src/com/android/certinstaller/ |
Util.java | 83 FileInputStream fis = new FileInputStream(file); local 84 fis.read(data); 85 fis.close();
|
/packages/apps/UnifiedEmail/src/org/apache/commons/io/output/ |
DeferredFileOutputStream.java | 261 FileInputStream fis = new FileInputStream(outputFile); local 263 IOUtils.copy(fis, out); 265 IOUtils.closeQuietly(fis);
|
/frameworks/data-binding/gradlePlugin/src/main/java/android/databinding/tool/ |
DataBindingExcludeGeneratedTask.java | 111 FileInputStream fis = null; local 113 fis = new FileInputStream(generatedClassListFile); 114 return IOUtils.readLines(fis); 122 IOUtils.closeQuietly(fis);
|
/libcore/luni/src/test/java/dalvik/system/ |
BlockGuardTest.java | 106 FileInputStream fis = new FileInputStream(f); local 109 fis.read(new byte[4],0, 4); 112 fis.read(); 115 fis.skip(1); 118 fis.close();
|
/external/apache-xml/src/main/java/org/apache/xalan/xslt/ |
ObjectFactory.java | 296 FileInputStream fis = null; local 321 fis = ss.getFileInputStream(propertiesFile); 322 fXalanProperties.load(fis); 333 if (fis != null) { 335 fis.close(); 346 FileInputStream fis = null; local 348 fis = ss.getFileInputStream(new File(propertiesFilename)); 350 props.load(fis); 359 if (fis != null) { 361 fis.close() [all...] |
/external/apache-xml/src/main/java/org/apache/xml/dtm/ |
ObjectFactory.java | 296 FileInputStream fis = null; local 321 fis = ss.getFileInputStream(propertiesFile); 322 fXalanProperties.load(fis); 333 if (fis != null) { 335 fis.close(); 346 FileInputStream fis = null; local 348 fis = ss.getFileInputStream(new File(propertiesFilename)); 350 props.load(fis); 359 if (fis != null) { 361 fis.close() [all...] |