Home
last modified time | relevance | path

Searched refs:dicSize (Results 1 – 8 of 8) sorted by relevance

/external/lzma/C/
DLzma2Dec.c65 UInt32 dicSize; in Lzma2Dec_GetOldProps() local
68 dicSize = (prop == 40) ? 0xFFFFFFFF : LZMA2_DIC_SIZE_FROM_PROP(prop); in Lzma2Dec_GetOldProps()
70 props[1] = (Byte)(dicSize); in Lzma2Dec_GetOldProps()
71 props[2] = (Byte)(dicSize >> 8); in Lzma2Dec_GetOldProps()
72 props[3] = (Byte)(dicSize >> 16); in Lzma2Dec_GetOldProps()
73 props[4] = (Byte)(dicSize >> 24); in Lzma2Dec_GetOldProps()
165 if (p->checkDicSize == 0 && p->prop.dicSize - p->processedPos <= size) in LzmaDec_UpdateWithUncompressed()
166 p->checkDicSize = p->prop.dicSize; in LzmaDec_UpdateWithUncompressed()
DLzmaDec.c528 if (p->checkDicSize == 0 && p->prop.dicSize - p->processedPos <= len) in LzmaDec_WriteRem()
529 p->checkDicSize = p->prop.dicSize; in LzmaDec_WriteRem()
550 UInt32 rem = p->prop.dicSize - p->processedPos; in LzmaDec_DecodeReal2()
557 if (p->checkDicSize == 0 && p->processedPos >= p->prop.dicSize) in LzmaDec_DecodeReal2()
558 p->checkDicSize = p->prop.dicSize; in LzmaDec_DecodeReal2()
998 UInt32 dicSize; in LzmaProps_Decode() local
1004 dicSize = data[1] | ((UInt32)data[2] << 8) | ((UInt32)data[3] << 16) | ((UInt32)data[4] << 24); in LzmaProps_Decode()
1006 if (dicSize < LZMA_DIC_MIN) in LzmaProps_Decode()
1007 dicSize = LZMA_DIC_MIN; in LzmaProps_Decode()
1008 p->dicSize = dicSize; in LzmaProps_Decode()
[all …]
DLzmaDec.h29 UInt32 dicSize; member
DLzma2Enc.c467 UInt32 dicSize = LzmaEncProps_GetDictSize(&p->props.lzmaProps); in Lzma2Enc_WriteProperties() local
469 if (dicSize <= LZMA2_DIC_SIZE_FROM_PROP(i)) in Lzma2Enc_WriteProperties()
/external/lzma/CPP/7zip/Archive/
DLzmaHandler.cpp29 UInt32 dicSize = GetUi32(p); in CheckDicSize() local
30 if (dicSize == 1) in CheckDicSize()
33 if (dicSize == ((UInt32)2 << i) || dicSize == ((UInt32)3 << i)) in CheckDicSize()
35 return (dicSize == 0xFFFFFFFF); in CheckDicSize()
/external/lzma/CPP/7zip/Archive/7z/
D7zHandlerOut.cpp131 UInt32 dicSize; in SetMainMethod() local
135 case k_LZMA2: dicSize = oneMethodInfo.Get_Lzma_DicSize(); break; in SetMainMethod()
136 case k_PPMD: dicSize = oneMethodInfo.Get_Ppmd_MemSize(); break; in SetMainMethod()
137 case k_Deflate: dicSize = (UInt32)1 << 15; break; in SetMainMethod()
138 case k_BZip2: dicSize = oneMethodInfo.Get_BZip2_BlockSize(); break; in SetMainMethod()
142 _numSolidBytes = (UInt64)dicSize << 7; in SetMainMethod()
D7zHandler.cpp412 UInt32 dicSize = GetUi32((const Byte *)props + 1); in SetMethodToProp() local
413 char *dest = s + GetStringForSizeValue(s, dicSize); in SetMethodToProp()
D7zIn.cpp705 UInt32 dicSize = GetUi32(_inByteBack->GetPtr() + 1); in ReadUnpackInfo() local
706 if (folders.ParsedMethods.LzmaDic < dicSize) in ReadUnpackInfo()
707 folders.ParsedMethods.LzmaDic = dicSize; in ReadUnpackInfo()