/external/chromium_org/third_party/lzma_sdk/ |
D | Types.h | 43 typedef int SRes; typedef 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); 178 SRes (*Read)(void *p, void *buf, size_t *size); [all …]
|
D | 7zStream.c | 8 SRes SeqInStream_Read2(ISeqInStream *stream, void *buf, size_t size, SRes errorType) in SeqInStream_Read2() 22 SRes SeqInStream_Read(ISeqInStream *stream, void *buf, size_t size) in SeqInStream_Read() 27 SRes SeqInStream_ReadByte(ISeqInStream *stream, Byte *buf) in SeqInStream_ReadByte() 34 SRes LookInStream_SeekTo(ILookInStream *stream, UInt64 offset) in LookInStream_SeekTo() 40 SRes LookInStream_LookRead(ILookInStream *stream, void *buf, size_t *size) in LookInStream_LookRead() 50 SRes LookInStream_Read2(ILookInStream *stream, void *buf, size_t size, SRes errorType) in LookInStream_Read2() 64 SRes LookInStream_Read(ILookInStream *stream, void *buf, size_t size) in LookInStream_Read() 69 static SRes LookToRead_Look_Lookahead(void *pp, const void **buf, size_t *size) in LookToRead_Look_Lookahead() 71 SRes res = SZ_OK; in LookToRead_Look_Lookahead() 87 static SRes LookToRead_Look_Exact(void *pp, const void **buf, size_t *size) in LookToRead_Look_Exact() [all …]
|
D | 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,
|
D | 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,
|
D | 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,
|
D | 7zIn.c | 179 static SRes SzArEx_Fill(CSzArEx *p, ISzAlloc *alloc) in SzArEx_Fill() 316 static SRes SzReadByte(CSzData *sd, Byte *b) in SzReadByte() 325 static SRes SzReadBytes(CSzData *sd, Byte *data, size_t size) in SzReadBytes() 335 static SRes SzReadUInt32(CSzData *sd, UInt32 *value) in SzReadUInt32() 348 static SRes SzReadNumber(CSzData *sd, UInt64 *value) in SzReadNumber() 371 static SRes SzReadNumber32(CSzData *sd, UInt32 *value) in SzReadNumber32() 383 static SRes SzReadID(CSzData *sd, UInt64 *value) in SzReadID() 388 static SRes SzSkeepDataSize(CSzData *sd, UInt64 size) in SzSkeepDataSize() 397 static SRes SzSkeepData(CSzData *sd) in SzSkeepData() 404 static SRes SzReadArchiveProperties(CSzData *sd) in SzReadArchiveProperties() [all …]
|
D | 7zDec.c | 41 SRes res; 66 static SRes SzDecodePpmd(CSzCoderInfo *coder, UInt64 inSize, ILookInStream *inStream, in SzDecodePpmd() 71 SRes res = SZ_OK; in SzDecodePpmd() 127 static SRes SzDecodeLzma(CSzCoderInfo *coder, UInt64 inSize, ILookInStream *inStream, in SzDecodeLzma() 131 SRes res = SZ_OK; in SzDecodeLzma() 175 static SRes SzDecodeLzma2(CSzCoderInfo *coder, UInt64 inSize, ILookInStream *inStream, in SzDecodeLzma2() 179 SRes res = SZ_OK; in SzDecodeLzma2() 224 static SRes SzDecodeCopy(UInt64 inSize, ILookInStream *inStream, Byte *outBuffer) in SzDecodeCopy() 269 static SRes CheckSupportedFolder(const CSzFolder *f) in CheckSupportedFolder() 335 static SRes SzFolder_Decode2(const CSzFolder *folder, const UInt64 *packSizes, in SzFolder_Decode2() [all …]
|
/external/chromium_org/third_party/ots/third_party/lzma_sdk/ |
D | Types.h | 44 typedef int SRes; typedef 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); 179 SRes (*Read)(void *p, void *buf, size_t *size); [all …]
|
D | 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,
|
D | 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,
|
/external/lzma/C/ |
D | Types.h | 43 typedef int SRes; typedef 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); 178 SRes (*Read)(void *p, void *buf, size_t *size); [all …]
|
D | 7zStream.c | 8 SRes SeqInStream_Read2(ISeqInStream *stream, void *buf, size_t size, SRes errorType) in SeqInStream_Read2() 22 SRes SeqInStream_Read(ISeqInStream *stream, void *buf, size_t size) in SeqInStream_Read() 27 SRes SeqInStream_ReadByte(ISeqInStream *stream, Byte *buf) in SeqInStream_ReadByte() 34 SRes LookInStream_SeekTo(ILookInStream *stream, UInt64 offset) in LookInStream_SeekTo() 40 SRes LookInStream_LookRead(ILookInStream *stream, void *buf, size_t *size) in LookInStream_LookRead() 50 SRes LookInStream_Read2(ILookInStream *stream, void *buf, size_t size, SRes errorType) in LookInStream_Read2() 64 SRes LookInStream_Read(ILookInStream *stream, void *buf, size_t size) in LookInStream_Read() 69 static SRes LookToRead_Look_Lookahead(void *pp, const void **buf, size_t *size) in LookToRead_Look_Lookahead() 71 SRes res = SZ_OK; in LookToRead_Look_Lookahead() 87 static SRes LookToRead_Look_Exact(void *pp, const void **buf, size_t *size) in LookToRead_Look_Exact() [all …]
|
D | 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 *prog… 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 …]
|
D | XzEnc.c | 30 static SRes WriteBytes(ISeqOutStream *s, const void *buf, UInt32 size) in WriteBytes() 35 static SRes WriteBytesAndCrc(ISeqOutStream *s, const void *buf, UInt32 size, UInt32 *crc) in WriteBytesAndCrc() 41 SRes Xz_WriteHeader(CXzStreamFlags f, ISeqOutStream *s) in Xz_WriteHeader() 53 SRes XzBlock_WriteHeader(const CXzBlock *p, ISeqOutStream *s) in XzBlock_WriteHeader() 79 SRes Xz_WriteFooter(CXzStream *p, ISeqOutStream *s) in Xz_WriteFooter() 124 SRes Xz_AddIndexRecord(CXzStream *p, UInt64 unpackSize, UInt64 totalSize, ISzAlloc *alloc) in Xz_AddIndexRecord() 173 static SRes SeqCheckInStream_Read(void *pp, void *data, size_t *size) in SeqCheckInStream_Read() 176 SRes res = p->realStream->Read(p->realStream, data, size); in SeqCheckInStream_Read() 337 static SRes SbEncInStream_Read(void *pp, void *data, size_t *size) in SbEncInStream_Read() 340 SRes res = SubblockEnc_Read(&p->sb, data, size); in SbEncInStream_Read() [all …]
|
D | 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,
|
D | 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,
|
D | 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,
|
D | 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);
|
D | MtCoder.c | 56 static SRes Progress(ICompressProgress *p, UInt64 inSize, UInt64 outSize) in Progress() 80 SRes MtProgress_Set(CMtProgress *p, unsigned index, UInt64 inSize, UInt64 outSize) in MtProgress_Set() 82 SRes res; in MtProgress_Set() 93 static void MtProgress_SetError(CMtProgress *p, SRes res) in MtProgress_SetError() 101 static void MtCoder_SetError(CMtCoder* p, SRes res) in MtCoder_SetError() 154 static SRes CMtThread_Prepare(CMtThread *p) in CMtThread_Prepare() 167 static SRes FullRead(ISeqInStream *stream, Byte *data, size_t *processedSize) in FullRead() 174 SRes res = stream->Read(stream, data, &curSize); in FullRead() 187 static SRes MtThread_Process(CMtThread *p, Bool *stop) in MtThread_Process() 233 SRes res = MtThread_Process(p, &stop); in ThreadFunc() [all …]
|
D | 7zIn.c | 179 static SRes SzArEx_Fill(CSzArEx *p, ISzAlloc *alloc) in SzArEx_Fill() 316 static SRes SzReadByte(CSzData *sd, Byte *b) in SzReadByte() 325 static SRes SzReadBytes(CSzData *sd, Byte *data, size_t size) in SzReadBytes() 335 static SRes SzReadUInt32(CSzData *sd, UInt32 *value) in SzReadUInt32() 348 static SRes SzReadNumber(CSzData *sd, UInt64 *value) in SzReadNumber() 371 static SRes SzReadNumber32(CSzData *sd, UInt32 *value) in SzReadNumber32() 383 static SRes SzReadID(CSzData *sd, UInt64 *value) in SzReadID() 388 static SRes SzSkeepDataSize(CSzData *sd, UInt64 size) in SzSkeepDataSize() 397 static SRes SzSkeepData(CSzData *sd) in SzSkeepData() 404 static SRes SzReadArchiveProperties(CSzData *sd) in SzReadArchiveProperties() [all …]
|
D | Lzma2Enc.c | 47 static SRes Lzma2EncInt_Init(CLzma2EncInt *p, const CLzma2EncProps *props) in Lzma2EncInt_Init() 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, in Lzma2EncInt_EncodeSubblock() 80 SRes res; in Lzma2EncInt_EncodeSubblock() 236 static SRes Progress(ICompressProgress *p, UInt64 inSize, UInt64 outSize) in Progress() 264 static SRes Lzma2Enc_EncodeMt1(CLzma2EncInt *p, CLzma2Enc *mainEncoder, in Lzma2Enc_EncodeMt1() 268 SRes res = SZ_OK; in Lzma2Enc_EncodeMt1() 310 static SRes MtCallbackImp_Code(void *pp, unsigned index, Byte *dest, size_t *destSize, in MtCallbackImp_Code() [all …]
|
D | 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);
|
D | 7zDec.c | 41 SRes res; 66 static SRes SzDecodePpmd(CSzCoderInfo *coder, UInt64 inSize, ILookInStream *inStream, in SzDecodePpmd() 71 SRes res = SZ_OK; in SzDecodePpmd() 127 static SRes SzDecodeLzma(CSzCoderInfo *coder, UInt64 inSize, ILookInStream *inStream, in SzDecodeLzma() 131 SRes res = SZ_OK; in SzDecodeLzma() 175 static SRes SzDecodeLzma2(CSzCoderInfo *coder, UInt64 inSize, ILookInStream *inStream, in SzDecodeLzma2() 179 SRes res = SZ_OK; in SzDecodeLzma2() 224 static SRes SzDecodeCopy(UInt64 inSize, ILookInStream *inStream, Byte *outBuffer) in SzDecodeCopy() 269 static SRes CheckSupportedFolder(const CSzFolder *f) in CheckSupportedFolder() 335 static SRes SzFolder_Decode2(const CSzFolder *folder, const UInt64 *packSizes, in SzFolder_Decode2() [all …]
|
/external/lzma/CPP/7zip/Common/ |
D | CWrappers.cpp | 15 static SRes CompressProgress(void *pp, UInt64 inSize, UInt64 outSize) in CompressProgress() 19 return (SRes)p->Res; in CompressProgress() 31 SRes HRESULT_To_SRes(HRESULT res, SRes defaultRes) in HRESULT_To_SRes() 44 static SRes MyRead(void *object, void *data, size_t *size) in MyRead() 84 HRESULT SResToHRESULT(SRes res) in SResToHRESULT() 97 static SRes InStreamWrap_Read(void *pp, void *data, size_t *size) in InStreamWrap_Read() 106 static SRes InStreamWrap_Seek(void *pp, Int64 *offset, ESzSeek origin) in InStreamWrap_Seek()
|
/external/lzma/C/Util/Lzma/ |
D | LzmaUtil.c | 41 int PrintErrorNumber(char *buffer, SRes val) in PrintErrorNumber() 55 static SRes Decode2(CLzmaDec *state, ISeqOutStream *outStream, ISeqInStream *inStream, in Decode2() 72 SRes res; in Decode2() 108 static SRes Decode(ISeqOutStream *outStream, ISeqInStream *inStream) in Decode() 112 SRes res = 0; in Decode() 134 static SRes Encode(ISeqOutStream *outStream, ISeqInStream *inStream, UInt64 fileSize, char *rs) in Encode() 137 SRes res; in Encode()
|