/external/lz4/lib/ |
D | lz4.c | 441 U32 dictSize; member 514 const BYTE* const lowRefLimit = ip - dictPtr->dictSize; in LZ4_compress_generic() 516 const BYTE* const dictEnd = dictionary + dictPtr->dictSize; in LZ4_compress_generic() 540 lowLimit = (const BYTE*)source - dictPtr->dictSize; in LZ4_compress_generic() 780 int LZ4_loadDict (LZ4_stream_t* LZ4_dict, const char* dictionary, int dictSize) in LZ4_loadDict() argument 784 const BYTE* const dictEnd = p + dictSize; in LZ4_loadDict() 789 if (dictSize < MINMATCH) in LZ4_loadDict() 792 dict->dictSize = 0; in LZ4_loadDict() 799 dict->dictSize = (U32)(dictEnd - p); in LZ4_loadDict() 800 dict->currentOffset += dict->dictSize; in LZ4_loadDict() [all …]
|
D | lz4hc.c | 601 int LZ4_loadDictHC (LZ4_streamHC_t* LZ4_streamHCPtr, const char* dictionary, int dictSize) in LZ4_loadDictHC() argument 604 if (dictSize > 64 KB) in LZ4_loadDictHC() 606 dictionary += dictSize - 64 KB; in LZ4_loadDictHC() 607 dictSize = 64 KB; in LZ4_loadDictHC() 610 if (dictSize >= 4) LZ4HC_Insert (ctxPtr, (const BYTE*)dictionary +(dictSize-3)); in LZ4_loadDictHC() 611 ctxPtr->end = (const BYTE*)dictionary + dictSize; in LZ4_loadDictHC() 612 return dictSize; in LZ4_loadDictHC() 642 size_t dictSize = (size_t)(ctxPtr->end - ctxPtr->base) - ctxPtr->dictLimit; in LZ4_compressHC_continue_generic() local 643 if (dictSize > 64 KB) dictSize = 64 KB; in LZ4_compressHC_continue_generic() 645 … LZ4_loadDictHC((LZ4_streamHC_t*)ctxPtr, (const char*)(ctxPtr->end) - dictSize, (int)dictSize); in LZ4_compressHC_continue_generic() [all …]
|
D | lz4frame.c | 143 size_t dictSize; member 797 dctxPtr->dictSize = 0; in LZ4F_decodeHeader() 847 …urce, char* dest, int compressedSize, int maxDecompressedSize, const char* dictStart, int dictSize) in LZ4F_decompress_safe() argument 850 (void)dictSize; in LZ4F_decompress_safe() 858 if (dctxPtr->dictSize==0) in LZ4F_updateDict() 861 if (dctxPtr->dict + dctxPtr->dictSize == dstPtr) /* dictionary continuity */ in LZ4F_updateDict() 863 dctxPtr->dictSize += dstSize; in LZ4F_updateDict() 870 dctxPtr->dictSize = dstPtr - dstPtr0 + dstSize; in LZ4F_updateDict() 877 dctxPtr->dictSize += dstSize; in LZ4F_updateDict() 885 …memcpy(dctxPtr->tmpOutBuffer, dctxPtr->dict + dctxPtr->dictSize - dctxPtr->tmpOutStart- savedDictS… in LZ4F_updateDict() [all …]
|
D | lz4.h | 208 int LZ4_loadDict (LZ4_stream_t* LZ4_streamPtr, const char* dictionary, int dictSize); 233 int LZ4_saveDict (LZ4_stream_t* LZ4_streamPtr, char* safeBuffer, int dictSize); 262 int LZ4_setStreamDecode (LZ4_streamDecode_t* LZ4_streamDecode, const char* dictionary, int dictSize… 282 …rce, char* dest, int compressedSize, int maxDecompressedSize, const char* dictStart, int dictSize); 283 …_usingDict (const char* source, char* dest, int originalSize, const char* dictStart, int dictSize);
|
D | lz4hc.h | 132 int LZ4_loadDictHC (LZ4_streamHC_t* LZ4_streamHCPtr, const char* dictionary, int dictSize);
|
/external/lz4/programs/ |
D | fuzzer.c | 317 int dictSize, blockSize, blockStart; in FUZ_test() local 324 dictSize = FUZ_rand(&randState) % FUZ_MAX_DICT_SIZE; in FUZ_test() 325 if (dictSize > blockStart) dictSize = blockStart; in FUZ_test() 327 dict = block - dictSize; in FUZ_test() 328 LZ4_loadDict(&LZ4dict, dict, dictSize); in FUZ_test() 330 LZ4_loadDict(&LZ4dict, dict, dictSize); in FUZ_test() 332 LZ4_loadDict(&LZ4dict, dict, dictSize); in FUZ_test() 343 int dictSize, blockSize, blockStart, compressedSize, HCcompressedSize; in FUZ_test() local 353 dictSize = FUZ_rand(&randState) % FUZ_MAX_DICT_SIZE; in FUZ_test() 354 if (dictSize > blockStart) dictSize = blockStart; in FUZ_test() [all …]
|
D | fullbench.c | 373 …e_forceExtDict(const char* in, char* out, int inSize, int outSize, const char* dict, int dictSize);
|
/external/lzma/C/ |
D | LzmaLib.c | 18 unsigned dictSize, /* use (1 << N) or (3 << N). 4 KB < dictSize <= 128 MB */ in LzmaCompress() argument 29 props.dictSize = dictSize; in LzmaCompress()
|
D | Lzma86Enc.c | 18 int level, UInt32 dictSize, int filterMode) in Lzma86_Encode() argument 28 props.dictSize = dictSize; in Lzma86_Encode()
|
D | Lzma2Enc.c | 225 UInt32 dictSize = p->lzmaProps.dictSize; in Lzma2EncProps_Normalize() local 226 UInt64 blockSize = (UInt64)dictSize << 2; in Lzma2EncProps_Normalize() 231 if (blockSize < dictSize) blockSize = dictSize; in Lzma2EncProps_Normalize()
|
D | LzmaEnc.c | 48 p->dictSize = p->mc = 0; in LzmaEncProps_Init() 58 …if (p->dictSize == 0) p->dictSize = (level <= 5 ? (1 << (level * 2 + 14)) : (level == 6 ? (1 << 25… in LzmaEncProps_Normalize() 80 return props.dictSize; in LzmaEncProps_GetDictSize() 331 UInt32 dictSize; member 398 props.dictSize > ((UInt32)1 << kDicLogSizeMaxCompress) || props.dictSize > ((UInt32)1 << 30)) in LzmaEnc_SetProps() 400 p->dictSize = props.dictSize; in LzmaEnc_SetProps() 1924 p->matchFinderBase.bigHash = (p->dictSize > kBigHashDicLimit); in LzmaEnc_Alloc() 1926 if (beforeSize + p->dictSize < keepWindowSize) in LzmaEnc_Alloc() 1927 beforeSize = keepWindowSize - p->dictSize; in LzmaEnc_Alloc() 1932 …RINOK(MatchFinderMt_Create(&p->matchFinderMt, p->dictSize, beforeSize, p->numFastBytes, LZMA_MATCH… in LzmaEnc_Alloc() [all …]
|
D | LzmaLib.h | 101 unsigned dictSize, /* default = (1 << 24) */
|
D | Lzma86.h | 72 int level, UInt32 dictSize, int filterMode);
|
D | LzmaEnc.h | 18 UInt32 dictSize; /* (1 << 12) <= dictSize <= (1 << 27) for 32-bit version member
|
/external/lzma/CPP/7zip/Compress/ |
D | LzmaEncoder.cpp | 92 case NCoderPropID::kDictionarySize: ep.dictSize = v; break; in SetLzmaProp()
|
/external/lzma/ |
D | lzma.txt | 452 - (dictSize * 11.5 + 6 MB) + state_size
|