/external/lzma/C/ |
XzEnc.h | 15 SRes Xz_Encode(ISeqOutStream *outStream, ISeqInStream *inStream,
19 SRes Xz_EncodeEmpty(ISeqOutStream *outStream);
|
Types.h | 43 typedef int SRes;
139 SRes (*Read)(void *p, void *buf, size_t *size);
145 SRes SeqInStream_Read(ISeqInStream *stream, void *buf, size_t size);
146 SRes SeqInStream_Read2(ISeqInStream *stream, void *buf, size_t size, SRes errorType);
147 SRes SeqInStream_ReadByte(ISeqInStream *stream, Byte *buf);
165 SRes (*Read)(void *p, void *buf, size_t *size); /* same as ISeqInStream::Read */
166 SRes (*Seek)(void *p, Int64 *pos, ESzSeek origin);
171 SRes (*Look)(void *p, const void **buf, size_t *size);
175 SRes (*Skip)(void *p, size_t offset); [all...] |
Lzma86.h | 71 SRes Lzma86_Encode(Byte *dest, size_t *destLen, const Byte *src, size_t srcLen,
87 SRes Lzma86_GetUnpackSize(const Byte *src, SizeT srcLen, UInt64 *unpackSize);
107 SRes Lzma86_Decode(Byte *dest, SizeT *destLen, const Byte *src, SizeT *srcLen);
|
Lzma2Dec.h | 31 SRes Lzma2Dec_AllocateProbs(CLzma2Dec *p, Byte prop, ISzAlloc *alloc);
32 SRes Lzma2Dec_Allocate(CLzma2Dec *p, Byte prop, ISzAlloc *alloc);
51 SRes Lzma2Dec_DecodeToDic(CLzma2Dec *p, SizeT dicLimit,
54 SRes Lzma2Dec_DecodeToBuf(CLzma2Dec *p, Byte *dest, SizeT *destLen,
77 SRes Lzma2Decode(Byte *dest, SizeT *destLen, const Byte *src, SizeT *srcLen,
|
LzmaEnc.h | 54 SRes LzmaEnc_SetProps(CLzmaEncHandle p, const CLzmaEncProps *props);
55 SRes LzmaEnc_WriteProperties(CLzmaEncHandle p, Byte *properties, SizeT *size);
56 SRes LzmaEnc_Encode(CLzmaEncHandle p, ISeqOutStream *outStream, ISeqInStream *inStream,
58 SRes LzmaEnc_MemEncode(CLzmaEncHandle p, Byte *dest, SizeT *destLen, const Byte *src, SizeT srcLen,
72 SRes LzmaEncode(Byte *dest, SizeT *destLen, const Byte *src, SizeT srcLen,
|
LzmaDec.h | 40 SRes LzmaProps_Decode(CLzmaProps *p, const Byte *data, unsigned size);
134 SRes LzmaDec_AllocateProbs(CLzmaDec *p, const Byte *props, unsigned propsSize, ISzAlloc *alloc);
137 SRes LzmaDec_Allocate(CLzmaDec *state, const Byte *prop, unsigned propsSize, ISzAlloc *alloc);
181 SRes LzmaDec_DecodeToDic(CLzmaDec *p, SizeT dicLimit,
198 SRes LzmaDec_DecodeToBuf(CLzmaDec *p, Byte *dest, SizeT *destLen,
223 SRes LzmaDecode(Byte *dest, SizeT *destLen, const Byte *src, SizeT *srcLen,
|
7zStream.c | 8 SRes SeqInStream_Read2(ISeqInStream *stream, void *buf, size_t size, SRes errorType)
22 SRes SeqInStream_Read(ISeqInStream *stream, void *buf, size_t size)
27 SRes SeqInStream_ReadByte(ISeqInStream *stream, Byte *buf)
34 SRes LookInStream_SeekTo(ILookInStream *stream, UInt64 offset)
40 SRes LookInStream_LookRead(ILookInStream *stream, void *buf, size_t *size)
50 SRes LookInStream_Read2(ILookInStream *stream, void *buf, size_t size, SRes errorType)
64 SRes LookInStream_Read(ILookInStream *stream, void *buf, size_t size)
69 static SRes LookToRead_Look_Lookahead(void *pp, const void **buf, size_t *size) [all...] |
Lzma2Enc.h | 40 SRes Lzma2Enc_SetProps(CLzma2EncHandle p, const CLzma2EncProps *props);
42 SRes Lzma2Enc_Encode(CLzma2EncHandle p,
57 SRes Lzma2Encode(Byte *dest, SizeT *destLen, const Byte *src, SizeT srcLen,
|
MtCoder.h | 41 SRes res;
47 SRes MtProgress_Set(CMtProgress *p, unsigned index, UInt64 inSize, UInt64 outSize);
69 SRes (*Code)(void *p, unsigned index, Byte *dest, size_t *destSize,
86 SRes res;
94 SRes MtCoder_Code(CMtCoder *p);
|
Lzma86Dec.c | 13 SRes Lzma86_GetUnpackSize(const Byte *src, SizeT srcLen, UInt64 *unpackSize)
24 SRes Lzma86_Decode(Byte *dest, SizeT *destLen, const Byte *src, SizeT *srcLen)
27 SRes res;
|
Xz.h | 54 SRes XzBlock_Parse(CXzBlock *p, const Byte *header);
55 SRes XzBlock_ReadHeader(CXzBlock *p, ISeqInStream *inStream, Bool *isIndex, UInt32 *headerSizeRes);
96 SRes Xz_ParseHeader(CXzStreamFlags *p, const Byte *buf);
97 SRes Xz_ReadHeader(CXzStreamFlags *p, ISeqInStream *inStream);
131 SRes Xzs_ReadBackward(CXzs *p, ILookInStream *inStream, Int64 *startOffset, ICompressProgress *progress, ISzAlloc *alloc);
154 SRes (*SetProps)(void *p, const Byte *props, size_t propSize, ISzAlloc *alloc);
156 SRes (*Code)(void *p, Byte *dest, SizeT *destLen, const Byte *src, SizeT *srcLen,
177 SRes MixCoder_SetFromMethod(CMixCoder *p, int coderIndex, UInt64 methodId);
178 SRes MixCoder_Code(CMixCoder *p, Byte *dest, SizeT *destLen,
223 SRes XzUnpacker_Create(CXzUnpacker *p, ISzAlloc *alloc); [all...] |
XzEnc.c | 30 static SRes WriteBytes(ISeqOutStream *s, const void *buf, UInt32 size)
35 static SRes WriteBytesAndCrc(ISeqOutStream *s, const void *buf, UInt32 size, UInt32 *crc)
41 SRes Xz_WriteHeader(CXzStreamFlags f, ISeqOutStream *s)
53 SRes XzBlock_WriteHeader(const CXzBlock *p, ISeqOutStream *s)
79 SRes Xz_WriteFooter(CXzStream *p, ISeqOutStream *s)
124 SRes Xz_AddIndexRecord(CXzStream *p, UInt64 unpackSize, UInt64 totalSize, ISzAlloc *alloc)
173 static SRes SeqCheckInStream_Read(void *pp, void *data, size_t *size)
176 SRes res = p->realStream->Read(p->realStream, data, size);
206 SRes (*SetProps)(void *p, const Byte *props, size_t propSize, ISzAlloc *alloc);
228 static SRes SeqInFilter_Read(void *pp, void *data, size_t *size) [all...] |
Lzma2Enc.c | 47 static SRes Lzma2EncInt_Init(CLzma2EncInt *p, const CLzma2EncProps *props)
60 SRes LzmaEnc_PrepareForLzma2(CLzmaEncHandle pp, ISeqInStream *inStream, UInt32 keepWindowSize,
62 SRes LzmaEnc_MemPrepare(CLzmaEncHandle pp, const Byte *src, SizeT srcLen,
64 SRes LzmaEnc_CodeOneMemBlock(CLzmaEncHandle pp, Bool reInit,
72 static SRes Lzma2EncInt_EncodeSubblock(CLzma2EncInt *p, Byte *outBuf,
80 SRes res;
236 static SRes Progress(ICompressProgress *p, UInt64 inSize, UInt64 outSize)
264 static SRes Lzma2Enc_EncodeMt1(CLzma2EncInt *p, CLzma2Enc *mainEncoder,
268 SRes res = SZ_OK;
310 static SRes MtCallbackImp_Code(void *pp, unsigned index, Byte *dest, size_t *destSize, [all...] |
7zIn.c | 179 static SRes SzArEx_Fill(CSzArEx *p, ISzAlloc *alloc)
268 SRes SzReadTime(const CObjectVector<CBuf> &dataVector,
316 static SRes SzReadByte(CSzData *sd, Byte *b)
325 static SRes SzReadBytes(CSzData *sd, Byte *data, size_t size)
335 static SRes SzReadUInt32(CSzData *sd, UInt32 *value)
348 static SRes SzReadNumber(CSzData *sd, UInt64 *value)
371 static SRes SzReadNumber32(CSzData *sd, UInt32 *value)
383 static SRes SzReadID(CSzData *sd, UInt64 *value)
388 static SRes SzSkeepDataSize(CSzData *sd, UInt64 size)
397 static SRes SzSkeepData(CSzData *sd) [all...] |
/external/chromium_org/third_party/lzma_sdk/ |
Types.h | 43 typedef int SRes; 139 SRes (*Read)(void *p, void *buf, size_t *size); 145 SRes SeqInStream_Read(ISeqInStream *stream, void *buf, size_t size); 146 SRes SeqInStream_Read2(ISeqInStream *stream, void *buf, size_t size, SRes errorType); 147 SRes SeqInStream_ReadByte(ISeqInStream *stream, Byte *buf); 165 SRes (*Read)(void *p, void *buf, size_t *size); /* same as ISeqInStream::Read */ 166 SRes (*Seek)(void *p, Int64 *pos, ESzSeek origin); 171 SRes (*Look)(void *p, const void **buf, size_t *size); 175 SRes (*Skip)(void *p, size_t offset) [all...] |
Lzma2Dec.h | 31 SRes Lzma2Dec_AllocateProbs(CLzma2Dec *p, Byte prop, ISzAlloc *alloc); 32 SRes Lzma2Dec_Allocate(CLzma2Dec *p, Byte prop, ISzAlloc *alloc); 51 SRes Lzma2Dec_DecodeToDic(CLzma2Dec *p, SizeT dicLimit, 54 SRes Lzma2Dec_DecodeToBuf(CLzma2Dec *p, Byte *dest, SizeT *destLen, 77 SRes Lzma2Decode(Byte *dest, SizeT *destLen, const Byte *src, SizeT *srcLen,
|
LzmaEnc.h | 54 SRes LzmaEnc_SetProps(CLzmaEncHandle p, const CLzmaEncProps *props); 55 SRes LzmaEnc_WriteProperties(CLzmaEncHandle p, Byte *properties, SizeT *size); 56 SRes LzmaEnc_Encode(CLzmaEncHandle p, ISeqOutStream *outStream, ISeqInStream *inStream, 58 SRes LzmaEnc_MemEncode(CLzmaEncHandle p, Byte *dest, SizeT *destLen, const Byte *src, SizeT srcLen, 72 SRes LzmaEncode(Byte *dest, SizeT *destLen, const Byte *src, SizeT srcLen,
|
LzmaDec.h | 40 SRes LzmaProps_Decode(CLzmaProps *p, const Byte *data, unsigned size); 134 SRes LzmaDec_AllocateProbs(CLzmaDec *p, const Byte *props, unsigned propsSize, ISzAlloc *alloc); 137 SRes LzmaDec_Allocate(CLzmaDec *state, const Byte *prop, unsigned propsSize, ISzAlloc *alloc); 181 SRes LzmaDec_DecodeToDic(CLzmaDec *p, SizeT dicLimit, 198 SRes LzmaDec_DecodeToBuf(CLzmaDec *p, Byte *dest, SizeT *destLen, 223 SRes LzmaDecode(Byte *dest, SizeT *destLen, const Byte *src, SizeT *srcLen,
|
7zStream.c | 8 SRes SeqInStream_Read2(ISeqInStream *stream, void *buf, size_t size, SRes errorType) 22 SRes SeqInStream_Read(ISeqInStream *stream, void *buf, size_t size) 27 SRes SeqInStream_ReadByte(ISeqInStream *stream, Byte *buf) 34 SRes LookInStream_SeekTo(ILookInStream *stream, UInt64 offset) 40 SRes LookInStream_LookRead(ILookInStream *stream, void *buf, size_t *size) 50 SRes LookInStream_Read2(ILookInStream *stream, void *buf, size_t size, SRes errorType) 64 SRes LookInStream_Read(ILookInStream *stream, void *buf, size_t size) 69 static SRes LookToRead_Look_Lookahead(void *pp, const void **buf, size_t *size [all...] |
7zIn.c | 179 static SRes SzArEx_Fill(CSzArEx *p, ISzAlloc *alloc) 268 SRes SzReadTime(const CObjectVector<CBuf> &dataVector, 316 static SRes SzReadByte(CSzData *sd, Byte *b) 325 static SRes SzReadBytes(CSzData *sd, Byte *data, size_t size) 335 static SRes SzReadUInt32(CSzData *sd, UInt32 *value) 348 static SRes SzReadNumber(CSzData *sd, UInt64 *value) 371 static SRes SzReadNumber32(CSzData *sd, UInt32 *value) 383 static SRes SzReadID(CSzData *sd, UInt64 *value) 388 static SRes SzSkeepDataSize(CSzData *sd, UInt64 size) 397 static SRes SzSkeepData(CSzData *sd [all...] |
/external/chromium_org/third_party/ots/third_party/lzma_sdk/ |
Types.h | 44 typedef int SRes; 140 SRes (*Read)(void *p, void *buf, size_t *size); 146 SRes SeqInStream_Read(ISeqInStream *stream, void *buf, size_t size); 147 SRes SeqInStream_Read2(ISeqInStream *stream, void *buf, size_t size, SRes errorType); 148 SRes SeqInStream_ReadByte(ISeqInStream *stream, Byte *buf); 166 SRes (*Read)(void *p, void *buf, size_t *size); /* same as ISeqInStream::Read */ 167 SRes (*Seek)(void *p, Int64 *pos, ESzSeek origin); 172 SRes (*Look)(void *p, const void **buf, size_t *size); 176 SRes (*Skip)(void *p, size_t offset) [all...] |
LzmaEnc.h | 55 SRes LzmaEnc_SetProps(CLzmaEncHandle p, const CLzmaEncProps *props); 56 SRes LzmaEnc_WriteProperties(CLzmaEncHandle p, Byte *properties, SizeT *size); 57 SRes LzmaEnc_Encode(CLzmaEncHandle p, ISeqOutStream *outStream, ISeqInStream *inStream, 59 SRes LzmaEnc_MemEncode(CLzmaEncHandle p, Byte *dest, SizeT *destLen, const Byte *src, SizeT srcLen, 73 SRes LzmaEncode(Byte *dest, SizeT *destLen, const Byte *src, SizeT srcLen,
|
LzmaDec.h | 41 SRes LzmaProps_Decode(CLzmaProps *p, const Byte *data, unsigned size); 135 SRes LzmaDec_AllocateProbs(CLzmaDec *p, const Byte *props, unsigned propsSize, ISzAlloc *alloc); 138 SRes LzmaDec_Allocate(CLzmaDec *state, const Byte *prop, unsigned propsSize, ISzAlloc *alloc); 182 SRes LzmaDec_DecodeToDic(CLzmaDec *p, SizeT dicLimit, 199 SRes LzmaDec_DecodeToBuf(CLzmaDec *p, Byte *dest, SizeT *destLen, 224 SRes LzmaDecode(Byte *dest, SizeT *destLen, const Byte *src, SizeT *srcLen,
|
/external/lzma/CPP/7zip/Common/ |
CWrappers.cpp | 15 static SRes CompressProgress(void *pp, UInt64 inSize, UInt64 outSize)
19 return (SRes)p->Res;
31 SRes HRESULT_To_SRes(HRESULT res, SRes defaultRes)
44 static SRes MyRead(void *object, void *data, size_t *size)
84 HRESULT SResToHRESULT(SRes res)
97 static SRes InStreamWrap_Read(void *pp, void *data, size_t *size)
106 static SRes InStreamWrap_Seek(void *pp, Int64 *offset, ESzSeek origin)
|
/external/lzma/C/Util/Lzma/ |
LzmaUtil.c | 41 int PrintErrorNumber(char *buffer, SRes val)
55 static SRes Decode2(CLzmaDec *state, ISeqOutStream *outStream, ISeqInStream *inStream,
72 SRes res;
108 static SRes Decode(ISeqOutStream *outStream, ISeqInStream *inStream)
112 SRes res = 0;
134 static SRes Encode(ISeqOutStream *outStream, ISeqInStream *inStream, UInt64 fileSize, char *rs)
137 SRes res;
|