Home
last modified time | relevance | path

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

123

/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/sfntly/cpp/src/sfntly/
Dfont.cc85 FontOutputStream fos(os); in Serialize() local
86 SerializeHeader(&fos, &table_records); in Serialize()
87 SerializeTables(&fos, &table_records); in Serialize()
119 void Font::SerializeHeader(FontOutputStream* fos, in SerializeHeader() argument
121 fos->WriteFixed(sfnt_version_); in SerializeHeader()
122 fos->WriteUShort(table_headers->size()); in SerializeHeader()
125 fos->WriteUShort(search_range); in SerializeHeader()
126 fos->WriteUShort(log2_of_max_power_of_2); in SerializeHeader()
127 fos->WriteUShort((table_headers->size() * 16) - search_range); in SerializeHeader()
137 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/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/zip/
DLister.java97 FileOutputStream fos = null; in extract() local
99 fos = new FileOutputStream(f); in extract()
100 IOUtils.copy(is, fos); in extract()
102 if (fos != null) { in extract()
103 fos.close(); in extract()
/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()
/external/dokka/core/src/main/kotlin/Utilities/
DDownloadSamples.kt50 val fos = FileOutputStream("$filepath.tar.gz") in <lambda>() constant
51 fos.write(response.body?.bytes()) in <lambda>()
52 fos.close() in <lambda>()
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/upstream/cache/
DCachedContentIndexTest.java155 FileOutputStream fos = in legacyLoadV1() local
157 fos.write(testIndexV1File); in legacyLoadV1()
158 fos.close(); in legacyLoadV1()
176 FileOutputStream fos = in legacyLoadV2() local
178 fos.write(testIndexV2File); in legacyLoadV2()
179 fos.close(); in legacyLoadV2()
/external/antlr/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-commons-compress/src/test/java/org/apache/commons/compress/archivers/ar/
DArArchiveOutputStreamTest.java49 try (FileOutputStream fos = new FileOutputStream(df[1]); in testLongFileNamesWorkUsingBSDDialect() argument
50 ArArchiveOutputStream os = new ArArchiveOutputStream(fos)) { in testLongFileNamesWorkUsingBSDDialect()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/compressors/pack200/
DPack200Utils.java135 try (FileOutputStream fos = new FileOutputStream(tempFile); in normalize() argument
139 packer.pack(jarFile, fos); in normalize()
/external/icu/icu4j/tools/build/src/com/ibm/icu/dev/tool/docs/
DCollectAPI.java43 FileOutputStream fos = new FileOutputStream(outfile); in writeHTML() local
44 PrintWriter pw = new PrintWriter(new BufferedWriter(new OutputStreamWriter(fos, "UTF-8"))); in writeHTML()
150 FileOutputStream fos = new FileOutputStream(outfile); in writeTSV() local
151 PrintWriter pw = new PrintWriter(new BufferedWriter(new OutputStreamWriter(fos, "UTF-8"))); in writeTSV()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowContextTest.java95 try (FileOutputStream fos = new FileOutputStream(cacheTest)) { in shouldWriteToCacheDir() argument
96 fos.write("test".getBytes(UTF_8)); in shouldWriteToCacheDir()
111 try (FileOutputStream fos = new FileOutputStream(cacheTest)) { in shouldWriteToExternalCacheDir() argument
112 fos.write("test".getBytes(UTF_8)); in shouldWriteToExternalCacheDir()
190 …try (FileOutputStream fos = context.openFileOutput(File.separator + "data" + File.separator + "tes… in openFileOutput_shouldNotAcceptPathsWithSeparatorCharacters() argument
/external/apache-commons-bcel/src/test/java/org/apache/bcel/util/
DBCELifierTestCase.java62 try (FileOutputStream fos = new FileOutputStream(outfile)) { in testClassOnPath() argument
63 final BCELifier bcelifier = new BCELifier(java_class, fos); in testClassOnPath()
/external/junit/src/main/java/junit/runner/
DBaseTestRunner.java59 FileOutputStream fos = new FileOutputStream(getPreferencesFile()); in savePreferences() local
61 getPreferences().store(fos, ""); in savePreferences()
63 fos.close(); in savePreferences()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/sevenz/
DCLI.java85 try (final FileOutputStream fos = new FileOutputStream(outFile)) { in takeAction() argument
99 fos.write(buf, 0, bytesRead); in takeAction()
/external/antlr/tool/src/main/java/org/antlr/tool/
DGrammarSerializerFoo.java58 FileOutputStream fos = new FileOutputStream(filename); in open() local
59 BufferedOutputStream bos = new BufferedOutputStream(fos); in open()
/external/volley/src/main/java/com/android/volley/toolbox/
DDiskBasedCache.java246 BufferedOutputStream fos = new BufferedOutputStream(createOutputStream(file)); in put() local
248 boolean success = e.writeHeader(fos); in put()
250 fos.close(); in put()
254 fos.write(entry.data); in put()
255 fos.close(); in put()
/external/llvm-project/clang/test/Sema/
Dxray-log-args-oob.c9 void fos() __attribute__((xray_log_args(0))); // expected-error {{'xray_log_args' attribute paramet…
Dxray-log-args-oob.cpp9 void fos [[clang::xray_log_args(0)]] (); // expected-error {{'xray_log_args' attribute parameter 1 …
/external/libtextclassifier/java/tests/instrumentation/src/com/android/textclassifier/common/statsd/
DStatsdTestUtils.java115 try (FileOutputStream fos = new ParcelFileDescriptor.AutoCloseOutputStream(pipes[1])) { in runShellCommand() argument
117 fos.write(input); in runShellCommand()
/external/icu/android_icu4j/testing/src/com/android/i18n/test/timezone/
DZoneInfoDbTest.java294 FileOutputStream fos = new FileOutputStream(f); in makeTemporaryFile() local
295 fos.write(content); in makeTemporaryFile()
296 fos.close(); in makeTemporaryFile()
/external/volley/src/test/java/com/android/volley/toolbox/
DDiskBasedCacheTest.java307 FileOutputStream fos = new FileOutputStream(file); in testGetBadMagic() local
309 DiskBasedCache.writeInt(fos, 0); // overwrite magic in testGetBadMagic()
312 fos.close(); in testGetBadMagic()
330 FileOutputStream fos = new FileOutputStream(file); in testGetWrongKey() local
334 wrongHeader.writeHeader(fos); in testGetWrongKey()
337 fos.close(); in testGetWrongKey()

123