Home
last modified time | relevance | path

Searched refs:fos (Results 1 – 25 of 39) 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/v1/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/testng/src/test/java/test/distributed/
DDistributedTest.java56 FileOutputStream fos = new FileOutputStream(result); in createMasterProperties() local
57 p.store(fos, "Automatically generated by tests"); in createMasterProperties()
58 fos.close(); in createMasterProperties()
74 FileOutputStream fos = new FileOutputStream(result); in createSlaveProperties() local
75 p.store(fos, "Automatically generated by tests"); in createSlaveProperties()
76 fos.close(); in createSlaveProperties()
/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()
/external/opencv3/samples/android/tutorial-3-cameracontrol/src/org/opencv/samples/tutorial3/
DTutorial3View.java77 FileOutputStream fos = new FileOutputStream(mPictureFileName); in onPictureTaken() local
79 fos.write(data); in onPictureTaken()
80 fos.close(); in onPictureTaken()
/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/libjpeg-turbo/java/
DTJExample.java279 FileOutputStream fos = new FileOutputStream(file); in main() local
280 fos.write(tjd.getJPEGBuf(), 0, tjd.getJPEGSize()); in main()
281 fos.close(); in main()
336 FileOutputStream fos = new FileOutputStream(file); in main() local
337 fos.write(jpegBuf, 0, jpegSize); in main()
338 fos.close(); in main()
/external/icu/icu4j/tools/build/src/com/ibm/icu/dev/tool/docs/
DCollectAPI.java41 FileOutputStream fos = new FileOutputStream(outfile); in writeHTML() local
42 PrintWriter pw = new PrintWriter(new BufferedWriter(new OutputStreamWriter(fos, "UTF-8"))); in writeHTML()
148 FileOutputStream fos = new FileOutputStream(outfile); in writeTSV() local
149 PrintWriter pw = new PrintWriter(new BufferedWriter(new OutputStreamWriter(fos, "UTF-8"))); in writeTSV()
/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/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/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/icu/tools/srcgen/currysrc/src/main/java/com/google/currysrc/
DMain.java111 FileOutputStream fos = new FileOutputStream(outputFile); in writeSource() local
112 Writer writer = new OutputStreamWriter(fos, JAVA_SOURCE_CHARSET); in writeSource()
/external/valgrind/include/vki/
Dvki-x86-linux.h584 long fos; member
596 long fos; member
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/timezone/
DICUZDump.java336 … FileOutputStream fos = new FileOutputStream(new File(dirfile, tzids[i].replace('/', '-'))); in main() local
337 Writer w = new BufferedWriter(new OutputStreamWriter(fos)); in main()
/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