Home
last modified time | relevance | path

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

12345678910>>...12

/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.cc175 FileOutputStream::FileOutputStream(int file_descriptor, int block_size) in FileOutputStream() function in google::protobuf::io::FileOutputStream
180 FileOutputStream::~FileOutputStream() { in ~FileOutputStream()
184 bool FileOutputStream::Close() { in Close()
189 bool FileOutputStream::Flush() { in Flush()
193 bool FileOutputStream::Next(void** data, int* size) { in Next()
197 void FileOutputStream::BackUp(int count) { in BackUp()
201 int64 FileOutputStream::ByteCount() const { in ByteCount()
205 FileOutputStream::CopyingFileOutputStream::CopyingFileOutputStream( in CopyingFileOutputStream()
213 FileOutputStream::CopyingFileOutputStream::~CopyingFileOutputStream() { in ~CopyingFileOutputStream()
221 bool FileOutputStream::CopyingFileOutputStream::Close() { in Close()
[all …]
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/compressors/
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()
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()
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/archive-patcher/applier/src/test/java/com/google/archivepatcher/applier/gdiff/
DGdiffTest.java20 import java.io.FileOutputStream;
56 FileOutputStream writeInputFile = new FileOutputStream(inputFile); in testExample()
105 FileOutputStream writeInputFile = new FileOutputStream(inputFile); in testOpcodes()
128 FileOutputStream writeInputFile = new FileOutputStream(inputFile); in testInlineDataCommands()
313 FileOutputStream writeInputFile = new FileOutputStream(inputFile); in checkExpectedIOException()
/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/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/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/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/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/apache-harmony/support/src/test/java/tests/support/
DSupport_GetLocal.java23 import java.io.FileOutputStream;
45 FileOutputStream out = new FileOutputStream(temp); in getLocalFile()
65 FileOutputStream out = new FileOutputStream(temp); in getExternalLocalFile()
DSupport_ProcessReadWriteTest.java22 import java.io.FileOutputStream;
30 FileOutputStream output = new FileOutputStream(FileDescriptor.out); in main()
/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-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/archive-patcher/explainer/src/main/java/com/google/archivepatcher/explainer/
DPatchExplainer.java34 import java.io.FileOutputStream;
188 try (FileOutputStream deltaOut = new FileOutputStream(deltaTemp.file); in explainPatch()
235 FileOutputStream out = new FileOutputStream(dest); in uncompress()
252 FileOutputStream out = new FileOutputStream(dest); in extractCopy()
/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()
/external/archive-patcher/tools/src/main/java/com/google/archivepatcher/tools/
DFileByFileTool.java26 import java.io.FileOutputStream;
199 try (FileOutputStream patchOut = new FileOutputStream(patchFile); in generatePatch()
221 FileOutputStream newOut = new FileOutputStream(newFile); in applyPatch()
/external/archive-patcher/generator/src/main/java/com/google/archivepatcher/generator/
DPreDiffExecutor.java23 import java.io.FileOutputStream;
182 try (FileOutputStream out = new FileOutputStream(deltaFriendlyOldFile); in generateDeltaFriendlyFiles()
187 try (FileOutputStream out = new FileOutputStream(deltaFriendlyNewFile); in generateDeltaFriendlyFiles()
/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/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()

12345678910>>...12