Home
last modified time | relevance | path

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

/external/lzma/CPP/7zip/Common/
DMethodProps.cpp93 static HRESULT StringToDictSize(const UString &s, UInt32 &dicSize) in StringToDictSize() argument
105 dicSize = (UInt32)1 << (unsigned)number; in StringToDictSize()
111 case 'b': dicSize = number; return S_OK; in StringToDictSize()
119 dicSize = number << numBits; in StringToDictSize()
340 UInt32 dicSize; in SetParam() local
341 RINOK(StringToDictSize(value, dicSize)); in SetParam()
342 prop.Value = dicSize; in SetParam()
410 UInt32 dicSize; in ParseParamsFromPROPVARIANT() local
411 RINOK(PROPVARIANT_to_DictSize(value, dicSize)); in ParseParamsFromPROPVARIANT()
412 prop.Value = dicSize; in ParseParamsFromPROPVARIANT()
/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.c472 if (p->checkDicSize == 0 && p->prop.dicSize - p->processedPos <= len) in LzmaDec_WriteRem()
473 p->checkDicSize = p->prop.dicSize; in LzmaDec_WriteRem()
494 UInt32 rem = p->prop.dicSize - p->processedPos; in LzmaDec_DecodeReal2()
499 if (p->processedPos >= p->prop.dicSize) in LzmaDec_DecodeReal2()
500 p->checkDicSize = p->prop.dicSize; in LzmaDec_DecodeReal2()
933 UInt32 dicSize; in LzmaProps_Decode() local
939 dicSize = data[1] | ((UInt32)data[2] << 8) | ((UInt32)data[3] << 16) | ((UInt32)data[4] << 24); in LzmaProps_Decode()
941 if (dicSize < LZMA_DIC_MIN) in LzmaProps_Decode()
942 dicSize = LZMA_DIC_MIN; in LzmaProps_Decode()
943 p->dicSize = dicSize; in LzmaProps_Decode()
[all …]
DLzmaDec.h29 UInt32 dicSize; member
DLzma2Enc.c443 UInt32 dicSize = LzmaEncProps_GetDictSize(&p->props.lzmaProps); in Lzma2Enc_WriteProperties() local
445 if (dicSize <= LZMA2_DIC_SIZE_FROM_PROP(i)) in Lzma2Enc_WriteProperties()
/external/lzma/CPP/7zip/Archive/7z/
D7zHandlerOut.cpp118 UInt32 dicSize; in SetMainMethod() local
122 case k_LZMA2: dicSize = oneMethodInfo.Get_Lzma_DicSize(); break; in SetMainMethod()
123 case k_PPMD: dicSize = oneMethodInfo.Get_Ppmd_MemSize(); break; in SetMainMethod()
124 case k_Deflate: dicSize = (UInt32)1 << 15; break; in SetMainMethod()
125 case k_BZip2: dicSize = oneMethodInfo.Get_BZip2_BlockSize(); break; in SetMainMethod()
128 _numSolidBytes = (UInt64)dicSize << 7; in SetMainMethod()
D7zHandler.cpp418 UInt32 dicSize = GetUi32((const Byte *)props + 1); in SetMethodToProp() local
419 char *dest = s + GetStringForSizeValue(s, dicSize); in SetMethodToProp()
D7zIn.cpp754 UInt32 dicSize = GetUi32(_inByteBack->GetPtr() + 1); in ReadUnpackInfo() local
755 if (folders.ParsedMethods.LzmaDic < dicSize) in ReadUnpackInfo()
756 folders.ParsedMethods.LzmaDic = dicSize; in ReadUnpackInfo()
/external/lzma/CPP/7zip/Archive/
DLzmaHandler.cpp28 UInt32 dicSize = GetUi32(p); in CheckDicSize() local
29 if (dicSize == 1) in CheckDicSize()
32 if (dicSize == ((UInt32)2 << i) || dicSize == ((UInt32)3 << i)) in CheckDicSize()
34 return (dicSize == 0xFFFFFFFF); in CheckDicSize()