Home
last modified time | relevance | path

Searched refs:LZMA2Options (Results 1 – 17 of 17) sorted by relevance

/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/sevenz/
DLZMA2Decoder.java27 import org.tukaani.xz.LZMA2Options;
31 super(LZMA2Options.class, Number.class); in LZMA2Decoder()
48 final LZMA2Options options = getOptions(opts); in encode()
69 if (opts instanceof LZMA2Options) { in getDictSize()
70 return ((LZMA2Options) opts).getDictSize(); in getDictSize()
89 private LZMA2Options getOptions(final Object opts) throws IOException { in getOptions()
90 if (opts instanceof LZMA2Options) { in getOptions()
91 return (LZMA2Options) opts; in getOptions()
93 final LZMA2Options options = new LZMA2Options(); in getOptions()
99 return numberOptionOrDefault(opts, LZMA2Options.DICT_SIZE_DEFAULT); in numberOptionOrDefault()
DLZMADecoder.java26 import org.tukaani.xz.LZMA2Options;
32 super(LZMA2Options.class, Number.class); in LZMADecoder()
56 final LZMA2Options options = getOptions(opts); in getOptionsAsProperties()
73 LZMA2Options opts = new LZMA2Options(); in getOptionsFromCoder()
84 private LZMA2Options getOptions(final Object opts) throws IOException { in getOptions()
85 if (opts instanceof LZMA2Options) { in getOptions()
86 return (LZMA2Options) opts; in getOptions()
88 final LZMA2Options options = new LZMA2Options(); in getOptions()
94 return numberOptionOrDefault(opts, LZMA2Options.DICT_SIZE_DEFAULT); in numberOptionOrDefault()
/external/xz-java/src/org/tukaani/xz/
DLZMA2Encoder.java15 private final LZMA2Options options;
18 LZMA2Encoder(LZMA2Options options) { in LZMA2Encoder()
23 if (options.getMode() == LZMA2Options.MODE_UNCOMPRESSED) { in LZMA2Encoder()
27 LZMA2Options.DICT_SIZE_MIN); in LZMA2Encoder()
32 this.options = (LZMA2Options)options.clone(); in LZMA2Encoder()
DLZMAOutputStream.java43 private LZMAOutputStream(OutputStream out, LZMA2Options options, in LZMAOutputStream()
127 public LZMAOutputStream(OutputStream out, LZMA2Options options, in LZMAOutputStream()
155 public LZMAOutputStream(OutputStream out, LZMA2Options options, in LZMAOutputStream()
180 public LZMAOutputStream(OutputStream out, LZMA2Options options, in LZMAOutputStream()
207 public LZMAOutputStream(OutputStream out, LZMA2Options options, in LZMAOutputStream()
DLZMA2Options.java24 public class LZMA2Options extends FilterOptions { class
146 public LZMA2Options() { in LZMA2Options() method in LZMA2Options
161 public LZMA2Options(int preset) throws UnsupportedOptionsException { in LZMA2Options() method in LZMA2Options
171 public LZMA2Options(int dictSize, int lc, int lp, int pb, int mode, in LZMA2Options() method in LZMA2Options
DLZMA2OutputStream.java47 static int getMemoryUsage(LZMA2Options options) { in getMemoryUsage()
56 LZMA2OutputStream(FinishableOutputStream out, LZMA2Options options, in LZMA2OutputStream()
/external/apache-commons-compress/src/stub/java/org/tukaani/xz/
DLZMAOutputStream.java19 import org.tukaani.xz.LZMA2Options;
26 public LZMAOutputStream(final OutputStream outStream, LZMA2Options options, boolean unknown) in LZMAOutputStream()
31 public LZMAOutputStream(final OutputStream outStream, LZMA2Options options, int unknown) in LZMAOutputStream()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/compressors/xz/
DXZCompressorOutputStream.java23 import org.tukaani.xz.LZMA2Options;
43 out = new XZOutputStream(outputStream, new LZMA2Options()); in XZCompressorOutputStream()
64 out = new XZOutputStream(outputStream, new LZMA2Options(preset)); in XZCompressorOutputStream()
/external/xz-java/src/
DXZSeekEncDemo.java28 LZMA2Options options = new LZMA2Options(); in main()
38 Math.max(LZMA2Options.DICT_SIZE_MIN, in main()
DXZEncDemo.java22 LZMA2Options options = new LZMA2Options(); in main()
DLZMAEncDemo.java29 LZMA2Options options = new LZMA2Options(); in main()
DTestAllocSpeed.java48 LZMA2Options options = new LZMA2Options(); in compress()
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/sevenz/
DSevenZMethodConfigurationTest.java22 import org.tukaani.xz.LZMA2Options;
35 new LZMA2Options()) in shouldAllowLZMA2OptionsForLZMA()
48 new LZMA2Options()) in shouldAllowLZMA2OptionsForLZMA2()
DSevenZOutputFileTest.java33 import org.tukaani.xz.LZMA2Options;
342 final LZMA2Options opts = new LZMA2Options(1); in testLzmaWithOptionsConfiguration()
358 final LZMA2Options opts = new LZMA2Options(1); in testLzma2WithOptionsConfiguration()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/compressors/lzma/
DLZMACompressorOutputStream.java23 import org.tukaani.xz.LZMA2Options;
43 out = new LZMAOutputStream(outputStream, new LZMA2Options(), -1); in LZMACompressorOutputStream()
/external/xz-java/
DNEWS33 * Fix LZMA2Options.getInputStream to work with a preset dictionary.
85 * The depthLimit argument in the LZMA2Options constructor is
88 * LZMA2Options() can no longer throw UnsupportedOptionsException.
Dfileset-src.txt40 src/org/tukaani/xz/LZMA2Options.java