Home
last modified time | relevance | path

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

/external/lzma/CPP/7zip/Archive/Common/
DParseProperties.cpp40 HRESULT ParsePropDictionaryValue(const UString &srcStringSpec, UInt32 &dicSize) in ParsePropDictionaryValue() argument
55 dicSize = (UInt32)1 << (int)number; in ParsePropDictionaryValue()
63 dicSize = (UInt32)number; in ParsePropDictionaryValue()
68 dicSize = (UInt32)(number << 10); in ParsePropDictionaryValue()
73 dicSize = (UInt32)(number << 20); in ParsePropDictionaryValue()
DHandlerOut.cpp204 UInt32 dicSize = in SetCompressionMethod2() local
223 SetMethodProp(oneMethodInfo, NCoderPropID::kDictionarySize, dicSize); in SetCompressionMethod2()
258 UInt32 dicSize = in SetCompressionMethod2() local
264 SetMethodProp(oneMethodInfo, NCoderPropID::kDictionarySize, dicSize); in SetCompressionMethod2()
344 UInt32 dicSize; in SetParam() local
345 RINOK(ParsePropDictionaryValue(value, dicSize)); in SetParam()
346 prop.Value = dicSize; in SetParam()
602 UInt32 dicSize; in SetProperty() local
603 RINOK(ParsePropDictionaryValue(realName.Mid(MyStringLen(nameToPropID.Name)), value, dicSize)); in SetProperty()
604 prop.Value = dicSize; in SetProperty()
[all …]
DParseProperties.h10 HRESULT ParsePropDictionaryValue(const UString &srcStringSpec, UInt32 &dicSize);
/external/lzma/C/
DLzma2Dec.c63 UInt32 dicSize; in Lzma2Dec_GetOldProps() local
66 dicSize = (prop == 40) ? 0xFFFFFFFF : LZMA2_DIC_SIZE_FROM_PROP(prop); in Lzma2Dec_GetOldProps()
68 props[1] = (Byte)(dicSize); in Lzma2Dec_GetOldProps()
69 props[2] = (Byte)(dicSize >> 8); in Lzma2Dec_GetOldProps()
70 props[3] = (Byte)(dicSize >> 16); in Lzma2Dec_GetOldProps()
71 props[4] = (Byte)(dicSize >> 24); in Lzma2Dec_GetOldProps()
163 if (p->checkDicSize == 0 && p->prop.dicSize - p->processedPos <= size) in LzmaDec_UpdateWithUncompressed()
164 p->checkDicSize = p->prop.dicSize; in LzmaDec_UpdateWithUncompressed()
DLzmaDec.c440 if (p->checkDicSize == 0 && p->prop.dicSize - p->processedPos <= len) in LzmaDec_WriteRem()
441 p->checkDicSize = p->prop.dicSize; in LzmaDec_WriteRem()
461 UInt32 rem = p->prop.dicSize - p->processedPos; in LzmaDec_DecodeReal2()
466 if (p->processedPos >= p->prop.dicSize) in LzmaDec_DecodeReal2()
467 p->checkDicSize = p->prop.dicSize; in LzmaDec_DecodeReal2()
900 UInt32 dicSize; in LzmaProps_Decode() local
906 dicSize = data[1] | ((UInt32)data[2] << 8) | ((UInt32)data[3] << 16) | ((UInt32)data[4] << 24); in LzmaProps_Decode()
908 if (dicSize < LZMA_DIC_MIN) in LzmaProps_Decode()
909 dicSize = LZMA_DIC_MIN; in LzmaProps_Decode()
910 p->dicSize = dicSize; in LzmaProps_Decode()
[all …]
DLzmaDec.h31 UInt32 dicSize; member
DLzma2Enc.c427 UInt32 dicSize = LzmaEncProps_GetDictSize(&p->props.lzmaProps); in Lzma2Enc_WriteProperties() local
429 if (dicSize <= LZMA2_DIC_SIZE_FROM_PROP(i)) in Lzma2Enc_WriteProperties()
/external/lzma/CPP/7zip/Archive/7z/
D7zHandler.cpp284 UInt32 dicSize = GetUi32((const Byte *)coder.Props + 1); in GetProperty() local
285 propsString = GetStringForSizeValue(dicSize); in GetProperty()
290 UInt32 dicSize = (((UInt32)2 | ((p) & 1)) << ((p) / 2 + 11)); in GetProperty() local
291 propsString = GetStringForSizeValue(dicSize); in GetProperty()
299 UInt32 dicSize = GetUi32((const Byte *)coder.Props + 1); in GetProperty() local
300 propsString += GetStringForSizeValue(dicSize); in GetProperty()
/external/lzma/CPP/7zip/Archive/
DLzmaHandler.cpp28 UInt32 dicSize = GetUi32(p); in CheckDicSize() local
30 if (dicSize == ((UInt32)2 << i) || dicSize == ((UInt32)3 << i)) in CheckDicSize()
32 return (dicSize == 0xFFFFFFFF); in CheckDicSize()