Home
last modified time | relevance | path

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

/external/lzma/C/
DXzEnc.c72 pos += Xz_WriteVarInt(header + pos, f->propsSize); in XzBlock_WriteHeader()
73 memcpy(header + pos, f->props, f->propsSize); in XzBlock_WriteHeader()
74 pos += f->propsSize; in XzBlock_WriteHeader()
277 RINOK(p->StateCoder.SetProps(p->StateCoder.p, props->props, props->propsSize, &g_Alloc)); in SeqInFilter_Init()
422 filter->propsSize = 0; in Xz_Compress()
426 filter->propsSize = 1; in Xz_Compress()
431 filter->propsSize = 4; in Xz_Compress()
438 f->propsSize = 1; in Xz_Compress()
DLzmaLib.c42 const unsigned char *props, size_t propsSize) in LzmaUncompress() argument
45 …return LzmaDecode(dest, destLen, src, srcLen, props, (unsigned)propsSize, LZMA_FINISH_ANY, &status… in LzmaUncompress()
D7zDec.c68 static SRes SzDecodePpmd(const Byte *props, unsigned propsSize, UInt64 inSize, ILookInStream *inStr… in SzDecodePpmd() argument
82 if (propsSize != 5) in SzDecodePpmd()
129 static SRes SzDecodeLzma(const Byte *props, unsigned propsSize, UInt64 inSize, ILookInStream *inStr… in SzDecodeLzma() argument
136 RINOK(LzmaDec_AllocateProbs(&state, props, propsSize, allocMain)); in SzDecodeLzma()
177 static SRes SzDecodeLzma2(const Byte *props, unsigned propsSize, UInt64 inSize, ILookInStream *inSt… in SzDecodeLzma2() argument
184 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);
DLzmaLib.h127 const unsigned char *props, size_t propsSize);
D7zArcIn.c547 UInt32 propsSize = 0; in SzGetNextFolderItem() local
548 RINOK(SzReadNumber32(sd, &propsSize)); in SzGetNextFolderItem()
549 if (propsSize >= 0x40) in SzGetNextFolderItem()
551 if (propsSize > sd->Size) in SzGetNextFolderItem()
554 coder->PropsSize = (Byte)propsSize; in SzGetNextFolderItem()
555 sd->Data += (size_t)propsSize; in SzGetNextFolderItem()
556 sd->Size -= (size_t)propsSize; in SzGetNextFolderItem()
743 UInt32 propsSize; in ReadUnpackInfo() local
744 RINOK(SzReadNumber32(&sd, &propsSize)); in ReadUnpackInfo()
745 if (propsSize > sd.Size) in ReadUnpackInfo()
[all …]
DLzmaEnc.h73 const CLzmaEncProps *props, Byte *propsEncoded, SizeT *propsSize, int writeEndMark,
DLzmaDec.c971 SRes LzmaDec_AllocateProbs(CLzmaDec *p, const Byte *props, unsigned propsSize, ISzAlloc *alloc) in LzmaDec_AllocateProbs() argument
974 RINOK(LzmaProps_Decode(&propNew, props, propsSize)); in LzmaDec_AllocateProbs()
980 SRes LzmaDec_Allocate(CLzmaDec *p, const Byte *props, unsigned propsSize, ISzAlloc *alloc) in LzmaDec_Allocate() argument
984 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()
599 RINOK(sc->SetProps(sc->p, f->props, f->propsSize, p->alloc)); in XzDec_Init()
DLzmaEnc.c2259 const CLzmaEncProps *props, Byte *propsEncoded, SizeT *propsSize, int writeEndMark, in LzmaEncode() argument
2270 res = LzmaEnc_WriteProperties(p, propsEncoded, propsSize); in LzmaEncode()
/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()
D7zOut.cpp261 size_t propsSize = coder.Props.Size(); in WriteFolder() local
275 b |= ((propsSize != 0) ? 0x20 : 0 ); in WriteFolder()
283 if (propsSize == 0) in WriteFolder()
285 WriteNumber(propsSize); in WriteFolder()
286 WriteBytes(coder.Props, propsSize); in WriteFolder()
D7zIn.cpp454 CNum propsSize = ReadNum(); in ParseFolder() local
455 coder.Props.Alloc((size_t)propsSize); in ParseFolder()
456 ReadBytes((Byte *)coder.Props, (size_t)propsSize); in ParseFolder()
743 CNum propsSize = inByte->ReadNum(); in ReadUnpackInfo() local
744 if (propsSize > inByte->GetRem()) in ReadUnpackInfo()
746 if (id == k_LZMA2 && propsSize == 1) in ReadUnpackInfo()
752 else if (id == k_LZMA && propsSize == 5) in ReadUnpackInfo()
758 inByte->SkipDataNoCheck((size_t)propsSize); in ReadUnpackInfo()
/external/lzma/CPP/7zip/Archive/
DXzHandler.cpp278 if (f.propsSize > 0) in GetMethodString()
281 if (f.id == XZ_ID_LZMA2 && f.propsSize == 1) in GetMethodString()
283 else if (f.id == XZ_ID_Delta && f.propsSize == 1) in GetMethodString()
288 for (UInt32 bi = 0; bi < f.propsSize; bi++) in GetMethodString()
/external/lzma/DOC/
Dlzma.txt271 const CLzmaEncProps *props, Byte *propsEncoded, SizeT *propsSize, int writeEndMark,