Home
last modified time | relevance | path

Searched refs:fos (Results 1 – 25 of 35) sorted by relevance

12

/external/sfntly/cpp/src/test/
Dendian_test.cc55 FontOutputStream fos(&os); in TestEndian() local
56 fos.WriteULong(Tag::head); in TestEndian()
57 fos.Write(202); in TestEndian()
58 fos.Write(202); in TestEndian()
59 fos.Write(202); in TestEndian()
60 fos.Write(202); in TestEndian()
61 fos.WriteUShort(24); in TestEndian()
62 fos.WriteShort(-32744); in TestEndian()
63 fos.WriteUInt24(24); in TestEndian()
64 fos.WriteChar(0); in TestEndian()
[all …]
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DContextTest.java108 FileOutputStream fos = null; in shouldWriteToCacheDir() local
110 fos = new FileOutputStream(cacheTest); in shouldWriteToCacheDir()
111 fos.write("test".getBytes()); in shouldWriteToCacheDir()
113 if (fos != null) in shouldWriteToCacheDir()
114 fos.close(); in shouldWriteToCacheDir()
126 FileOutputStream fos = null; in shouldWriteToExternalCacheDir() local
128 fos = new FileOutputStream(cacheTest); in shouldWriteToExternalCacheDir()
129 fos.write("test".getBytes()); in shouldWriteToExternalCacheDir()
131 if (fos != null) in shouldWriteToExternalCacheDir()
132 fos.close(); in shouldWriteToExternalCacheDir()
[all …]
/external/sfntly/cpp/src/sfntly/
Dfont.cc75 FontOutputStream fos(os); in Serialize() local
76 SerializeHeader(&fos, &table_records); in Serialize()
77 SerializeTables(&fos, &table_records); in Serialize()
113 void Font::SerializeHeader(FontOutputStream* fos, in SerializeHeader() argument
115 fos->WriteFixed(sfnt_version_); in SerializeHeader()
116 fos->WriteUShort(table_headers->size()); in SerializeHeader()
119 fos->WriteUShort(search_range); in SerializeHeader()
120 fos->WriteUShort(log2_of_max_power_of_2); in SerializeHeader()
121 fos->WriteUShort((table_headers->size() * 16) - search_range); in SerializeHeader()
131 fos->WriteULong((*record)->tag()); in SerializeHeader()
[all …]
Dfont.h319 void SerializeHeader(FontOutputStream* fos, TableHeaderList* table_headers);
325 void SerializeTables(FontOutputStream* fos, TableHeaderList* table_headers);
/external/jetty/src/java/org/eclipse/jetty/server/session/
DHashedSession.java112 FileOutputStream fos = null; in save() local
121 fos = new FileOutputStream(file); in save()
123 save(fos); in save()
124 IO.close(fos); in save()
133 if (fos != null) IO.close(fos); in save()
/external/slf4j/slf4j-migrator/src/main/java/org/slf4j/migrator/
DInplaceFileConverter.java81 FileOutputStream fos = new FileOutputStream(file); in writeConvertedBytesIntoFile() local
82 fos.write(convertedBytes); in writeConvertedBytesIntoFile()
83 fos.flush(); in writeConvertedBytesIntoFile()
84 fos.close(); in writeConvertedBytesIntoFile()
/external/jdiff/src/jdiff/
DHTMLFiles.java29 FileOutputStream fos = new FileOutputStream(tln); in emitTopLevelFile() local
30 h_.reportFile = new PrintWriter(fos); in emitTopLevelFile()
82 FileOutputStream fos = new FileOutputStream(tlf); in emitTopLeftFile() local
83 h_.reportFile = new PrintWriter(fos); in emitTopLeftFile()
128 FileOutputStream fos = new FileOutputStream(helpFileName); in emitHelp() local
129 h_.reportFile = new PrintWriter(fos); in emitHelp()
274 FileOutputStream fos = new FileOutputStream(stylesheetFileName); in emitStylesheet() local
275 h_.reportFile = new PrintWriter(fos); in emitStylesheet()
DComments.java124 FileOutputStream fos = new FileOutputStream(xsdFileName); in writeXSD() local
125 PrintWriter xsdFile = new PrintWriter(fos); in writeXSD()
382 FileOutputStream fos = new FileOutputStream(outputFileName); in writeFile() local
383 outputFile = new PrintWriter(fos); in writeFile()
DDiff.java308 FileOutputStream fos = new FileOutputStream(fullDiffFileName); in emitDocDiffs() local
309 diffFile = new PrintWriter(fos); in emitDocDiffs()
443 FileOutputStream fos = new FileOutputStream(fullDiffFileName); in emitDocDiffIndex() local
444 diffFile = new PrintWriter(fos); in emitDocDiffIndex()
DHTMLStatistics.java31 FileOutputStream fos = new FileOutputStream(filename); in emitStatistics() local
32 h_.reportFile = new PrintWriter(fos); in emitStatistics()
DRootDocToXML.java40 FileOutputStream fos = new FileOutputStream(tempFileName); in writeXML() local
41 outputFile = new PrintWriter(fos); in writeXML()
89 FileOutputStream fos = new FileOutputStream(xsdFileName); in writeXSD() local
90 PrintWriter xsdFile = new PrintWriter(fos); in writeXSD()
DHTMLReportGenerator.java69 FileOutputStream fos = new FileOutputStream(changesSummaryName); in generate() local
70 reportFile = new PrintWriter(fos); in generate()
276 FileOutputStream fos = new FileOutputStream(localReportFileName); in reportChangedPackage() local
277 reportFile = new PrintWriter(fos); in reportChangedPackage()
449 FileOutputStream fos = new FileOutputStream(localReportFileName); in reportChangedClass() local
450 reportFile = new PrintWriter(fos); in reportChangedClass()
/external/jmonkeyengine/engine/src/test/jme3test/terrain/
DTerrainTestReadWrite.java201 FileOutputStream fos = null;
204 fos = new FileOutputStream(new File("terrainsave.jme"));
207 … BinaryExporter.getInstance().save((Savable)terrain, new BufferedOutputStream(fos));
209 fos.flush();
216 if (fos != null) {
217 fos.close();
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/misc/
DStats.java175 FileOutputStream fos = new FileOutputStream(f, true); // append in writeReport() local
176 BufferedOutputStream bos = new BufferedOutputStream(fos); in writeReport()
181 fos.close(); in writeReport()
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/
DKSBuilder_ImplTest.java76 FileOutputStream fos = null; in createKS() local
82 fos = new FileOutputStream(ff); in createKS()
84 ks.store(fos, pass); in createKS()
86 if (fos != null) { in createKS()
88 fos.close(); in createKS()
/external/mockito/cglib-and-asm/src/org/mockito/cglib/transform/
DAbstractTransformTask.java92 FileOutputStream fos = new FileOutputStream(file); in processClassFile() local
94 fos.write(w.toByteArray()); in processClassFile()
96 fos.close(); in processClassFile()
/external/junit/src/junit/runner/
DBaseTestRunner.java57 FileOutputStream fos= new FileOutputStream(getPreferencesFile()); in savePreferences() local
59 getPreferences().store(fos, ""); in savePreferences()
61 fos.close(); in savePreferences()
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/heightmap/
DAbstractHeightMap.java257 FileOutputStream fos = new FileOutputStream(filename); in save() local
258 DataOutputStream dos = new DataOutputStream(fos); in save()
265 fos.close(); in save()
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/
DGrammarSerializerFoo.java60 FileOutputStream fos = new FileOutputStream(filename); in open() local
61 BufferedOutputStream bos = new BufferedOutputStream(fos); in open()
/external/jmonkeyengine/engine/src/core-plugins/com/jme3/export/binary/
DBinaryExporter.java335 FileOutputStream fos = new FileOutputStream(f); in save() local
336 boolean rVal = save(object, fos); in save()
337 fos.close(); in save()
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/adaptivestreaming/
DFlatPackageWriterImpl.java148 … FileOutputStream fos = new FileOutputStream(new File(bitRateOutputDir, Long.toString(startTime))); in write() local
150 FileChannel fc = fos.getChannel(); in write()
/external/google-breakpad/src/client/linux/dump_writer_common/
Dthread_info.cc102 out->float_save.data_selector = fpregs.fos; in FillCPUContext()
115 U16(out->extended_registers + 20, fpregs.fos); in FillCPUContext()
/external/lldb/source/Plugins/Process/POSIX/
DRegisterContext_i386.h128 uint32_t fos; member
/external/valgrind/include/vki/
Dvki-x86-linux.h584 long fos; member
596 long fos; member
/external/slf4j/slf4j-simple/src/main/java/org/slf4j/impl/
DSimpleLogger.java219 FileOutputStream fos = new FileOutputStream(logFile); in computeTargetStream() local
220 PrintStream printStream = new PrintStream(fos); in computeTargetStream()

12