Home
last modified time | relevance | path

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

/external/lzma/CPP/7zip/Crypto/
D7zAes.cpp175 unsigned propsSize = 1; in WriteCoderProperties() local
187 propsSize = 2 + _key.SaltSize; in WriteCoderProperties()
188 memcpy(props + propsSize, _iv, _ivSize); in WriteCoderProperties()
189 propsSize += _ivSize; in WriteCoderProperties()
192 return WriteStream(outStream, props, propsSize); in WriteCoderProperties()
/external/lzma/CPP/7zip/Archive/7z/
D7zHandler.cpp397 CNum propsSize = 0; in SetMethodToProp() local
401 propsSize = inByte.ReadNum(); in SetMethodToProp()
403 inByte.SkipDataNoCheck(propsSize); in SetMethodToProp()
416 if (propsSize == 5) in SetMethodToProp()
436 if (propsSize == 1) in SetMethodToProp()
448 if (propsSize == 5) in SetMethodToProp()
462 if (propsSize == 1) in SetMethodToProp()
470 if (propsSize >= 1) in SetMethodToProp()
D7zIn.cpp412 CNum propsSize = ReadNum(); in ParseFolder() local
413 coder.Props.Alloc((size_t)propsSize); in ParseFolder()
414 ReadBytes((Byte *)coder.Props, (size_t)propsSize); in ParseFolder()
719 CNum propsSize = inByte->ReadNum(); in ReadUnpackInfo() local
720 if (propsSize > inByte->GetRem()) in ReadUnpackInfo()
722 if (id == k_LZMA2 && propsSize == 1) in ReadUnpackInfo()
728 else if (id == k_LZMA && propsSize == 5) in ReadUnpackInfo()
734 inByte->SkipDataNoCheck((size_t)propsSize); in ReadUnpackInfo()
D7zOut.cpp276 size_t propsSize = coder.Props.Size(); in WriteFolder() local
277 b |= ((propsSize != 0) ? 0x20 : 0); in WriteFolder()
285 if (propsSize == 0) in WriteFolder()
287 WriteNumber(propsSize); in WriteFolder()
288 WriteBytes(coder.Props, propsSize); in WriteFolder()
/external/lzma/C/
DLzmaLib.c36 const unsigned char *props, size_t propsSize) in LzmaUncompress() argument
39 …return LzmaDecode(dest, destLen, src, srcLen, props, (unsigned)propsSize, LZMA_FINISH_ANY, &status… in LzmaUncompress()
DLzmaDec.h139 SRes LzmaDec_AllocateProbs(CLzmaDec *p, const Byte *props, unsigned propsSize, ISzAllocPtr alloc);
142 SRes LzmaDec_Allocate(CLzmaDec *p, const Byte *props, unsigned propsSize, ISzAllocPtr alloc);
D7zDec.c73 static SRes SzDecodePpmd(const Byte *props, unsigned propsSize, UInt64 inSize, const ILookInStream … in SzDecodePpmd() argument
87 if (propsSize != 5) in SzDecodePpmd()
134 static SRes SzDecodeLzma(const Byte *props, unsigned propsSize, UInt64 inSize, ILookInStream *inStr… in SzDecodeLzma() argument
141 RINOK(LzmaDec_AllocateProbs(&state, props, propsSize, allocMain)); in SzDecodeLzma()
194 static SRes SzDecodeLzma2(const Byte *props, unsigned propsSize, UInt64 inSize, ILookInStream *inSt… in SzDecodeLzma2() argument
201 if (propsSize != 1) in SzDecodeLzma2()
D7zArcIn.c499 UInt32 propsSize = 0; in SzGetNextFolderItem() local
500 RINOK(SzReadNumber32(sd, &propsSize)); in SzGetNextFolderItem()
501 if (propsSize > sd->Size) in SzGetNextFolderItem()
503 if (propsSize >= 0x80) in SzGetNextFolderItem()
506 coder->PropsSize = (Byte)propsSize; in SzGetNextFolderItem()
507 sd->Data += (size_t)propsSize; in SzGetNextFolderItem()
508 sd->Size -= (size_t)propsSize; in SzGetNextFolderItem()
717 UInt32 propsSize; in ReadUnpackInfo() local
718 RINOK(SzReadNumber32(&sd, &propsSize)); in ReadUnpackInfo()
719 if (propsSize > sd.Size) in ReadUnpackInfo()
[all …]
DLzmaLib.h127 const unsigned char *props, size_t propsSize);
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()
339 RINOK(p->StateCoder.SetProps(p->StateCoder.p, props->props, props->propsSize, alloc)); in SeqInFilter_Init()
745 filter->propsSize = 0; in Xz_CompressBlock()
750 filter->propsSize = 1; in Xz_CompressBlock()
755 filter->propsSize = 4; in Xz_CompressBlock()
762 f->propsSize = 1; in Xz_CompressBlock()
DLzmaEnc.h71 const CLzmaEncProps *props, Byte *propsEncoded, SizeT *propsSize, int writeEndMark,
DLzmaDec.c1121 SRes LzmaDec_AllocateProbs(CLzmaDec *p, const Byte *props, unsigned propsSize, ISzAllocPtr alloc) in LzmaDec_AllocateProbs() argument
1124 RINOK(LzmaProps_Decode(&propNew, props, propsSize)); in LzmaDec_AllocateProbs()
1130 SRes LzmaDec_Allocate(CLzmaDec *p, const Byte *props, unsigned propsSize, ISzAllocPtr alloc) in LzmaDec_Allocate() argument
1134 RINOK(LzmaProps_Decode(&propNew, props, propsSize)); in LzmaDec_Allocate()
DXzDec.c784 if (f->id != XZ_ID_LZMA2 || f->propsSize != 1 || f->props[0] > 40) in XzBlock_AreSupportedFilters()
793 if (f->propsSize != 1) in XzBlock_AreSupportedFilters()
798 || (f->propsSize != 0 && f->propsSize != 4)) in XzBlock_AreSupportedFilters()
840 filter->propsSize = (UInt32)size; in XzBlock_Parse()
908 RINOK(sc->SetProps(sc->p, f->props, f->propsSize, p->alloc)); in XzDecMix_Init()
DXz.h38 UInt32 propsSize; member
DLzma2Enc.c96 SizeT propsSize = LZMA_PROPS_SIZE; in Lzma2EncInt_InitStream() local
99 RINOK(LzmaEnc_WriteProperties(p->enc, propsEncoded, &propsSize)); in Lzma2EncInt_InitStream()
DLzmaEnc.c2957 const CLzmaEncProps *props, Byte *propsEncoded, SizeT *propsSize, int writeEndMark, in LzmaEncode() argument
2968 res = LzmaEnc_WriteProperties(p, propsEncoded, propsSize); in LzmaEncode()
/external/u-boot/lib/lzma/
DLzmaDec.h130 SRes LzmaDec_AllocateProbs(CLzmaDec *p, const Byte *props, unsigned propsSize, ISzAlloc *alloc);
133 SRes LzmaDec_Allocate(CLzmaDec *state, const Byte *prop, unsigned propsSize, ISzAlloc *alloc);
DLzmaDec.c964 SRes LzmaDec_AllocateProbs(CLzmaDec *p, const Byte *props, unsigned propsSize, ISzAlloc *alloc) in LzmaDec_AllocateProbs() argument
967 RINOK(LzmaProps_Decode(&propNew, props, propsSize)); in LzmaDec_AllocateProbs()
973 SRes LzmaDec_Allocate(CLzmaDec *p, const Byte *props, unsigned propsSize, ISzAlloc *alloc) in LzmaDec_Allocate() argument
977 RINOK(LzmaProps_Decode(&propNew, props, propsSize)); in LzmaDec_Allocate()
Dlzma.txt541 CLzmaEncProps *props, Byte *propsEncoded, SizeT *propsSize, int writeEndMark,
/external/lzma/CPP/7zip/Archive/
DXzHandler.cpp267 if (f.propsSize > 0) in AddMethodString()
270 if (f.id == XZ_ID_LZMA2 && f.propsSize == 1) in AddMethodString()
272 else if (f.id == XZ_ID_Delta && f.propsSize == 1) in AddMethodString()
277 for (UInt32 bi = 0; bi < f.propsSize; bi++) in AddMethodString()
/external/lzma/DOC/
Dlzma.txt271 const CLzmaEncProps *props, Byte *propsEncoded, SizeT *propsSize, int writeEndMark,