/external/lzma/Java/SevenZip/ |
D | LzmaBench.java | 236 static long GetCompressRating(int dictionarySize, long elapsedTime, long size) in GetCompressRating() argument 238 long t = GetLogSize(dictionarySize) - (18 << kSubBits); in GetCompressRating() 251 int dictionarySize, in GetTotalRating() argument 256 return (GetCompressRating(dictionarySize, elapsedTimeEn, sizeEn) + in GetTotalRating() 276 int dictionarySize, in PrintResults() argument 288 rating = GetCompressRating(dictionarySize, elapsedTime, size); in PrintResults() 292 static public int LzmaBenchmark(int numIterations, int dictionarySize) throws Exception in LzmaBenchmark() argument 296 if (dictionarySize < (1 << 18)) in LzmaBenchmark() 306 if (!encoder.SetDictionarySize(dictionarySize)) in LzmaBenchmark() 309 int kBufferSize = dictionarySize + kAdditionalSize; in LzmaBenchmark() [all …]
|
/external/lzma/CS/7zip/Compress/LzmaAlone/ |
D | LzmaBench.cs | 186 static UInt64 GetCompressRating(UInt32 dictionarySize, UInt64 elapsedTime, UInt64 size) in GetCompressRating() argument 188 UInt64 t = GetLogSize(dictionarySize) - (18 << kSubBits); in GetCompressRating() 201 UInt32 dictionarySize, in GetTotalRating() argument 206 return (GetCompressRating(dictionarySize, elapsedTimeEn, sizeEn) + in GetTotalRating() 225 UInt32 dictionarySize, in PrintResults() argument 237 rating = GetCompressRating(dictionarySize, elapsedTime, size); in PrintResults() 241 static public int LzmaBenchmark(Int32 numIterations, UInt32 dictionarySize) in LzmaBenchmark() argument 245 if (dictionarySize < (1 << 18)) in LzmaBenchmark() 262 (Int32)(dictionarySize), in LzmaBenchmark() 265 UInt32 kBufferSize = dictionarySize + kAdditionalSize; in LzmaBenchmark() [all …]
|
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/zip/ |
D | ExplodingInputStream.java | 49 private final int dictionarySize; field in ExplodingInputStream 80 …public ExplodingInputStream(final int dictionarySize, final int numberOfTrees, final InputStream i… in ExplodingInputStream() argument 81 if (dictionarySize != 4096 && dictionarySize != 8192) { in ExplodingInputStream() 87 this.dictionarySize = dictionarySize; in ExplodingInputStream() 182 final int distanceLowSize = dictionarySize == 4096 ? 6 : 7; in fillBuffer()
|
/external/lzma/Java/SevenZip/Compression/LZMA/ |
D | Decoder.java | 154 boolean SetDictionarySize(int dictionarySize) in SetDictionarySize() argument 156 if (dictionarySize < 0) in SetDictionarySize() 158 if (m_DictionarySize != dictionarySize) in SetDictionarySize() 160 m_DictionarySize = dictionarySize; in SetDictionarySize() 322 int dictionarySize = 0; in SetDecoderProperties() local 324 dictionarySize += ((int)(properties[1 + i]) & 0xFF) << (i * 8); in SetDecoderProperties() 327 return SetDictionarySize(dictionarySize); in SetDecoderProperties()
|
D | Encoder.java | 1363 public boolean SetDictionarySize(int dictionarySize) in SetDictionarySize() argument 1366 if (dictionarySize < (1 << Base.kDicLogSizeMin) || dictionarySize > (1 << kDicLogSizeMaxCompress)) in SetDictionarySize() 1368 _dictionarySize = dictionarySize; in SetDictionarySize() 1370 for (dicLogSize = 0; dictionarySize > (1 << dicLogSize); dicLogSize++) ; in SetDictionarySize()
|
/external/lzma/CS/7zip/Compress/LZMA/ |
D | LzmaDecoder.cs | 167 void SetDictionarySize(uint dictionarySize) in SetDictionarySize() argument 169 if (m_DictionarySize != dictionarySize) in SetDictionarySize() 171 m_DictionarySize = dictionarySize; in SetDictionarySize() 359 UInt32 dictionarySize = 0; in SetDecoderProperties() 361 dictionarySize += ((UInt32)(properties[1 + i])) << (i * 8); in SetDecoderProperties() 362 SetDictionarySize(dictionarySize); in SetDecoderProperties()
|
D | LzmaEncoder.cs | 1417 Int32 dictionarySize = (Int32)prop; in SetCoderProperties() 1418 if (dictionarySize < (UInt32)(1 << Base.kDicLogSizeMin) || in SetCoderProperties() 1419 dictionarySize > (UInt32)(1 << kDicLogSizeMaxCompress)) in SetCoderProperties() 1421 _dictionarySize = (UInt32)dictionarySize; in SetCoderProperties() 1424 if (dictionarySize <= ((UInt32)(1) << dicLogSize)) in SetCoderProperties()
|
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/sevenz/ |
D | LZMA2Decoder.java | 38 final int dictionarySize = getDictionarySize(coder); in decode() local 39 return new LZMA2InputStream(in, dictionarySize); in decode()
|
/external/lz4/programs/ |
D | lz4io.c | 479 size_t dictionarySize; in LZ4IO_createCDict() local 485 dictionaryBuffer = LZ4IO_createDict(g_dictionaryFilename, &dictionarySize); in LZ4IO_createCDict() 487 cdict = LZ4F_createCDict(dictionaryBuffer, dictionarySize); in LZ4IO_createCDict()
|
/external/lzma/DOC/ |
D | lzma-specification.txt | 208 Encoder_RAM_Usage = 4 MiB + 11 * dictionarySize.
|