/external/lzma/C/ |
D | 7zStream.c | 10 SRes SeqInStream_Read2(const ISeqInStream *stream, void *buf, size_t size, SRes errorType) in SeqInStream_Read2() 24 SRes SeqInStream_Read(const ISeqInStream *stream, void *buf, size_t size) in SeqInStream_Read() 29 SRes SeqInStream_ReadByte(const ISeqInStream *stream, Byte *buf) in SeqInStream_ReadByte() 38 SRes LookInStream_SeekTo(const ILookInStream *stream, UInt64 offset) in LookInStream_SeekTo() 44 SRes LookInStream_LookRead(const ILookInStream *stream, void *buf, size_t *size) in LookInStream_LookRead() 54 SRes LookInStream_Read2(const ILookInStream *stream, void *buf, size_t size, SRes errorType) in LookInStream_Read2() 68 SRes LookInStream_Read(const ILookInStream *stream, void *buf, size_t size) in LookInStream_Read() 77 static SRes LookToRead2_Look_Lookahead(const ILookInStream *pp, const void **buf, size_t *size) in LookToRead2_Look_Lookahead() 79 SRes res = SZ_OK; in LookToRead2_Look_Lookahead() 96 static SRes LookToRead2_Look_Exact(const ILookInStream *pp, const void **buf, size_t *size) in LookToRead2_Look_Exact() [all …]
|
D | MtDec.h | 27 SRes res; 34 SRes MtProgress_Progress_ST(CMtProgress *p); 35 SRes MtProgress_ProgressAdd(CMtProgress *p, UInt64 inSize, UInt64 outSize); 36 SRes MtProgress_GetError(CMtProgress *p); 37 void MtProgress_SetError(CMtProgress *p, SRes res); 90 SRes (*PreCode)(void *p, unsigned coderIndex); 91 SRes (*Code)(void *p, unsigned coderIndex, 109 SRes (*Write)(void *p, unsigned coderIndex, 149 SRes threadingErrorSRes; 155 SRes readRes; [all …]
|
D | 7zTypes.h | 43 typedef int SRes; typedef 172 SRes (*Read)(const ISeqInStream *p, void *buf, size_t *size); 179 SRes SeqInStream_Read(const ISeqInStream *stream, void *buf, size_t size); 180 SRes SeqInStream_Read2(const ISeqInStream *stream, void *buf, size_t size, SRes errorType); 181 SRes SeqInStream_ReadByte(const ISeqInStream *stream, Byte *buf); 204 SRes (*Read)(const ISeekInStream *p, void *buf, size_t *size); /* same as ISeqInStream::Read */ 205 SRes (*Seek)(const ISeekInStream *p, Int64 *pos, ESzSeek origin); 214 SRes (*Look)(const ILookInStream *p, const void **buf, size_t *size); 218 SRes (*Skip)(const ILookInStream *p, size_t offset); 221 SRes (*Read)(const ILookInStream *p, void *buf, size_t *size); [all …]
|
D | Xz.h | 55 SRes XzBlock_Parse(CXzBlock *p, const Byte *header); 56 SRes XzBlock_ReadHeader(CXzBlock *p, ISeqInStream *inStream, BoolInt *isIndex, UInt32 *headerSizeRe… 103 SRes Xz_ParseHeader(CXzStreamFlags *p, const Byte *buf); 104 SRes Xz_ReadHeader(CXzStreamFlags *p, ISeqInStream *inStream); 137 SRes Xzs_ReadBackward(CXzs *p, ILookInStream *inStream, Int64 *startOffset, ICompressProgress *prog… 167 SRes (*SetProps)(void *p, const Byte *props, size_t propSize, ISzAllocPtr alloc); 169 SRes (*Code2)(void *p, Byte *dest, SizeT *destLen, const Byte *src, SizeT *srcLen, 190 SRes res; 198 SRes results[MIXCODER_NUM_FILTERS_MAX]; 330 SRes XzUnpacker_Code(CXzUnpacker *p, Byte *dest, SizeT *destLen, [all …]
|
D | MtCoder.h | 60 SRes (*Code)(void *p, unsigned coderIndex, unsigned outBufIndex, 62 SRes (*Write)(void *p, unsigned outBufIndex); 68 SRes res; 101 SRes readRes; 107 SRes writeRes; 133 SRes MtCoder_Code(CMtCoder *p);
|
D | LzmaDec.h | 43 SRes LzmaProps_Decode(CLzmaProps *p, const Byte *data, unsigned size); 139 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); 186 SRes LzmaDec_DecodeToDic(CLzmaDec *p, SizeT dicLimit, 203 SRes LzmaDec_DecodeToBuf(CLzmaDec *p, Byte *dest, SizeT *destLen, 228 SRes LzmaDecode(Byte *dest, SizeT *destLen, const Byte *src, SizeT *srcLen,
|
D | Lzma2Dec.h | 29 SRes Lzma2Dec_AllocateProbs(CLzma2Dec *p, Byte prop, ISzAllocPtr alloc); 30 SRes Lzma2Dec_Allocate(CLzma2Dec *p, Byte prop, ISzAllocPtr alloc); 48 SRes Lzma2Dec_DecodeToDic(CLzma2Dec *p, SizeT dicLimit, 51 SRes Lzma2Dec_DecodeToBuf(CLzma2Dec *p, Byte *dest, SizeT *destLen, 115 SRes Lzma2Decode(Byte *dest, SizeT *destLen, const Byte *src, SizeT *srcLen,
|
D | LzmaEnc.h | 57 SRes LzmaEnc_SetProps(CLzmaEncHandle p, const CLzmaEncProps *props); 59 SRes LzmaEnc_WriteProperties(CLzmaEncHandle p, Byte *properties, SizeT *size); 62 SRes LzmaEnc_Encode(CLzmaEncHandle p, ISeqOutStream *outStream, ISeqInStream *inStream, 64 SRes LzmaEnc_MemEncode(CLzmaEncHandle p, Byte *dest, SizeT *destLen, const Byte *src, SizeT srcLen, 70 SRes LzmaEncode(Byte *dest, SizeT *destLen, const Byte *src, SizeT srcLen,
|
D | XzEnc.h | 49 SRes XzEnc_SetProps(CXzEncHandle p, const CXzProps *props); 51 SRes XzEnc_Encode(CXzEncHandle p, ISeqOutStream *outStream, ISeqInStream *inStream, ICompressProgre… 53 SRes Xz_Encode(ISeqOutStream *outStream, ISeqInStream *inStream, 56 SRes Xz_EncodeEmpty(ISeqOutStream *outStream);
|
D | XzEnc.c | 44 static SRes WriteBytes(ISeqOutStream *s, const void *buf, size_t size) in WriteBytes() 49 static SRes WriteBytesUpdateCrc(ISeqOutStream *s, const void *buf, size_t size, UInt32 *crc) in WriteBytesUpdateCrc() 56 static SRes Xz_WriteHeader(CXzStreamFlags f, ISeqOutStream *s) in Xz_WriteHeader() 69 static SRes XzBlock_WriteHeader(const CXzBlock *p, ISeqOutStream *s) in XzBlock_WriteHeader() 137 static SRes XzEncIndex_ReAlloc(CXzEncIndex *p, size_t newSize, ISzAllocPtr alloc) in XzEncIndex_ReAlloc() 152 static SRes XzEncIndex_PreAlloc(CXzEncIndex *p, UInt64 numBlocks, UInt64 unpackSize, UInt64 totalSi… in XzEncIndex_PreAlloc() 174 static SRes XzEncIndex_AddIndexRecord(CXzEncIndex *p, UInt64 unpackSize, UInt64 totalSize, ISzAlloc… in XzEncIndex_AddIndexRecord() 194 static SRes XzEncIndex_WriteFooter(const CXzEncIndex *p, CXzStreamFlags flags, ISeqOutStream *s) in XzEncIndex_WriteFooter() 254 static SRes SeqCheckInStream_Read(const ISeqInStream *pp, void *data, size_t *size) in SeqCheckInStream_Read() 258 SRes res = SZ_OK; in SeqCheckInStream_Read() [all …]
|
D | Lzma2Enc.c | 56 static SRes LimitedSeqInStream_Read(const ISeqInStream *pp, void *data, size_t *size) in LimitedSeqInStream_Read() 60 SRes res = SZ_OK; in LimitedSeqInStream_Read() 92 static SRes Lzma2EncInt_InitStream(CLzma2EncInt *p, const CLzma2EncProps *props) in Lzma2EncInt_InitStream() 114 SRes LzmaEnc_PrepareForLzma2(CLzmaEncHandle pp, ISeqInStream *inStream, UInt32 keepWindowSize, 116 SRes LzmaEnc_MemPrepare(CLzmaEncHandle pp, const Byte *src, SizeT srcLen, 118 SRes LzmaEnc_CodeOneMemBlock(CLzmaEncHandle pp, BoolInt reInit, 129 static SRes Lzma2EncInt_EncodeSubblock(CLzma2EncInt *p, Byte *outBuf, in Lzma2EncInt_EncodeSubblock() 137 SRes res; in Lzma2EncInt_EncodeSubblock() 347 static SRes Progress(ICompressProgress *p, UInt64 inSize, UInt64 outSize) in Progress() 465 SRes Lzma2Enc_SetProps(CLzma2EncHandle pp, const CLzma2EncProps *props) in Lzma2Enc_SetProps() [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 | XzIn.c | 18 SRes Xz_ReadHeader(CXzStreamFlags *p, ISeqInStream *inStream) in Xz_ReadHeader() 31 SRes XzBlock_ReadHeader(CXzBlock *p, ISeqInStream *inStream, BoolInt *isIndex, UInt32 *headerSizeRe… in XzBlock_ReadHeader() 80 static SRes Xz_ReadIndex2(CXzStream *p, const Byte *buf, size_t size, ISzAllocPtr alloc) in Xz_ReadIndex2() 124 static SRes Xz_ReadIndex(CXzStream *p, ILookInStream *stream, UInt64 indexSize, ISzAllocPtr alloc) in Xz_ReadIndex() 126 SRes res; in Xz_ReadIndex() 144 static SRes LookInStream_SeekRead_ForArc(ILookInStream *stream, UInt64 offset, void *buf, size_t si… in LookInStream_SeekRead_ForArc() 151 static SRes Xz_ReadBackward(CXzStream *p, ILookInStream *stream, Int64 *startOffset, ISzAllocPtr al… in Xz_ReadBackward() 286 SRes Xzs_ReadBackward(CXzs *p, ILookInStream *stream, Int64 *startOffset, ICompressProgress *progre… in Xzs_ReadBackward() 294 SRes res; in Xzs_ReadBackward()
|
D | XzDec.c | 96 static SRes BraState_SetProps(void *pp, const Byte *props, size_t propSize, ISzAllocPtr alloc) in BraState_SetProps() 174 static SRes BraState_Code2(void *pp, in BraState_Code2() 243 SRes BraState_SetFromMethod(IStateCoder *p, UInt64 id, int encodeMode, ISzAllocPtr alloc) in BraState_SetFromMethod() 279 static SRes SbState_SetProps(void *pp, const Byte *props, size_t propSize, ISzAllocPtr alloc) in SbState_SetProps() 292 static SRes SbState_Code2(void *pp, Byte *dest, SizeT *destLen, const Byte *src, SizeT *srcLen, in SbState_Code2() 298 SRes res; in SbState_Code2() 315 static SRes SbState_SetFromMethod(IStateCoder *p, ISzAllocPtr alloc) in SbState_SetFromMethod() 358 static SRes Lzma2State_SetProps(void *pp, const Byte *props, size_t propSize, ISzAllocPtr alloc) in Lzma2State_SetProps() 382 static SRes Lzma2State_Code2(void *pp, Byte *dest, SizeT *destLen, const Byte *src, SizeT *srcLen, in Lzma2State_Code2() 390 SRes res; in Lzma2State_Code2() [all …]
|
D | Lzma2DecMt.h | 46 SRes Lzma2DecMt_Decode(CLzma2DecMtHandle p, 66 SRes Lzma2DecMt_Init(CLzma2DecMtHandle pp, 72 SRes Lzma2DecMt_Read(CLzma2DecMtHandle pp,
|
D | Lzma86Dec.c | 12 SRes Lzma86_GetUnpackSize(const Byte *src, SizeT srcLen, UInt64 *unpackSize) in Lzma86_GetUnpackSize() 23 SRes Lzma86_Decode(Byte *dest, SizeT *destLen, const Byte *src, SizeT *srcLen) in Lzma86_Decode() 25 SRes res; in Lzma86_Decode()
|
D | Lzma2DecMt.c | 72 SRes codeRes; 104 SRes readRes; 415 static SRes Lzma2DecMt_MtCallback_PreCode(void *pp, unsigned coderIndex) in Lzma2DecMt_MtCallback_PreCode() 455 static SRes Lzma2DecMt_MtCallback_Code(void *pp, unsigned coderIndex, in Lzma2DecMt_MtCallback_Code() 484 SRes res = Lzma2Dec_DecodeToDic(&t->dec, in Lzma2DecMt_MtCallback_Code() 528 static SRes Lzma2DecMt_MtCallback_Write(void *pp, unsigned coderIndex, in Lzma2DecMt_MtCallback_Write() 608 static SRes Lzma2Dec_Prepare_ST(CLzma2DecMt *p) in Lzma2Dec_Prepare_ST() 634 static SRes Lzma2Dec_Decode_ST(CLzma2DecMt *p in Lzma2Dec_Decode_ST() 674 SRes res; in Lzma2Dec_Decode_ST() 745 SRes res2; in Lzma2Dec_Decode_ST() [all …]
|
D | MtDec.c | 35 SRes MtProgress_Progress_ST(CMtProgress *p) in MtProgress_Progress_ST() 44 SRes MtProgress_ProgressAdd(CMtProgress *p, UInt64 inSize, UInt64 outSize) in MtProgress_ProgressAdd() 46 SRes res; in MtProgress_ProgressAdd() 61 SRes MtProgress_GetError(CMtProgress *p) in MtProgress_GetError() 63 SRes res; in MtProgress_GetError() 71 void MtProgress_SetError(CMtProgress *p, SRes res) in MtProgress_SetError() 119 static SRes MtDecThread_CreateAndStart(CMtDecThread *t) in MtDecThread_CreateAndStart() 181 static SRes FullRead(ISeqInStream *stream, Byte *data, size_t *processedSize) in FullRead() 188 SRes res = ISeqInStream_Read(stream, data, &cur); in FullRead() 200 static SRes MtDec_GetError_Spec(CMtDec *p, UInt64 interruptIndex, BoolInt *wasInterrupted) in MtDec_GetError_Spec() [all …]
|
D | 7zDec.c | 48 SRes res; 73 static SRes SzDecodePpmd(const Byte *props, unsigned propsSize, UInt64 inSize, const ILookInStream … in SzDecodePpmd() 78 SRes res = SZ_OK; in SzDecodePpmd() 134 static SRes SzDecodeLzma(const Byte *props, unsigned propsSize, UInt64 inSize, ILookInStream *inStr… in SzDecodeLzma() 138 SRes res = SZ_OK; in SzDecodeLzma() 194 static SRes SzDecodeLzma2(const Byte *props, unsigned propsSize, UInt64 inSize, ILookInStream *inSt… in SzDecodeLzma2() 198 SRes res = SZ_OK; in SzDecodeLzma2() 253 static SRes SzDecodeCopy(UInt64 inSize, ILookInStream *inStream, Byte *outBuffer) in SzDecodeCopy() 299 static SRes CheckSupportedFolder(const CSzFolder *f) in CheckSupportedFolder() 370 static SRes SzFolder_Decode2(const CSzFolder *folder, in SzFolder_Decode2() [all …]
|
D | Lzma2Dec.c | 57 static SRes Lzma2Dec_GetOldProps(Byte prop, Byte *props) in Lzma2Dec_GetOldProps() 71 SRes Lzma2Dec_AllocateProbs(CLzma2Dec *p, Byte prop, ISzAllocPtr alloc) in Lzma2Dec_AllocateProbs() 78 SRes Lzma2Dec_Allocate(CLzma2Dec *p, Byte prop, ISzAllocPtr alloc) in Lzma2Dec_Allocate() 175 SRes Lzma2Dec_DecodeToDic(CLzma2Dec *p, SizeT dicLimit, in Lzma2Dec_DecodeToDic() 253 SRes res; in Lzma2Dec_DecodeToDic() 427 SRes Lzma2Dec_DecodeToBuf(CLzma2Dec *p, Byte *dest, SizeT *destLen, const Byte *src, SizeT *srcLen,… in Lzma2Dec_DecodeToBuf() 436 SRes res; in Lzma2Dec_DecodeToBuf() 468 SRes Lzma2Decode(Byte *dest, SizeT *destLen, const Byte *src, SizeT *srcLen, in Lzma2Decode() 472 SRes res; in Lzma2Decode()
|
D | 7zArcIn.c | 63 static SRes SzBitUi32s_Alloc(CSzBitUi32s *p, size_t num, ISzAllocPtr alloc) in SzBitUi32s_Alloc() 193 static MY_NO_INLINE SRes ReadNumber(CSzData *sd, UInt64 *value) in ReadNumber() 231 static MY_NO_INLINE SRes SzReadNumber32(CSzData *sd, UInt32 *value) in SzReadNumber32() 256 static SRes SkipData(CSzData *sd) in SkipData() 266 static SRes WaitId(CSzData *sd, UInt32 id) in WaitId() 280 static SRes RememberBitVector(CSzData *sd, UInt32 numItems, const Byte **v) in RememberBitVector() 308 static MY_NO_INLINE SRes ReadBitVector(CSzData *sd, UInt32 numItems, Byte **v, ISzAllocPtr alloc) in ReadBitVector() 336 static MY_NO_INLINE SRes ReadUi32s(CSzData *sd2, UInt32 numItems, CSzBitUi32s *crcs, ISzAllocPtr al… in ReadUi32s() 357 static SRes ReadBitUi32s(CSzData *sd, UInt32 numItems, CSzBitUi32s *crcs, ISzAllocPtr alloc) in ReadBitUi32s() 364 static SRes SkipBitUi32s(CSzData *sd, UInt32 numItems) in SkipBitUi32s() [all …]
|
D | MtCoder.c | 10 SRes MtProgressThunk_Progress(const ICompressProgress *pp, UInt64 inSize, UInt64 outSize) in MtProgressThunk_Progress() 50 static SRes MtCoderThread_CreateAndStart(CMtCoderThread *t) in MtCoderThread_CreateAndStart() 88 static SRes FullRead(ISeqInStream *stream, Byte *data, size_t *processedSize) in FullRead() 95 SRes res = ISeqInStream_Read(stream, data, &cur); in FullRead() 113 static SRes ThreadFunc2(CMtCoderThread *t) in ThreadFunc2() 120 SRes res; in ThreadFunc2() 121 SRes res2; in ThreadFunc2() 349 SRes res = ThreadFunc2(t); in ThreadFunc() 452 SRes MtCoder_Code(CMtCoder *p) in MtCoder_Code() 457 SRes res = SZ_OK; in MtCoder_Code()
|
D | 7z.h | 54 SRes SzGetNextFolderItem(CSzFolder *f, CSzData *sd); 98 SRes SzAr_DecodeFolder(const CSzAr *p, UInt32 folderIndex, 173 SRes SzArEx_Extract( 197 SRes SzArEx_Open(CSzArEx *p, ILookInStream *inStream,
|
/external/lzma/C/Util/Lzma/ |
D | LzmaUtil.c | 40 static int PrintErrorNumber(char *buffer, SRes val) in PrintErrorNumber() 56 static SRes Decode2(CLzmaDec *state, ISeqOutStream *outStream, ISeqInStream *inStream, in Decode2() 73 SRes res; in Decode2() 110 static SRes Decode(ISeqOutStream *outStream, ISeqInStream *inStream) in Decode() 114 SRes res = 0; in Decode() 136 static SRes Encode(ISeqOutStream *outStream, ISeqInStream *inStream, UInt64 fileSize, char *rs) in Encode() 139 SRes res; in Encode()
|
/external/lzma/CPP/7zip/Common/ |
D | CWrappers.cpp | 11 SRes HRESULT_To_SRes(HRESULT res, SRes defaultRes) throw() in HRESULT_To_SRes() 26 HRESULT SResToHRESULT(SRes res) throw() in SResToHRESULT() 60 static SRes CompressProgress(const ICompressProgress *pp, UInt64 inSize, UInt64 outSize) throw() in CompressProgress() 76 static SRes MyRead(const ISeqInStream *pp, void *data, size_t *size) throw() in MyRead() 121 static SRes InStreamWrap_Read(const ISeekInStream *pp, void *data, size_t *size) throw() in InStreamWrap_Read() 130 static SRes InStreamWrap_Seek(const ISeekInStream *pp, Int64 *offset, ESzSeek origin) throw() in InStreamWrap_Seek()
|