Home
last modified time | relevance | path

Searched refs:propsSize (Results 1 – 18 of 18) 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.cpp391 CNum propsSize = 0; in SetMethodToProp() local
395 propsSize = inByte.ReadNum(); in SetMethodToProp()
397 inByte.SkipDataNoCheck(propsSize); in SetMethodToProp()
410 if (propsSize == 5) in SetMethodToProp()
430 if (propsSize == 1) in SetMethodToProp()
442 if (propsSize == 5) in SetMethodToProp()
456 if (propsSize == 1) in SetMethodToProp()
464 if (propsSize >= 1) in SetMethodToProp()
D7zIn.cpp396 CNum propsSize = ReadNum(); in ParseFolder() local
397 coder.Props.Alloc((size_t)propsSize); in ParseFolder()
398 ReadBytes((Byte *)coder.Props, (size_t)propsSize); in ParseFolder()
694 CNum propsSize = inByte->ReadNum(); in ReadUnpackInfo() local
695 if (propsSize > inByte->GetRem()) in ReadUnpackInfo()
697 if (id == k_LZMA2 && propsSize == 1) in ReadUnpackInfo()
703 else if (id == k_LZMA && propsSize == 5) in ReadUnpackInfo()
709 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/
DXzEnc.c67 pos += Xz_WriteVarInt(header + pos, f->propsSize); in XzBlock_WriteHeader()
68 memcpy(header + pos, f->props, f->propsSize); in XzBlock_WriteHeader()
69 pos += f->propsSize; in XzBlock_WriteHeader()
283 RINOK(p->StateCoder.SetProps(p->StateCoder.p, props->props, props->propsSize, &g_Alloc)); in SeqInFilter_Init()
433 filter->propsSize = 0; in Xz_Compress()
438 filter->propsSize = 1; in Xz_Compress()
443 filter->propsSize = 4; in Xz_Compress()
450 f->propsSize = 1; in Xz_Compress()
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()
D7zDec.c73 static SRes SzDecodePpmd(const Byte *props, unsigned propsSize, UInt64 inSize, ILookInStream *inStr… 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()
DLzmaDec.h132 SRes LzmaDec_AllocateProbs(CLzmaDec *p, const Byte *props, unsigned propsSize, ISzAlloc *alloc);
135 SRes LzmaDec_Allocate(CLzmaDec *state, const Byte *prop, unsigned propsSize, ISzAlloc *alloc);
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);
DLzmaEnc.h73 const CLzmaEncProps *props, Byte *propsEncoded, SizeT *propsSize, int writeEndMark,
DLzmaDec.c1036 SRes LzmaDec_AllocateProbs(CLzmaDec *p, const Byte *props, unsigned propsSize, ISzAlloc *alloc) in LzmaDec_AllocateProbs() argument
1039 RINOK(LzmaProps_Decode(&propNew, props, propsSize)); in LzmaDec_AllocateProbs()
1045 SRes LzmaDec_Allocate(CLzmaDec *p, const Byte *props, unsigned propsSize, ISzAlloc *alloc) in LzmaDec_Allocate() argument
1049 RINOK(LzmaProps_Decode(&propNew, props, propsSize)); in LzmaDec_Allocate()
DLzma2Enc.c52 SizeT propsSize = LZMA_PROPS_SIZE; in Lzma2EncInt_Init() local
54 RINOK(LzmaEnc_WriteProperties(p->enc, propsEncoded, &propsSize)); in Lzma2EncInt_Init()
DXz.h38 UInt32 propsSize; member
DXzDec.c553 filter->propsSize = (UInt32)size; in XzBlock_Parse()
602 RINOK(sc->SetProps(sc->p, f->props, f->propsSize, p->alloc)); in XzDec_Init()
DLzmaEnc.c2332 const CLzmaEncProps *props, Byte *propsEncoded, SizeT *propsSize, int writeEndMark, in LzmaEncode() argument
2343 res = LzmaEnc_WriteProperties(p, propsEncoded, propsSize); in LzmaEncode()
/external/lzma/CPP/7zip/Archive/
DXzHandler.cpp237 if (f.propsSize > 0) in GetMethodString()
240 if (f.id == XZ_ID_LZMA2 && f.propsSize == 1) in GetMethodString()
242 else if (f.id == XZ_ID_Delta && f.propsSize == 1) in GetMethodString()
247 for (UInt32 bi = 0; bi < f.propsSize; bi++) in GetMethodString()
/external/lzma/DOC/
Dlzma.txt271 const CLzmaEncProps *props, Byte *propsEncoded, SizeT *propsSize, int writeEndMark,