Searched refs:outArchive (Results 1 – 5 of 5) sorted by relevance
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/sevenz/ |
D | SevenZOutputFileTest.java | 66 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 …]
|
D | SevenZFileTest.java | 207 try (SevenZOutputFile outArchive = new SevenZOutputFile(output)) { in testReadingBackLZMA2DictSize() argument 208 …outArchive.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 228 …outArchive.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/ |
D | SevenZTestCase.java | 96 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/ |
D | Update.cpp | 529 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/ |
D | Client7z.cpp | 819 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()
|