Lines Matching refs:dictSize
53 p->dictSize = p->mc = 0; in LzmaEncProps_Init()
65 …if (p->dictSize == 0) p->dictSize = (level <= 5 ? (1 << (level * 2 + 14)) : (level == 6 ? (1 << 25… in LzmaEncProps_Normalize()
66 if (p->dictSize > p->reduceSize) in LzmaEncProps_Normalize()
71 if ((UInt32)p->reduceSize <= ((UInt32)2 << i)) { p->dictSize = ((UInt32)2 << i); break; } in LzmaEncProps_Normalize()
72 if ((UInt32)p->reduceSize <= ((UInt32)3 << i)) { p->dictSize = ((UInt32)3 << i); break; } in LzmaEncProps_Normalize()
99 return props.dictSize; in LzmaEncProps_GetDictSize()
335 UInt32 dictSize; member
447 || props.dictSize > ((UInt64)1 << kDicLogSizeMaxCompress) in LzmaEnc_SetProps()
448 || props.dictSize > kMaxHistorySize) in LzmaEnc_SetProps()
451 p->dictSize = props.dictSize; in LzmaEnc_SetProps()
1989 p->matchFinderBase.bigHash = (Byte)(p->dictSize > kBigHashDicLimit ? 1 : 0); in LzmaEnc_Alloc()
1991 if (beforeSize + p->dictSize < keepWindowSize) in LzmaEnc_Alloc()
1992 beforeSize = keepWindowSize - p->dictSize; in LzmaEnc_Alloc()
1997 …RINOK(MatchFinderMt_Create(&p->matchFinderMt, p->dictSize, beforeSize, p->numFastBytes, LZMA_MATCH… in LzmaEnc_Alloc()
2004 …if (!MatchFinder_Create(&p->matchFinderBase, p->dictSize, beforeSize, p->numFastBytes, LZMA_MATCH_… in LzmaEnc_Alloc()
2091 if (p->dictSize <= ((UInt32)1 << i)) in LzmaEnc_AllocAndInit()
2275 UInt32 dictSize = p->dictSize; in LzmaEnc_WriteProperties() local
2281 if (dictSize >= ((UInt32)1 << 22)) in LzmaEnc_WriteProperties()
2284 if (dictSize < (UInt32)0xFFFFFFFF - kDictMask) in LzmaEnc_WriteProperties()
2285 dictSize = (dictSize + kDictMask) & ~kDictMask; in LzmaEnc_WriteProperties()
2289 if (dictSize <= ((UInt32)2 << i)) { dictSize = (2 << i); break; } in LzmaEnc_WriteProperties()
2290 if (dictSize <= ((UInt32)3 << i)) { dictSize = (3 << i); break; } in LzmaEnc_WriteProperties()
2294 props[1 + i] = (Byte)(dictSize >> (8 * i)); in LzmaEnc_WriteProperties()