/external/sfntly/cpp/src/test/ |
D | endian_test.cc | 55 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/ |
D | font.cc | 78 FontOutputStream fos(os); in Serialize() local 79 SerializeHeader(&fos, &table_records); in Serialize() 80 SerializeTables(&fos, &table_records); in Serialize() 116 void Font::SerializeHeader(FontOutputStream* fos, in SerializeHeader() argument 118 fos->WriteFixed(sfnt_version_); in SerializeHeader() 119 fos->WriteUShort(table_headers->size()); in SerializeHeader() 122 fos->WriteUShort(search_range); in SerializeHeader() 123 fos->WriteUShort(log2_of_max_power_of_2); in SerializeHeader() 124 fos->WriteUShort((table_headers->size() * 16) - search_range); in SerializeHeader() 134 fos->WriteULong((*record)->tag()); in SerializeHeader() [all …]
|
D | font.h | 319 void SerializeHeader(FontOutputStream* fos, TableHeaderList* table_headers); 325 void SerializeTables(FontOutputStream* fos, TableHeaderList* table_headers);
|
/external/testng/src/test/java/test/distributed/ |
D | DistributedTest.java | 56 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/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/zip/ |
D | Lister.java | 97 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()
|
D | DataDescriptorTest.java | 144 try (FileOutputStream fos = new FileOutputStream(f)) { in doesntWriteDataDescriptorWhenAddingRawEntries() argument 145 fos.write(init.toByteArray()); in doesntWriteDataDescriptorWhenAddingRawEntries()
|
/external/jdiff/src/jdiff/ |
D | HTMLFiles.java | 29 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()
|
D | Comments.java | 124 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()
|
D | Diff.java | 308 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()
|
/external/slf4j/slf4j-migrator/src/main/java/org/slf4j/migrator/ |
D | InplaceFileConverter.java | 81 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/antlr/runtime/Java/src/main/java/org/antlr/runtime/misc/ |
D | Stats.java | 175 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/ |
D | TJExample.java | 319 FileOutputStream fos = new FileOutputStream(outFile); in main() local 320 fos.write(tjd.getJPEGBuf(), 0, tjd.getJPEGSize()); in main() 321 fos.close(); in main() 386 FileOutputStream fos = new FileOutputStream(outFile); in main() local 387 fos.write(jpegBuf, 0, jpegSize); in main() 388 fos.close(); in main()
|
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/ar/ |
D | ArArchiveOutputStreamTest.java | 49 try (FileOutputStream fos = new FileOutputStream(df[1]); in testLongFileNamesWorkUsingBSDDialect() argument 50 ArArchiveOutputStream os = new ArArchiveOutputStream(fos)) { in testLongFileNamesWorkUsingBSDDialect()
|
/external/icu/icu4j/tools/build/src/com/ibm/icu/dev/tool/docs/ |
D | CollectAPI.java | 43 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/ |
D | ShadowContextTest.java | 95 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-compress/src/main/java/org/apache/commons/compress/compressors/pack200/ |
D | Pack200Utils.java | 135 try (FileOutputStream fos = new FileOutputStream(tempFile); in normalize() argument 139 packer.pack(jarFile, fos); in normalize()
|
/external/apache-commons-bcel/src/test/java/org/apache/bcel/util/ |
D | BCELifierTestCase.java | 62 try (FileOutputStream fos = new FileOutputStream(outfile)) { in testClassOnPath() argument 63 final BCELifier bcelifier = new BCELifier(java_class, fos); in testClassOnPath()
|
/external/volley/src/main/java/com/android/volley/toolbox/ |
D | DiskBasedCache.java | 216 BufferedOutputStream fos = new BufferedOutputStream(createOutputStream(file)); in put() local 218 boolean success = e.writeHeader(fos); in put() 220 fos.close(); in put() 224 fos.write(entry.data); in put() 225 fos.close(); in put()
|
/external/junit/src/main/java/junit/runner/ |
D | BaseTestRunner.java | 57 FileOutputStream fos = new FileOutputStream(getPreferencesFile()); in savePreferences() local 59 getPreferences().store(fos, ""); in savePreferences() 61 fos.close(); in savePreferences()
|
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/sevenz/ |
D | CLI.java | 85 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/ |
D | GrammarSerializerFoo.java | 58 FileOutputStream fos = new FileOutputStream(filename); in open() local 59 BufferedOutputStream bos = new BufferedOutputStream(fos); in open()
|
/external/volley/src/test/java/com/android/volley/toolbox/ |
D | DiskBasedCacheTest.java | 307 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()
|
/external/mesa3d/src/gallium/state_trackers/clover/llvm/codegen/ |
D | native.cpp | 129 compat::raw_ostream_to_emit_file fos(os); in emit_code() local 135 if (tm->addPassesToEmitFile(pm, fos, ft)) in emit_code()
|
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/utils/ |
D | TestUtils.java | 77 try (FileOutputStream fos = new FileOutputStream(newFile.toFile())) { in unzip() argument 80 fos.write(buffer, 0, len); in unzip()
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/adaptivestreaming/ |
D | FlatPackageWriterImpl.java | 148 … FileOutputStream fos = new FileOutputStream(new File(bitRateOutputDir, Long.toString(startTime))); in write() local 150 FileChannel fc = fos.getChannel(); in write()
|