/third_party/lzma/CPP/7zip/Archive/7z/ |
H A D | 7zHandler.cpp | 425 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() 491 else if (propsSize != 0)
in SetMethodToProp() 500 if (propsSize > in SetMethodToProp() [all...] |
H A D | 7zIn.cpp | 469 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()
|
H A D | 7zOut.cpp | 263 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/ |
H A D | 7zAes.cpp | 211 unsigned propsSize = 1;
in WriteCoderProperties() local 223 propsSize = 2 + _key.SaltSize;
in WriteCoderProperties() 224 memcpy(props + propsSize, _iv, _ivSize);
in WriteCoderProperties() 225 propsSize += _ivSize;
in WriteCoderProperties() 228 return WriteStream(outStream, props, propsSize);
in WriteCoderProperties()
|
/third_party/lzma/C/ |
H A D | LzmaLib.c | 38 const unsigned char *props, size_t propsSize)
in LzmaUncompress() 41 return LzmaDecode(dest, destLen, src, srcLen, props, (unsigned)propsSize, LZMA_FINISH_ANY, &status, &g_Alloc);
in LzmaUncompress() 37 LzmaUncompress(unsigned char *dest, size_t *destLen, const unsigned char *src, size_t *srcLen, const unsigned char *props, size_t propsSize) LzmaUncompress() argument
|
H A D | 7zDec.c | 98 static SRes SzDecodePpmd(const Byte *props, unsigned propsSize, UInt64 inSize, ILookInStreamPtr inStream,
in SzDecodePpmd() argument 112 if (propsSize != 5)
in SzDecodePpmd() 163 static SRes SzDecodeLzma(const Byte *props, unsigned propsSize, UInt64 inSize, ILookInStreamPtr inStream,
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 inStream,
in SzDecodeLzma2() argument 230 if (propsSize != 1)
in SzDecodeLzma2()
|
H A D | LzmaDec.h | 140 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);
|
H A D | LzmaLib.h | 134 const unsigned char *props, size_t propsSize);
|
H A D | XzEnc.c | 85 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()
|
H A D | 7zArcIn.c | 511 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 > s in ReadUnpackInfo() [all...] |
H A D | LzmaEnc.h | 78 const CLzmaEncProps *props, Byte *propsEncoded, SizeT *propsSize, int writeEndMark,
|
H A D | LzmaDec.c | 1299 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()
|
H A D | XzDec.c | 818 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()
|
H A D | Xz.h | 40 UInt32 propsSize;
member
|
H A D | Lzma2Enc.c | 96 SizeT propsSize = LZMA_PROPS_SIZE;
in Lzma2EncInt_InitStream() local 99 RINOK(LzmaEnc_WriteProperties(p->enc, propsEncoded, &propsSize))
in Lzma2EncInt_InitStream()
|
H A D | LzmaEnc.c | 3113 const CLzmaEncProps *props, Byte *propsEncoded, SizeT *propsSize, int writeEndMark,
in LzmaEncode() 3124 res = LzmaEnc_WriteProperties(p, propsEncoded, propsSize);
in LzmaEncode() 3112 LzmaEncode(Byte *dest, SizeT *destLen, const Byte *src, SizeT srcLen, const CLzmaEncProps *props, Byte *propsEncoded, SizeT *propsSize, int writeEndMark, ICompressProgressPtr progress, ISzAllocPtr alloc, ISzAllocPtr allocBig) LzmaEncode() argument
|
/third_party/lzma/CPP/7zip/Archive/ |
H A D | XzHandler.cpp | 280 if (f.propsSize > 0)
in AddMethodString() 283 if (f.id == XZ_ID_LZMA2 && f.propsSize == 1)
in AddMethodString() 285 else if (f.id == XZ_ID_Delta && f.propsSize == 1)
in AddMethodString() 287 else if (f.id == XZ_ID_ARM64 && f.propsSize == 1)
in AddMethodString() 292 for (UInt32 bi = 0; bi < f.propsSize; bi++)
in AddMethodString()
|