Home
last modified time | relevance | path

Searched refs:dictSize (Results 1 – 5 of 5) sorted by relevance

/device/linaro/bootloader/edk2/BaseTools/Source/C/LzmaCompress/Sdk/C/
DLzmaEnc.c53 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()
[all …]
DLzmaEnc.h16 UInt32 dictSize; /* (1 << 12) <= dictSize <= (1 << 27) for 32-bit version member
DLzmaDec.c1053 UInt32 dictSize = propNew.dicSize; in LzmaDec_Allocate() local
1055 if (dictSize >= ((UInt32)1 << 30)) mask = ((UInt32)1 << 22) - 1; in LzmaDec_Allocate()
1056 else if (dictSize >= ((UInt32)1 << 22)) mask = ((UInt32)1 << 20) - 1;; in LzmaDec_Allocate()
1057 dicBufSize = ((SizeT)dictSize + mask) & ~mask; in LzmaDec_Allocate()
1058 if (dicBufSize < dictSize) in LzmaDec_Allocate()
1059 dicBufSize = dictSize; in LzmaDec_Allocate()
/device/linaro/bootloader/edk2/MdeModulePkg/Library/LzmaCustomDecompressLib/Sdk/C/
DLzmaDec.c1055 UInt32 dictSize = propNew.dicSize; in LzmaDec_Allocate() local
1057 if (dictSize >= ((UInt32)1 << 30)) mask = ((UInt32)1 << 22) - 1; in LzmaDec_Allocate()
1058 else if (dictSize >= ((UInt32)1 << 22)) mask = ((UInt32)1 << 20) - 1;; in LzmaDec_Allocate()
1059 dicBufSize = ((SizeT)dictSize + mask) & ~mask; in LzmaDec_Allocate()
1060 if (dicBufSize < dictSize) in LzmaDec_Allocate()
1061 dicBufSize = dictSize; in LzmaDec_Allocate()
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/Sdk/C/
DLzmaDec.c1055 UInt32 dictSize = propNew.dicSize; in LzmaDec_Allocate() local
1057 if (dictSize >= ((UInt32)1 << 30)) mask = ((UInt32)1 << 22) - 1; in LzmaDec_Allocate()
1058 else if (dictSize >= ((UInt32)1 << 22)) mask = ((UInt32)1 << 20) - 1;; in LzmaDec_Allocate()
1059 dicBufSize = ((SizeT)dictSize + mask) & ~mask; in LzmaDec_Allocate()
1060 if (dicBufSize < dictSize) in LzmaDec_Allocate()
1061 dicBufSize = dictSize; in LzmaDec_Allocate()