Home
last modified time | relevance | path

Searched refs:FileOutputStream (Results 1 – 25 of 314) sorted by relevance

12345678910>>...13

/external/apache-commons-compress/src/test/java/org/apache/commons/compress/compressors/zstandard/
DZstdRoundtripTest.java22 import java.io.FileOutputStream;
35 ZstdCompressorOutputStream wrap(FileOutputStream os) throws IOException; in wrap()
42 public ZstdCompressorOutputStream wrap(FileOutputStream os) throws IOException { in directRoundtrip()
53 FileOutputStream os = new FileOutputStream(output); in roundtrip()
75 FileOutputStream os = new FileOutputStream(output); in factoryRoundtrip()
93 public ZstdCompressorOutputStream wrap(FileOutputStream os) throws IOException { in roundtripWithCustomLevel()
103 public ZstdCompressorOutputStream wrap(FileOutputStream os) throws IOException { in roundtripWithCloseFrameOnFlush()
113 public ZstdCompressorOutputStream wrap(FileOutputStream os) throws IOException { in roundtripWithChecksum()
/external/protobuf/src/google/protobuf/io/
Dzero_copy_stream_impl.cc165 FileOutputStream::FileOutputStream(int file_descriptor, int block_size) in FileOutputStream() function in google::protobuf::io::FileOutputStream
168 FileOutputStream::~FileOutputStream() { impl_.Flush(); } in ~FileOutputStream()
170 bool FileOutputStream::Close() { in Close()
175 bool FileOutputStream::Flush() { return impl_.Flush(); } in Flush()
177 bool FileOutputStream::Next(void** data, int* size) { in Next()
181 void FileOutputStream::BackUp(int count) { impl_.BackUp(count); } in BackUp()
183 int64 FileOutputStream::ByteCount() const { return impl_.ByteCount(); } in ByteCount()
185 FileOutputStream::CopyingFileOutputStream::CopyingFileOutputStream( in CopyingFileOutputStream()
192 FileOutputStream::CopyingFileOutputStream::~CopyingFileOutputStream() { in ~CopyingFileOutputStream()
200 bool FileOutputStream::CopyingFileOutputStream::Close() { in Close()
[all …]
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/compressors/
DDeflateTestCase.java23 import java.io.FileOutputStream;
45 try (OutputStream out = new FileOutputStream(output)) { in testDeflateCreation()
62 try (OutputStream out = new FileOutputStream(output)) { in testRawDeflateCreation()
83 FileOutputStream out = null; in testDeflateUnarchive()
85 out = new FileOutputStream(output); in testDeflateUnarchive()
109 FileOutputStream out = null; in testRawDeflateUnarchive()
111 out = new FileOutputStream(output); in testRawDeflateUnarchive()
DFramedSnappyTestCase.java26 import java.io.FileOutputStream;
78 FileOutputStream out = null; in testUnarchive()
80 out = new FileOutputStream(output); in testUnarchive()
110 try (FileOutputStream fs = new FileOutputStream(input)) { in testRoundtripWithOneBigWrite()
118 FileOutputStream os = new FileOutputStream(outputSz); in testRoundtripWithOneBigWrite()
140 FileOutputStream os = new FileOutputStream(outputSz); in testRoundtrip()
DBZip2TestCase.java25 import java.io.FileOutputStream;
42 final OutputStream out = new FileOutputStream(output); in testBzipCreation()
56 final FileOutputStream os = new FileOutputStream(decompressed); in testBzipCreation()
71 final FileOutputStream os = new FileOutputStream(output); in testBzip2Unarchive()
DXZTestCase.java25 import java.io.FileOutputStream;
43 try (OutputStream out = new FileOutputStream(output)) { in testXZCreation()
58 FileOutputStream out = null; in testXZUnarchive()
60 out = new FileOutputStream(output); in testXZUnarchive()
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/adaptivestreaming/
DFlatPackageWriterImpl.java29 import java.io.FileOutputStream;
98 FileOutputStream muxedFileOutputStream = new FileOutputStream(muxedFile); in write()
109 FileOutputStream muxedFileOutputStream = new FileOutputStream(muxedFile); in write()
116 FileOutputStream allQualis = new FileOutputStream(allQualities); in write()
148FileOutputStream fos = new FileOutputStream(new File(bitRateOutputDir, Long.toString(startTime))); in write()
/external/jacoco/org.jacoco.ant.test/src/org/jacoco/ant/
DCreateExecFiles.java14 import java.io.FileOutputStream;
31 out = new FileOutputStream(BASE_LOCATION + "sample1.exec"); in main()
35 out = new FileOutputStream(BASE_LOCATION + "sample2.exec"); in main()
39 out = new FileOutputStream(BASE_LOCATION + "nomatch.exec"); in main()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowParcelFileDescriptorTest.java10 import java.io.FileOutputStream;
27 FileOutputStream os = new FileOutputStream(file); in setUp()
31 os = new FileOutputStream(readOnlyFile); in setUp()
63 FileOutputStream os = new FileOutputStream(pfd.getFileDescriptor()); in testOpens_canWriteWritableFile()
84 FileOutputStream os = new FileOutputStream(pfd.getFileDescriptor()); in testStatSize_writtenFile()
DShadowContextTest.java17 import java.io.FileOutputStream;
95 try (FileOutputStream fos = new FileOutputStream(cacheTest)) { in shouldWriteToCacheDir()
111 try (FileOutputStream fos = new FileOutputStream(cacheTest)) { in shouldWriteToExternalCacheDir()
178 …try (FileOutputStream fileOutputStream = context.openFileOutput("__test__", Context.MODE_PRIVATE))… in openFileOutput_shouldReturnAFileOutputStream()
190 …try (FileOutputStream fos = context.openFileOutput(File.separator + "data" + File.separator + "tes… in openFileOutput_shouldNotAcceptPathsWithSeparatorCharacters()
199 …try (FileOutputStream fileOutputStream = context.openFileOutput("__test__", Context.MODE_APPEND)) { in openFileOutput_shouldAppendData()
202 …try (FileOutputStream fileOutputStream = context.openFileOutput("__test__", Context.MODE_APPEND)) { in openFileOutput_shouldAppendData()
217 try (FileOutputStream fileOutputStream = context.openFileOutput("__test__", 0)) { in openFileOutput_shouldOverwriteData()
220 try (FileOutputStream fileOutputStream = context.openFileOutput("__test__", 0)) { in openFileOutput_shouldOverwriteData()
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/
DJarTestCase.java23 import java.io.FileOutputStream;
41 final OutputStream out = new FileOutputStream(output); in testJarArchiveCreation()
66 OutputStream out = new FileOutputStream(o); in testJarUnarchive()
73 out = new FileOutputStream(o); in testJarUnarchive()
80 out = new FileOutputStream(o); in testJarUnarchive()
103 final OutputStream out = new FileOutputStream(archiveEntry); in testJarUnarchiveAll()
DArTestCase.java27 import java.io.FileOutputStream;
48 final OutputStream out = new FileOutputStream(output); in testArArchiveCreation()
68 final OutputStream out = new FileOutputStream(output); in testArUnarchive()
89 try (final OutputStream out = new FileOutputStream(target)) { in testArUnarchive()
104 final OutputStream out = new FileOutputStream(output); in testArDelete()
131 final OutputStream os = new FileOutputStream(output2); in testArDelete()
200 aos = new ArArchiveOutputStream(new FileOutputStream(archive)); in XtestDirectoryEntryFromFile()
242 aos = new ArArchiveOutputStream(new FileOutputStream(archive)); in XtestExplicitDirectoryEntry()
283 aos = new ArArchiveOutputStream(new FileOutputStream(archive)); in testFileEntryFromFile()
333 aos = new ArArchiveOutputStream(new FileOutputStream(archive)); in testExplicitFileEntry()
DTarTestCase.java25 import java.io.FileOutputStream;
44 final OutputStream out = new FileOutputStream(output); in testTarArchiveCreation()
68 final OutputStream out = new FileOutputStream(output); in testTarArchiveLongNameCreation()
91 final OutputStream out2 = new FileOutputStream(output2); in testTarArchiveLongNameCreation()
119 final OutputStream out = new FileOutputStream(new File(dir, entry.getName())); in testTarUnarchive()
147 tos = new TarArchiveOutputStream(new FileOutputStream(archive)); in testDirectoryEntryFromFile()
187 tos = new TarArchiveOutputStream(new FileOutputStream(archive)); in testExplicitDirectoryEntry()
228 tos = new TarArchiveOutputStream(new FileOutputStream(archive)); in testFileEntryFromFile()
277 tos = new TarArchiveOutputStream(new FileOutputStream(archive)); in testExplicitFileEntry()
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/compressors/snappy/
DFramedSnappyCompressorInputStreamTest.java27 import java.io.FileOutputStream;
61 FileOutputStream out = null; in testLoremIpsum()
63 out = new FileOutputStream(outputSz); in testLoremIpsum()
74 out = new FileOutputStream(outputGz); in testLoremIpsum()
158 FileOutputStream out = null; in readIWAFile()
160 out = new FileOutputStream(new File(dir, "snappyIWATest.raw")); in readIWAFile()
181 FileOutputStream out = new FileOutputStream(o)) { in readIWAFileWithBiggerOffset()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/compressors/pack200/
DPack200Utils.java23 import java.io.FileOutputStream;
135 try (FileOutputStream fos = new FileOutputStream(tempFile); in normalize()
142 try (JarOutputStream jos = new JarOutputStream(new FileOutputStream(to))) { in normalize()
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/changes/
DChangeSetTestCase.java27 import java.io.FileOutputStream;
166 new FileOutputStream(result)); in testDeleteDir()
208 new FileOutputStream(result)); in testDeleteDir2()
250 new FileOutputStream(result)); in testDeleteDir3()
292 new FileOutputStream(result)); in testDeleteFile()
335 new FileOutputStream(result)); in testDeleteFile2()
380 new FileOutputStream(result)); in testDeletePlusAddSame()
450 new FileOutputStream(result)); in testChangeSetResults()
514 new FileOutputStream(result)); in testDeletePlusAdd()
561 new FileOutputStream(result)); in testDeleteFromAndAddToZip()
[all …]
/external/apache-harmony/support/src/test/java/tests/support/
DSupport_ProcessReadWriteTest.java22 import java.io.FileOutputStream;
30 FileOutputStream output = new FileOutputStream(FileDescriptor.out); in main()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DWriteNumberFormatSerialTestData.java14 import java.io.FileOutputStream;
50 FileOutputStream file = new FileOutputStream("NumberFormatSerialTestData.java"); in main()
63 private static void write(FileOutputStream file,Object o ,String name,String comment){ in write()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DWriteNumberFormatSerialTestData.java13 import java.io.FileOutputStream;
47 FileOutputStream file = new FileOutputStream("NumberFormatSerialTestData.java"); in main()
60 private static void write(FileOutputStream file,Object o ,String name,String comment){ in write()
/external/apache-commons-bcel/src/test/java/org/apache/bcel/verifier/tests/
DTestCreator.java4 import java.io.FileOutputStream;
33 try (FileOutputStream out = new FileOutputStream(classFile)) { in create()
/external/skqp/src/sksl/
DSkSLFileOutputStream.h17 class FileOutputStream : public OutputStream {
19 FileOutputStream(const char* name) { in FileOutputStream() function
23 ~FileOutputStream() override { in ~FileOutputStream()
/external/skia/src/sksl/
DSkSLFileOutputStream.h17 class FileOutputStream : public OutputStream {
19 FileOutputStream(const SkSL::String& name) { in FileOutputStream() function
23 ~FileOutputStream() override { in ~FileOutputStream()
/external/jacoco/org.jacoco.examples/src/org/jacoco/examples/
DExecutionDataClient.java14 import java.io.FileOutputStream;
43 final FileOutputStream localFile = new FileOutputStream(DESTFILE); in main()
/external/dokka/core/src/main/kotlin/Generation/
DFileGenerator.kt7 import java.io.FileOutputStream in <lambda>()
36 FileOutputStream(file).use { in <lambda>()
53 FileOutputStream(file).use { in <lambda>()
63 FileOutputStream(File(root, relativePathToNode(listOf(targetPath), false))).use { in <lambda>()
/external/jdiff/src/jdiff/
DHTMLFiles.java29 FileOutputStream fos = new FileOutputStream(tln); in emitTopLevelFile()
82 FileOutputStream fos = new FileOutputStream(tlf); in emitTopLeftFile()
128 FileOutputStream fos = new FileOutputStream(helpFileName); in emitHelp()
274 FileOutputStream fos = new FileOutputStream(stylesheetFileName); in emitStylesheet()

12345678910>>...13