Home
last modified time | relevance | path

Searched refs:fis (Results 1 – 25 of 34) sorted by relevance

12

/external/testng/src/main/java/org/testng/internal/
DPropertiesFile.java27 FileInputStream fis = null; in PropertiesFile() local
32 fis = new FileInputStream(new File(fileName)); in PropertiesFile()
33 m_properties.load(fis); in PropertiesFile()
37 if( fis != null) { in PropertiesFile()
38 fis.close(); in PropertiesFile()
/external/libmojo/base/android/java/src/org/chromium/base/
DSecureRandomInitializer.java25 FileInputStream fis = null; in initialize() local
27 fis = new FileInputStream("/dev/urandom"); in initialize()
28 if (fis.read(sSeedBytes) != sSeedBytes.length) { in initialize()
34 if (fis != null) { in initialize()
35 fis.close(); in initialize()
/external/apache-xml/src/main/java/org/apache/xml/utils/
DObjectFactory.java296 FileInputStream fis = null; in lookUpFactoryClassName() local
321 fis = ss.getFileInputStream(propertiesFile); in lookUpFactoryClassName()
322 fXalanProperties.load(fis); in lookUpFactoryClassName()
333 if (fis != null) { in lookUpFactoryClassName()
335 fis.close(); in lookUpFactoryClassName()
346 FileInputStream fis = null; in lookUpFactoryClassName() local
348 fis = ss.getFileInputStream(new File(propertiesFilename)); in lookUpFactoryClassName()
350 props.load(fis); in lookUpFactoryClassName()
359 if (fis != null) { in lookUpFactoryClassName()
361 fis.close(); in lookUpFactoryClassName()
/external/apache-xml/src/main/java/org/apache/xml/dtm/
DObjectFactory.java296 FileInputStream fis = null; in lookUpFactoryClassName() local
321 fis = ss.getFileInputStream(propertiesFile); in lookUpFactoryClassName()
322 fXalanProperties.load(fis); in lookUpFactoryClassName()
333 if (fis != null) { in lookUpFactoryClassName()
335 fis.close(); in lookUpFactoryClassName()
346 FileInputStream fis = null; in lookUpFactoryClassName() local
348 fis = ss.getFileInputStream(new File(propertiesFilename)); in lookUpFactoryClassName()
350 props.load(fis); in lookUpFactoryClassName()
359 if (fis != null) { in lookUpFactoryClassName()
361 fis.close(); in lookUpFactoryClassName()
/external/apache-xml/src/main/java/org/apache/xml/serializer/
DObjectFactory.java295 FileInputStream fis = null; in lookUpFactoryClassName() local
320 fis = ss.getFileInputStream(propertiesFile); in lookUpFactoryClassName()
321 fXalanProperties.load(fis); in lookUpFactoryClassName()
332 if (fis != null) { in lookUpFactoryClassName()
334 fis.close(); in lookUpFactoryClassName()
345 FileInputStream fis = null; in lookUpFactoryClassName() local
347 fis = ss.getFileInputStream(new File(propertiesFilename)); in lookUpFactoryClassName()
349 props.load(fis); in lookUpFactoryClassName()
358 if (fis != null) { in lookUpFactoryClassName()
360 fis.close(); in lookUpFactoryClassName()
/external/apache-xml/src/main/java/org/apache/xpath/functions/
DObjectFactory.java296 FileInputStream fis = null; in lookUpFactoryClassName() local
321 fis = ss.getFileInputStream(propertiesFile); in lookUpFactoryClassName()
322 fXalanProperties.load(fis); in lookUpFactoryClassName()
333 if (fis != null) { in lookUpFactoryClassName()
335 fis.close(); in lookUpFactoryClassName()
346 FileInputStream fis = null; in lookUpFactoryClassName() local
348 fis = ss.getFileInputStream(new File(propertiesFilename)); in lookUpFactoryClassName()
350 props.load(fis); in lookUpFactoryClassName()
359 if (fis != null) { in lookUpFactoryClassName()
361 fis.close(); in lookUpFactoryClassName()
/external/apache-xml/src/main/java/org/apache/xalan/xslt/
DObjectFactory.java296 FileInputStream fis = null; in lookUpFactoryClassName() local
321 fis = ss.getFileInputStream(propertiesFile); in lookUpFactoryClassName()
322 fXalanProperties.load(fis); in lookUpFactoryClassName()
333 if (fis != null) { in lookUpFactoryClassName()
335 fis.close(); in lookUpFactoryClassName()
346 FileInputStream fis = null; in lookUpFactoryClassName() local
348 fis = ss.getFileInputStream(new File(propertiesFilename)); in lookUpFactoryClassName()
350 props.load(fis); in lookUpFactoryClassName()
359 if (fis != null) { in lookUpFactoryClassName()
361 fis.close(); in lookUpFactoryClassName()
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/
DANTLRFileStream.java59 FileInputStream fis = new FileInputStream(fileName); in load() local
61 isr = new InputStreamReader(fis, encoding); in load()
64 isr = new InputStreamReader(fis); in load()
DSerializedGrammar.java91 FileInputStream fis = new FileInputStream(filename); in SerializedGrammar() local
92 BufferedInputStream bos = new BufferedInputStream(fis); in SerializedGrammar()
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/
DANTLRFileStream.js51 fis = new java.io.FileInputStream(f);
53 isr = new java.io.InputStreamReader(fis, encoding);
55 isr = new java.io.InputStreamReader(fis);
/external/smali/smali/src/main/java/org/jf/smali/
DSmali.java150 FileInputStream fis = null; in assembleSmaliFile() local
152 fis = new FileInputStream(smaliFile); in assembleSmaliFile()
153 InputStreamReader reader = new InputStreamReader(fis, "UTF-8"); in assembleSmaliFile()
203 if (fis != null) { in assembleSmaliFile()
204 fis.close(); in assembleSmaliFile()
/external/slf4j/slf4j-migrator/src/main/java/org/slf4j/migrator/
DInplaceFileConverter.java56 FileInputStream fis = new FileInputStream(file); in readIntoByteArray() local
60 while ((n = fis.read(buffer)) != -1) { in readIntoByteArray()
64 fis.close(); in readIntoByteArray()
/external/caliper/caliper/src/main/java/com/google/caliper/config/
DLoggingConfigLoader.java63 FileInputStream fis = null; in loadLoggingConfig() local
65 fis = closer.register(new FileInputStream(loggingPropertiesFile)); in loadLoggingConfig()
66 logManager.readConfiguration(fis); in loadLoggingConfig()
/external/antlr/antlr-3.4/runtime/JavaScript/tests/functional/
Drhino-python.prog7 fis = new java.io.FileInputStream(f);
9 isr = new java.io.InputStreamReader(fis, encoding);
11 isr = new java.io.InputStreamReader(fis);
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/serializable/
DCompatibilityTest.java147 FileInputStream fis = new FileInputStream(file); in getFileList() local
150 fileBytes = SerializableTestUtility.copyStreamBytes(fis); in getFileList()
152 fis.close(); in getFileList()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/
DCompatibilityTest.java146 FileInputStream fis = new FileInputStream(file); in getFileList() local
149 fileBytes = SerializableTestUtility.copyStreamBytes(fis); in getFileList()
151 fis.close(); in getFileList()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/io/
DFileDeferredOutputStream.java36 InputStream fis = new FileInputStream(backingFile); in writeTo() local
37 ByteStreams.copy(fis, dest); in writeTo()
/external/volley/src/main/java/com/android/volley/toolbox/
DDiskBasedCache.java158 BufferedInputStream fis = null; in initialize() local
160 fis = new BufferedInputStream(new FileInputStream(file)); in initialize()
161 CacheHeader entry = CacheHeader.readHeader(fis); in initialize()
170 if (fis != null) { in initialize()
171 fis.close(); in initialize()
/external/libjpeg-turbo/java/
DTJExample.java245 FileInputStream fis = new FileInputStream(file); in main() local
246 int inputSize = fis.available(); in main()
252 fis.read(inputBuf); in main()
253 fis.close(); in main()
DTJBench.java438 FileInputStream fis = new FileInputStream(fileName); in decompTest() local
439 if (fis.getChannel().size() > (long)Integer.MAX_VALUE) in decompTest()
441 int srcSize = (int)fis.getChannel().size(); in decompTest()
443 fis.read(srcBuf, 0, srcSize); in decompTest()
444 fis.close(); in decompTest()
/external/icu/icu4j/perf-tests/src/com/ibm/icu/dev/test/perf/
DCollationPerformanceTest.java1064 FileInputStream fis = null; in readDataLines() local
1068 fis = new FileInputStream(opt_fName); in readDataLines()
1069 isr = new InputStreamReader(fis, "UTF-8"); in readDataLines()
1113 FileInputStream fis = null; in getCollationRules() local
1117 fis = new FileInputStream(opt_rules); in getCollationRules()
1118 isr = new InputStreamReader(fis,"ISO-8859-1"); in getCollationRules()
DPerfTest.java750 FileInputStream fis = null; in readLines() local
754 fis = new FileInputStream(filename); in readLines()
755 isr = new InputStreamReader(fis, srcEncoding); in readLines()
/external/google-breakpad/src/tools/mac/upload_system_symbols/
Dupload_system_symbols.go343 fis, err := d.Readdir(100)
348 for _, fi := range fis {
/external/icu/icu4j/tools/build/src/com/ibm/icu/dev/tool/docs/
DICUJDKCompare.java164 FileInputStream fis = new FileInputStream(f); in setup() local
165 InputStreamReader isr = new InputStreamReader(fis); in setup()
198 FileInputStream fis = new FileInputStream(f); in setup() local
199 InputStreamReader isr = new InputStreamReader(fis); in setup()
/external/nanohttpd/webserver/src/main/java/fi/iki/elonen/
DSimpleWebServer.java526 FileInputStream fis = new FileInputStream(file); in serveFile() local
527 fis.skip(startFrom); in serveFile()
529 … res = newFixedLengthResponse(Response.Status.PARTIAL_CONTENT, mime, fis, newLen); in serveFile()

12