HomeSort by relevance Sort by last modified time
    Searched defs:dictSize (Results 1 - 16 of 16) sorted by null

  /external/lzma/Java/Tukaani/src/org/tukaani/xz/
LZMA2Decoder.java 15 private int dictSize;
24 dictSize = 2 | (props[0] & 1);
25 dictSize <<= (props[0] >>> 1) + 11;
29 return LZMA2InputStream.getMemoryUsage(dictSize);
33 return new LZMA2InputStream(in, dictSize);
LZMAInputStream.java 70 * @param dictSize LZMA dictionary size as bytes, should be
80 * if <code>dictSize</code> is outside
87 public static int getMemoryUsage(int dictSize, byte propsByte)
89 if (dictSize < 0 || dictSize > DICT_SIZE_MAX)
101 return getMemoryUsage(dictSize, lc, lp);
108 * @param dictSize LZMA dictionary size as bytes, must be
120 public static int getMemoryUsage(int dictSize, int lc, int lp) {
131 return 10 + getDictSize(dictSize) / 1024
135 private static int getDictSize(int dictSize) {
    [all...]
LZMA2Options.java 132 private int dictSize;
171 public LZMA2Options(int dictSize, int lc, int lp, int pb, int mode,
174 setDictSize(dictSize);
207 dictSize = presetToDictSize[preset];
235 * <code>dictSize</code> is not supported
237 public void setDictSize(int dictSize) throws UnsupportedOptionsException {
238 if (dictSize < DICT_SIZE_MIN)
241 + dictSize + " B");
243 if (dictSize > DICT_SIZE_MAX)
246 + (DICT_SIZE_MAX >> 20) + " MiB: " + dictSize + " B")
    [all...]
LZMA2OutputStream.java 40 private static int getExtraSizeBefore(int dictSize) {
41 return COMPRESSED_SIZE_MAX > dictSize
42 ? COMPRESSED_SIZE_MAX - dictSize : 0;
47 int dictSize = options.getDictSize();
48 int extraSizeBefore = getExtraSizeBefore(dictSize);
50 dictSize, extraSizeBefore,
62 int dictSize = options.getDictSize();
63 int extraSizeBefore = getExtraSizeBefore(dictSize);
67 dictSize, extraSizeBefore, options.getNiceLen(),
74 lz.setPresetDict(dictSize, presetDict)
    [all...]
  /external/lzma/C/
LzmaEnc.h 16 UInt32 dictSize; /* (1 << 12) <= dictSize <= (1 << 27) for 32-bit version
17 (1 << 12) <= dictSize <= (1 << 30) for 64-bit version
Lzma2Enc.c 226 UInt32 dictSize = p->lzmaProps.dictSize;
227 UInt64 blockSize = (UInt64)dictSize << 2;
232 if (blockSize < dictSize) blockSize = dictSize;
LzmaEnc.c 50 p->dictSize = p->mc = 0;
61 if (p->dictSize == 0) p->dictSize = (level <= 5 ? (1 << (level * 2 + 14)) : (level == 6 ? (1 << 25) : (1 << 26)));
62 if (p->dictSize > p->reduceSize)
67 if ((UInt32)p->reduceSize <= ((UInt32)2 << i)) { p->dictSize = ((UInt32)2 << i); break; }
68 if ((UInt32)p->reduceSize <= ((UInt32)3 << i)) { p->dictSize = ((UInt32)3 << i); break; }
92 return props.dictSize;
343 UInt32 dictSize;
409 props.dictSize > ((UInt32)1 << kDicLogSizeMaxCompress) || props.dictSize > ((UInt32)1 << 30))
    [all...]
  /external/lz4/lib/
lz4hc.c 601 int LZ4_loadDictHC (LZ4_streamHC_t* LZ4_streamHCPtr, const char* dictionary, int dictSize)
604 if (dictSize > 64 KB)
606 dictionary += dictSize - 64 KB;
607 dictSize = 64 KB;
610 if (dictSize >= 4) LZ4HC_Insert (ctxPtr, (const BYTE*)dictionary +(dictSize-3));
611 ctxPtr->end = (const BYTE*)dictionary + dictSize;
612 return dictSize;
642 size_t dictSize = (size_t)(ctxPtr->end - ctxPtr->base) - ctxPtr->dictLimit;
643 if (dictSize > 64 KB) dictSize = 64 KB
    [all...]
lz4frame.c 143 size_t dictSize;
797 dctxPtr->dictSize = 0;
847 static int LZ4F_decompress_safe (const char* source, char* dest, int compressedSize, int maxDecompressedSize, const char* dictStart, int dictSize)
    [all...]
lz4.c 441 U32 dictSize;
514 const BYTE* const lowRefLimit = ip - dictPtr->dictSize;
516 const BYTE* const dictEnd = dictionary + dictPtr->dictSize;
540 lowLimit = (const BYTE*)source - dictPtr->dictSize;
780 int LZ4_loadDict (LZ4_stream_t* LZ4_dict, const char* dictionary, int dictSize)
784 const BYTE* const dictEnd = p + dictSize;
789 if (dictSize < MINMATCH)
792 dict->dictSize = 0;
799 dict->dictSize = (U32)(dictEnd - p);
800 dict->currentOffset += dict->dictSize;
    [all...]
  /external/lz4/programs/
fuzzer.c 317 int dictSize, blockSize, blockStart;
324 dictSize = FUZ_rand(&randState) % FUZ_MAX_DICT_SIZE;
325 if (dictSize > blockStart) dictSize = blockStart;
327 dict = block - dictSize;
328 LZ4_loadDict(&LZ4dict, dict, dictSize);
330 LZ4_loadDict(&LZ4dict, dict, dictSize);
332 LZ4_loadDict(&LZ4dict, dict, dictSize);
343 int dictSize, blockSize, blockStart, compressedSize, HCcompressedSize;
353 dictSize = FUZ_rand(&randState) % FUZ_MAX_DICT_SIZE
    [all...]
  /external/lzma/CPP/7zip/Bundles/LzmaSpec/
LzmaSpec.cpp 78 void Create(UInt32 dictSize)
80 Buf = new Byte[dictSize];
82 Size = dictSize;
325 UInt32 dictSize;
340 dictSize = dictSizeInProperties;
341 if (dictSize < LZMA_DIC_MIN)
342 dictSize = LZMA_DIC_MIN;
350 OutWindow.Create(dictSize);
548 if (rep0 >= dictSize || !OutWindow.CheckDistance(rep0))
636 printf("\nDictionary Size for decoding = %u", lzmaDecoder.dictSize);
    [all...]
  /prebuilts/devtools/tools/lib/
commons-compress-1.8.1.jar 
  /prebuilts/tools/common/m2/repository/org/apache/commons/commons-compress/1.8.1/
commons-compress-1.8.1.jar 
  /prebuilts/tools/common/m2/repository/org/apache/commons/commons-compress/1.9/
commons-compress-1.9.jar 
  /prebuilts/tools/common/offline-m2/org/apache/commons/commons-compress/1.8.1/
commons-compress-1.8.1.jar 

Completed in 691 milliseconds