Home
last modified time | relevance | path

Searched refs:outArchive (Results 1 – 5 of 5) sorted by relevance

/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/sevenz/
DSevenZOutputFileTest.java66 try (SevenZOutputFile outArchive = new SevenZOutputFile(output)) { in testDirectoriesAndEmptyFiles() argument
67 SevenZArchiveEntry entry = outArchive.createArchiveEntry(dir, "foo/"); in testDirectoriesAndEmptyFiles()
68 outArchive.putArchiveEntry(entry); in testDirectoriesAndEmptyFiles()
69 outArchive.closeArchiveEntry(); in testDirectoriesAndEmptyFiles()
75 outArchive.putArchiveEntry(entry); in testDirectoriesAndEmptyFiles()
76 outArchive.write(new byte[0]); in testDirectoriesAndEmptyFiles()
77 outArchive.closeArchiveEntry(); in testDirectoriesAndEmptyFiles()
81 outArchive.putArchiveEntry(entry); in testDirectoriesAndEmptyFiles()
82 outArchive.write(0); in testDirectoriesAndEmptyFiles()
83 outArchive.closeArchiveEntry(); in testDirectoriesAndEmptyFiles()
[all …]
DSevenZFileTest.java207 try (SevenZOutputFile outArchive = new SevenZOutputFile(output)) { in testReadingBackLZMA2DictSize() argument
208outArchive.setContentMethods(Arrays.asList(new SevenZMethodConfiguration(SevenZMethod.LZMA2, 1 << … in testReadingBackLZMA2DictSize()
211 outArchive.putArchiveEntry(entry); in testReadingBackLZMA2DictSize()
212 outArchive.write(new byte[] { 'A' }); in testReadingBackLZMA2DictSize()
213 outArchive.closeArchiveEntry(); in testReadingBackLZMA2DictSize()
227 try (SevenZOutputFile outArchive = new SevenZOutputFile(output)) { in testReadingBackDeltaDistance() argument
228outArchive.setContentMethods(Arrays.asList(new SevenZMethodConfiguration(SevenZMethod.DELTA_FILTER… in testReadingBackDeltaDistance()
232 outArchive.putArchiveEntry(entry); in testReadingBackDeltaDistance()
233 outArchive.write(new byte[] { 'A' }); in testReadingBackDeltaDistance()
234 outArchive.closeArchiveEntry(); in testReadingBackDeltaDistance()
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/
DSevenZTestCase.java96 final SevenZOutputFile outArchive = new SevenZOutputFile(output); in createArchive() local
97 outArchive.setContentCompression(method); in createArchive()
101 entry = outArchive.createArchiveEntry(file1, file1.getName()); in createArchive()
102 outArchive.putArchiveEntry(entry); in createArchive()
103 copy(file1, outArchive); in createArchive()
104 outArchive.closeArchiveEntry(); in createArchive()
106 entry = outArchive.createArchiveEntry(file2, file2.getName()); in createArchive()
107 outArchive.putArchiveEntry(entry); in createArchive()
108 copy(file2, outArchive); in createArchive()
109 outArchive.closeArchiveEntry(); in createArchive()
[all …]
/external/lzma/CPP/7zip/UI/Common/
DUpdate.cpp529 CMyComPtr<IOutArchive> outArchive; in Compress() local
538 HRESULT result = archive2.QueryInterface(IID_IOutArchive, &outArchive); in Compress()
544 RINOK(codecs->CreateOutArchive(formatIndex, outArchive)); in Compress()
549 outArchive.QueryInterface(IID_ISetCompressCodecsInfo, (void **)&setCompressCodecsInfo); in Compress()
558 if (outArchive == 0) in Compress()
564 RINOK(outArchive->GetFileTimeType(&value)); in Compress()
846 RINOK(SetProperties(outArchive, options.MethodMode.Properties)); in Compress()
904 HRESULT result = outArchive->UpdateItems(tailStream, updatePairs2.Size(), updateCallback); in Compress()
/external/lzma/CPP/7zip/UI/Client7z/
DClient7z.cpp819 CMyComPtr<IOutArchive> outArchive; in main() local
820 if (createObjectFunc(&CLSID_Format, &IID_IOutArchive, (void **)&outArchive) != S_OK) in main()
856 HRESULT result = outArchive->UpdateItems(outFileStream, dirItems.Size(), updateCallback); in main()