Home
last modified time | relevance | path

Searched refs:propsSize (Results 1 – 20 of 20) sorted by relevance

/third_party/lzma/CPP/7zip/Archive/7z/
D7zHandler.cpp425 CNum propsSize = 0; in SetMethodToProp() local
429 propsSize = inByte.ReadNum(); in SetMethodToProp()
431 inByte.SkipDataNoCheck(propsSize); in SetMethodToProp()
444 if (propsSize == 5) in SetMethodToProp()
464 if (propsSize == 1) in SetMethodToProp()
470 if (propsSize == 5) in SetMethodToProp()
482 if (propsSize == 1) in SetMethodToProp()
488 if (propsSize == 4) in SetMethodToProp()
500 if (propsSize >= 1) in SetMethodToProp()
D7zIn.cpp469 const CNum propsSize = ReadNum(); in ParseFolder() local
470 coder.Props.Alloc((size_t)propsSize); in ParseFolder()
471 ReadBytes((Byte *)coder.Props, (size_t)propsSize); in ParseFolder()
794 const CNum propsSize = inByte->ReadNum(); in ReadUnpackInfo() local
795 if (propsSize > inByte->GetRem()) in ReadUnpackInfo()
797 if (id == k_LZMA2 && propsSize == 1) in ReadUnpackInfo()
803 else if (id == k_LZMA && propsSize == 5) in ReadUnpackInfo()
809 inByte->SkipDataNoCheck((size_t)propsSize); in ReadUnpackInfo()
D7zOut.cpp263 const size_t propsSize = coder.Props.Size(); in WriteFolder() local
264 b |= ((propsSize != 0) ? 0x20 : 0); in WriteFolder()
272 if (propsSize == 0) in WriteFolder()
274 WriteNumber(propsSize); in WriteFolder()
275 WriteBytes(coder.Props, propsSize); in WriteFolder()
/third_party/lzma/CPP/7zip/Crypto/
D7zAes.cpp211 unsigned propsSize = 1; in Z7_COM7F_IMF() local
223 propsSize = 2 + _key.SaltSize; in Z7_COM7F_IMF()
224 memcpy(props + propsSize, _iv, _ivSize); in Z7_COM7F_IMF()
225 propsSize += _ivSize; in Z7_COM7F_IMF()
228 return WriteStream(outStream, props, propsSize); in Z7_COM7F_IMF()
/third_party/lzma/C/
DLzmaLib.c38 const unsigned char *props, size_t propsSize) in LzmaUncompress() argument
41 …return LzmaDecode(dest, destLen, src, srcLen, props, (unsigned)propsSize, LZMA_FINISH_ANY, &status… in LzmaUncompress()
D7zDec.c98 static SRes SzDecodePpmd(const Byte *props, unsigned propsSize, UInt64 inSize, ILookInStreamPtr inS… in SzDecodePpmd() argument
112 if (propsSize != 5) in SzDecodePpmd()
163 static SRes SzDecodeLzma(const Byte *props, unsigned propsSize, UInt64 inSize, ILookInStreamPtr inS… in SzDecodeLzma() argument
170 RINOK(LzmaDec_AllocateProbs(&state, props, propsSize, allocMain)) in SzDecodeLzma()
223 static SRes SzDecodeLzma2(const Byte *props, unsigned propsSize, UInt64 inSize, ILookInStreamPtr in… in SzDecodeLzma2() argument
230 if (propsSize != 1) in SzDecodeLzma2()
DLzmaDec.h140 SRes LzmaDec_AllocateProbs(CLzmaDec *p, const Byte *props, unsigned propsSize, ISzAllocPtr alloc);
143 SRes LzmaDec_Allocate(CLzmaDec *p, const Byte *props, unsigned propsSize, ISzAllocPtr alloc);
D7zArcIn.c511 UInt32 propsSize = 0; in SzGetNextFolderItem() local
512 RINOK(SzReadNumber32(sd, &propsSize)) in SzGetNextFolderItem()
513 if (propsSize > sd->Size) in SzGetNextFolderItem()
515 if (propsSize >= 0x80) in SzGetNextFolderItem()
518 coder->PropsSize = (Byte)propsSize; in SzGetNextFolderItem()
519 sd->Data += (size_t)propsSize; in SzGetNextFolderItem()
520 sd->Size -= (size_t)propsSize; in SzGetNextFolderItem()
729 UInt32 propsSize; in ReadUnpackInfo() local
730 RINOK(SzReadNumber32(&sd, &propsSize)) in ReadUnpackInfo()
731 if (propsSize > sd.Size) in ReadUnpackInfo()
[all …]
DXzEnc.c85 pos += Xz_WriteVarInt(header + pos, f->propsSize); in XzBlock_WriteHeader()
86 memcpy(header + pos, f->props, f->propsSize); in XzBlock_WriteHeader()
87 pos += f->propsSize; in XzBlock_WriteHeader()
371 RINOK(p->StateCoder.SetProps(p->StateCoder.p, props->props, props->propsSize, alloc)) in SeqInFilter_Init()
777 filter->propsSize = 0; in Xz_CompressBlock()
782 filter->propsSize = 1; in Xz_CompressBlock()
788 filter->propsSize = 4; in Xz_CompressBlock()
795 f->propsSize = 1; in Xz_CompressBlock()
DLzmaLib.h134 const unsigned char *props, size_t propsSize);
DLzmaEnc.h78 const CLzmaEncProps *props, Byte *propsEncoded, SizeT *propsSize, int writeEndMark,
DLzmaDec.c1299 SRes LzmaDec_AllocateProbs(CLzmaDec *p, const Byte *props, unsigned propsSize, ISzAllocPtr alloc) in LzmaDec_AllocateProbs() argument
1302 RINOK(LzmaProps_Decode(&propNew, props, propsSize)) in LzmaDec_AllocateProbs()
1308 SRes LzmaDec_Allocate(CLzmaDec *p, const Byte *props, unsigned propsSize, ISzAllocPtr alloc) in LzmaDec_Allocate() argument
1312 RINOK(LzmaProps_Decode(&propNew, props, propsSize)) in LzmaDec_Allocate()
DXzDec.c818 if (f->id != XZ_ID_LZMA2 || f->propsSize != 1 || f->props[0] > 40) in XzBlock_AreSupportedFilters()
827 if (f->propsSize != 1) in XzBlock_AreSupportedFilters()
831 || (f->propsSize != 0 && f->propsSize != 4)) in XzBlock_AreSupportedFilters()
875 filter->propsSize = (UInt32)size; in XzBlock_Parse()
943 RINOK(sc->SetProps(sc->p, f->props, f->propsSize, p->alloc)) in XzDecMix_Init()
DLzma2Enc.c96 SizeT propsSize = LZMA_PROPS_SIZE; in Lzma2EncInt_InitStream() local
99 RINOK(LzmaEnc_WriteProperties(p->enc, propsEncoded, &propsSize)) in Lzma2EncInt_InitStream()
DXz.h40 UInt32 propsSize; member
DLzmaEnc.c3113 const CLzmaEncProps *props, Byte *propsEncoded, SizeT *propsSize, int writeEndMark, in LzmaEncode() argument
3124 res = LzmaEnc_WriteProperties(p, propsEncoded, propsSize); in LzmaEncode()
/third_party/lzma/CPP/7zip/Archive/
DXzHandler.cpp280 if (f.propsSize > 0)
283 if (f.id == XZ_ID_LZMA2 && f.propsSize == 1)
285 else if (f.id == XZ_ID_Delta && f.propsSize == 1)
287 else if (f.id == XZ_ID_ARM64 && f.propsSize == 1)
292 for (UInt32 bi = 0; bi < f.propsSize; bi++)
/third_party/lzma/DOC/
Dlzma.txt273 const CLzmaEncProps *props, Byte *propsEncoded, SizeT *propsSize, int writeEndMark,
/third_party/lzma/
DREADME_zh.md432 const CLzmaEncProps *props, Byte *propsEncoded, SizeT *propsSize, int writeEndMark,
DREADME.md473 const CLzmaEncProps *props, Byte *propsEncoded, SizeT *propsSize, int writeEndMark,