HomeSort by relevance Sort by last modified time
    Searched refs:presetDict (Results 1 - 6 of 6) sorted by null

  /external/lzma/Java/Tukaani/src/org/tukaani/xz/lz/
LZDecoder.java 26 public LZDecoder(int dictSize, byte[] presetDict) {
29 if (presetDict != null) {
30 pos = Math.min(presetDict.length, dictSize);
33 System.arraycopy(presetDict, presetDict.length - pos, buf, 0, pos);
LZEncoder.java 153 public void setPresetDict(int dictSize, byte[] presetDict) {
157 if (presetDict != null) {
160 int copySize = Math.min(presetDict.length, dictSize);
161 int offset = presetDict.length - copySize;
162 System.arraycopy(presetDict, offset, buf, 0, copySize);
  /external/lzma/Java/Tukaani/src/org/tukaani/xz/
LZMAInputStream.java 311 * @param presetDict preset dictionary or <code>null</code>
327 int dictSize, byte[] presetDict)
329 initialize(in, uncompSize, propsByte, dictSize, presetDict);
354 * @param presetDict preset dictionary or <code>null</code>
366 int dictSize, byte[] presetDict)
368 initialize(in, uncompSize, lc, lp, pb, dictSize, presetDict);
372 int dictSize, byte[] presetDict)
397 initialize(in, uncompSize, lc, lp, pb, dictSize, presetDict);
402 int dictSize, byte[] presetDict)
418 lz = new LZDecoder(getDictSize(dictSize), presetDict);
    [all...]
LZMA2Options.java 133 private byte[] presetDict = null;
272 public void setPresetDict(byte[] presetDict) {
273 this.presetDict = presetDict;
280 return presetDict;
LZMA2InputStream.java 135 * @param presetDict preset dictionary or <code>null</code>
138 public LZMA2InputStream(InputStream in, int dictSize, byte[] presetDict) {
145 this.lz = new LZDecoder(getDictSize(dictSize), presetDict);
147 if (presetDict != null && presetDict.length > 0)
LZMA2OutputStream.java 72 byte[] presetDict = options.getPresetDict();
73 if (presetDict != null && presetDict.length > 0) {
74 lz.setPresetDict(dictSize, presetDict);

Completed in 751 milliseconds