Home
last modified time | relevance | path

Searched refs:SRes (Results 1 - 25 of 47) sorted by relevance

12

/third_party/lzma/C/
H A D7zStream.c11 SRes SeqInStream_ReadMax(ISeqInStreamPtr stream, void *buf, size_t *processedSize) in SeqInStream_ReadMax()
18 const SRes res = ISeqInStream_Read(stream, buf, &cur); in SeqInStream_ReadMax()
31 SRes SeqInStream_Read2(ISeqInStreamPtr stream, void *buf, size_t size, SRes errorType)
45 SRes SeqInStream_Read(ISeqInStreamPtr stream, void *buf, size_t size)
52 SRes SeqInStream_ReadByte(ISeqInStreamPtr stream, Byte *buf) in SeqInStream_ReadByte()
61 SRes LookInStream_SeekTo(ILookInStreamPtr stream, UInt64 offset) in LookInStream_SeekTo()
67 SRes LookInStream_LookRead(ILookInStreamPtr stream, void *buf, size_t *size) in LookInStream_LookRead()
77 SRes LookInStream_Read2(ILookInStreamPtr stream, void *buf, size_t size, SRes errorTyp
[all...]
H A DMtDec.h27 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,
150 SRes threadingErrorSRes;
156 SRes readRe
[all...]
H A DXz.h57 SRes XzBlock_Parse(CXzBlock *p, const Byte *header);
58 SRes XzBlock_ReadHeader(CXzBlock *p, ISeqInStreamPtr inStream, BoolInt *isIndex, UInt32 *headerSizeRes);
105 SRes Xz_ParseHeader(CXzStreamFlags *p, const Byte *buf);
106 SRes Xz_ReadHeader(CXzStreamFlags *p, ISeqInStreamPtr inStream);
140 SRes Xzs_ReadBackward(CXzs *p, ILookInStreamPtr inStream, Int64 *startOffset, ICompressProgressPtr progress, ISzAllocPtr alloc);
170 SRes (*SetProps)(void *p, const Byte *props, size_t propSize, ISzAllocPtr alloc);
172 SRes (*Code2)(void *p, Byte *dest, SizeT *destLen, const Byte *src, SizeT *srcLen,
191 SRes Xz_StateCoder_Bc_SetFromMethod_Func(IStateCoder *p, UInt64 id,
207 SRes res;
215 SRes result
[all...]
H A DMtCoder.h60 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);
H A D7zTypes.h45 typedef int SRes; typedef
342 SRes (*Read)(ISeqInStreamPtr p, void *buf, size_t *size); in Z7_C_IFACE_DECL()
349 SRes SeqInStream_ReadMax(ISeqInStreamPtr stream, void *buf, size_t *processedSize);
351 // SRes SeqInStream_Read(ISeqInStreamPtr stream, void *buf, size_t size);
352 // SRes SeqInStream_Read2(ISeqInStreamPtr stream, void *buf, size_t size, SRes errorType);
353 SRes SeqInStream_ReadByte(ISeqInStreamPtr stream, Byte *buf);
374 SRes (*Read)(ISeekInStreamPtr p, void *buf, size_t *size); /* same as ISeqInStream::Read */ in Z7_C_IFACE_DECL()
375 SRes (*Seek)(ISeekInStreamPtr p, Int64 *pos, ESzSeek origin); in Z7_C_IFACE_DECL()
383 SRes (*Loo in Z7_C_IFACE_DECL()
[all...]
H A DLzmaDec.h43 SRes LzmaProps_Decode(CLzmaProps *p, const Byte *data, unsigned size);
140 SRes LzmaDec_AllocateProbs(CLzmaDec *p, const Byte *props, unsigned propsSize, ISzAllocPtr alloc);
143 SRes LzmaDec_Allocate(CLzmaDec *p, const Byte *props, unsigned propsSize, ISzAllocPtr alloc);
188 SRes LzmaDec_DecodeToDic(CLzmaDec *p, SizeT dicLimit,
205 SRes LzmaDec_DecodeToBuf(CLzmaDec *p, Byte *dest, SizeT *destLen,
231 SRes LzmaDecode(Byte *dest, SizeT *destLen, const Byte *src, SizeT *srcLen,
H A DLzma2Dec.h30 SRes Lzma2Dec_AllocateProbs(CLzma2Dec *p, Byte prop, ISzAllocPtr alloc);
31 SRes Lzma2Dec_Allocate(CLzma2Dec *p, Byte prop, ISzAllocPtr alloc);
49 SRes Lzma2Dec_DecodeToDic(CLzma2Dec *p, SizeT dicLimit,
52 SRes Lzma2Dec_DecodeToBuf(CLzma2Dec *p, Byte *dest, SizeT *destLen,
116 SRes Lzma2Decode(Byte *dest, SizeT *destLen, const Byte *src, SizeT *srcLen,
H A DLzmaEnc.h47 SRes:
64 SRes LzmaEnc_SetProps(CLzmaEncHandle p, const CLzmaEncProps *props);
66 SRes LzmaEnc_WriteProperties(CLzmaEncHandle p, Byte *properties, SizeT *size);
69 SRes LzmaEnc_Encode(CLzmaEncHandle p, ISeqOutStreamPtr outStream, ISeqInStreamPtr inStream,
71 SRes LzmaEnc_MemEncode(CLzmaEncHandle p, Byte *dest, SizeT *destLen, const Byte *src, SizeT srcLen,
77 SRes LzmaEncode(Byte *dest, SizeT *destLen, const Byte *src, SizeT srcLen,
H A DXzEnc.c44 static SRes WriteBytes(ISeqOutStreamPtr s, const void *buf, size_t size) in WriteBytes()
49 static SRes WriteBytes_UpdateCrc(ISeqOutStreamPtr s, const void *buf, size_t size, UInt32 *crc) in WriteBytes_UpdateCrc()
56 static SRes Xz_WriteHeader(CXzStreamFlags f, ISeqOutStreamPtr s) in Xz_WriteHeader()
69 static SRes XzBlock_WriteHeader(const CXzBlock *p, ISeqOutStreamPtr 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 totalSize, ISzAllocPtr alloc) in XzEncIndex_PreAlloc()
174 static SRes XzEncIndex_AddIndexRecord(CXzEncIndex *p, UInt64 unpackSize, UInt64 totalSize, ISzAllocPtr alloc) in XzEncIndex_AddIndexRecord()
194 static SRes XzEncIndex_WriteFooter(const CXzEncIndex *p, CXzStreamFlags flags, ISeqOutStreamPtr s) in XzEncIndex_WriteFooter()
254 static SRes SeqCheckInStream_Read(ISeqInStreamPtr pp, void *data, size_t *size) in SeqCheckInStream_Read()
258 SRes re in SeqCheckInStream_Read()
[all...]
H A DXzEnc.h50 SRes XzEnc_SetProps(CXzEncHandle p, const CXzProps *props);
52 SRes XzEnc_Encode(CXzEncHandle p, ISeqOutStreamPtr outStream, ISeqInStreamPtr inStream, ICompressProgressPtr progress);
54 SRes Xz_Encode(ISeqOutStreamPtr outStream, ISeqInStreamPtr inStream,
57 SRes Xz_EncodeEmpty(ISeqOutStreamPtr outStream);
H A DXzIn.c18 SRes Xz_ReadHeader(CXzStreamFlags *p, ISeqInStreamPtr inStream) in Xz_ReadHeader()
34 SRes XzBlock_ReadHeader(CXzBlock *p, ISeqInStreamPtr inStream, BoolInt *isIndex, UInt32 *headerSizeRes) in XzBlock_ReadHeader()
86 SRes XzBlock_ReadFooter(CXzBlock *p, CXzStreamFlags f, ISeqInStreamPtr inStream)
92 static SRes Xz_ReadIndex2(CXzStream *p, const Byte *buf, size_t size, ISzAllocPtr alloc) in Xz_ReadIndex2()
136 static SRes Xz_ReadIndex(CXzStream *p, ILookInStreamPtr stream, UInt64 indexSize, ISzAllocPtr alloc) in Xz_ReadIndex()
138 SRes res; in Xz_ReadIndex()
156 static SRes LookInStream_SeekRead_ForArc(ILookInStreamPtr stream, UInt64 offset, void *buf, size_t size) in LookInStream_SeekRead_ForArc()
163 static SRes Xz_ReadBackward(CXzStream *p, ILookInStreamPtr stream, Int64 *startOffset, ISzAllocPtr alloc) in Xz_ReadBackward()
307 SRes Xzs_ReadBackward(CXzs *p, ILookInStreamPtr stream, Int64 *startOffset, ICompressProgressPtr progress, ISzAllocPtr alloc) in Xzs_ReadBackward()
315 SRes re in Xzs_ReadBackward()
[all...]
H A DLzma2DecMt.c72 SRes codeRes;
104 SRes readRes;
416 static SRes Lzma2DecMt_MtCallback_PreCode(void *pp, unsigned coderIndex) in Lzma2DecMt_MtCallback_PreCode()
456 static SRes Lzma2DecMt_MtCallback_Code(void *pp, unsigned coderIndex, in Lzma2DecMt_MtCallback_Code()
485 SRes res = Lzma2Dec_DecodeToDic(&t->dec, in Lzma2DecMt_MtCallback_Code()
529 static SRes Lzma2DecMt_MtCallback_Write(void *pp, unsigned coderIndex, in Lzma2DecMt_MtCallback_Write()
611 static SRes Lzma2Dec_Prepare_ST(CLzma2DecMt *p) in Lzma2Dec_Prepare_ST()
637 static SRes Lzma2Dec_Decode_ST(CLzma2DecMt *p in Lzma2Dec_Decode_ST()
677 SRes res; in Lzma2Dec_Decode_ST()
748 SRes res in Lzma2Dec_Decode_ST()
[all...]
H A DLzma2Enc.c56 static SRes LimitedSeqInStream_Read(ISeqInStreamPtr 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 p, ISeqInStreamPtr inStream, UInt32 keepWindowSize,
116 SRes LzmaEnc_MemPrepare(CLzmaEncHandle p, const Byte *src, SizeT srcLen,
118 SRes LzmaEnc_CodeOneMemBlock(CLzmaEncHandle p, BoolInt reInit,
129 static SRes Lzma2EncInt_EncodeSubblock(CLzma2EncInt *p, Byte *outBuf, in Lzma2EncInt_EncodeSubblock()
137 SRes res; in Lzma2EncInt_EncodeSubblock()
347 static SRes Progress(ICompressProgressPtr p, UInt64 inSize, UInt64 outSize) in Progress()
465 SRes Lzma2Enc_SetProp
[all...]
H A DXzDec.c99 static SRes XzBcFilterState_SetProps(void *pp, const Byte *props, size_t propSize, ISzAllocPtr alloc) in XzBcFilterState_SetProps()
193 static SRes XzBcFilterState_Code2(void *pp, in XzBcFilterState_Code2()
267 SRes Xz_StateCoder_Bc_SetFromMethod_Func(IStateCoder *p, UInt64 id, in Xz_StateCoder_Bc_SetFromMethod_Func()
311 static SRes SbState_SetProps(void *pp, const Byte *props, size_t propSize, ISzAllocPtr alloc) in SbState_SetProps()
324 static SRes SbState_Code2(void *pp, Byte *dest, SizeT *destLen, const Byte *src, SizeT *srcLen, in SbState_Code2()
330 SRes res; in SbState_Code2()
347 static SRes SbState_SetFromMethod(IStateCoder *p, ISzAllocPtr alloc) in SbState_SetFromMethod()
390 static SRes Lzma2State_SetProps(void *pp, const Byte *props, size_t propSize, ISzAllocPtr alloc) in Lzma2State_SetProps()
414 static SRes Lzma2State_Code2(void *pp, Byte *dest, SizeT *destLen, const Byte *src, SizeT *srcLen, in Lzma2State_Code2()
422 SRes re in Lzma2State_Code2()
[all...]
H A DLzma86.h71 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);
H A DLzma2DecMt.h31 SRes:
48 SRes Lzma2DecMt_Decode(CLzma2DecMtHandle p,
68 SRes Lzma2DecMt_Init(CLzma2DecMtHandle pp,
74 SRes Lzma2DecMt_Read(CLzma2DecMtHandle pp,
H A DLzma86Dec.c12 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()
H A DMtDec.c36 SRes MtProgress_Progress_ST(CMtProgress *p) in MtProgress_Progress_ST()
45 SRes MtProgress_ProgressAdd(CMtProgress *p, UInt64 inSize, UInt64 outSize) in MtProgress_ProgressAdd()
47 SRes res; in MtProgress_ProgressAdd()
62 SRes MtProgress_GetError(CMtProgress *p) in MtProgress_GetError()
64 SRes res; in MtProgress_GetError()
72 void MtProgress_SetError(CMtProgress *p, SRes res) in MtProgress_SetError()
113 static SRes MtDecThread_CreateAndStart(CMtDecThread *t) in MtDecThread_CreateAndStart()
174 static SRes MtDec_GetError_Spec(CMtDec *p, UInt64 interruptIndex, BoolInt *wasInterrupted) in MtDec_GetError_Spec()
176 SRes res; in MtDec_GetError_Spec()
184 static SRes MtDec_Progress_GetError_Spe
[all...]
H A D7zDec.c73 SRes res;
98 static SRes SzDecodePpmd(const Byte *props, unsigned propsSize, UInt64 inSize, ILookInStreamPtr inStream, in SzDecodePpmd()
103 SRes res = SZ_OK; in SzDecodePpmd()
163 static SRes SzDecodeLzma(const Byte *props, unsigned propsSize, UInt64 inSize, ILookInStreamPtr inStream, in SzDecodeLzma()
167 SRes res = SZ_OK; in SzDecodeLzma()
223 static SRes SzDecodeLzma2(const Byte *props, unsigned propsSize, UInt64 inSize, ILookInStreamPtr inStream, in SzDecodeLzma2()
227 SRes res = SZ_OK; in SzDecodeLzma2()
282 static SRes SzDecodeCopy(UInt64 inSize, ILookInStreamPtr inStream, Byte *outBuffer) in SzDecodeCopy()
328 static SRes CheckSupportedFolder(const CSzFolder *f) in CheckSupportedFolder()
409 static SRes SzFolder_Decode
[all...]
H A D7z.h54 SRes SzGetNextFolderItem(CSzFolder *f, CSzData *sd);
100 SRes SzAr_DecodeFolder(const CSzAr *p, UInt32 folderIndex,
175 SRes SzArEx_Extract(
199 SRes SzArEx_Open(CSzArEx *p, ILookInStreamPtr inStream,
H A DLzma2Dec.c57 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()
176 SRes Lzma2Dec_DecodeToDic(CLzma2Dec *p, SizeT dicLimit, in Lzma2Dec_DecodeToDic()
254 SRes res; in Lzma2Dec_DecodeToDic()
428 SRes Lzma2Dec_DecodeToBuf(CLzma2Dec *p, Byte *dest, SizeT *destLen, const Byte *src, SizeT *srcLen, ELzmaFinishMode finishMode, ELzmaStatus *status) in Lzma2Dec_DecodeToBuf()
437 SRes res; in Lzma2Dec_DecodeToBuf()
469 SRes Lzma2Decode(Byte *dest, SizeT *destLen, const Byte *src, SizeT *srcLen, in Lzma2Decode()
473 SRes res; in Lzma2Decode()
H A D7zArcIn.c64 static SRes SzBitUi32s_Alloc(CSzBitUi32s *p, size_t num, ISzAllocPtr alloc) in SzBitUi32s_Alloc()
205 static Z7_NO_INLINE SRes ReadNumber(CSzData *sd, UInt64 *value) in ReadNumber()
243 static Z7_NO_INLINE SRes SzReadNumber32(CSzData *sd, UInt32 *value) in SzReadNumber32()
268 static SRes SkipData(CSzData *sd) in SkipData()
278 static SRes WaitId(CSzData *sd, UInt32 id) in WaitId()
292 static SRes RememberBitVector(CSzData *sd, UInt32 numItems, const Byte **v) in RememberBitVector()
320 static Z7_NO_INLINE SRes ReadBitVector(CSzData *sd, UInt32 numItems, Byte **v, ISzAllocPtr alloc) in ReadBitVector()
348 static Z7_NO_INLINE SRes ReadUi32s(CSzData *sd2, UInt32 numItems, CSzBitUi32s *crcs, ISzAllocPtr alloc) in ReadUi32s()
369 static SRes ReadBitUi32s(CSzData *sd, UInt32 numItems, CSzBitUi32s *crcs, ISzAllocPtr alloc) in ReadBitUi32s()
376 static SRes SkipBitUi32
[all...]
H A DMtCoder.c10 static SRes MtProgressThunk_Progress(ICompressProgressPtr pp, UInt64 inSize, UInt64 outSize) in MtProgressThunk_Progress()
42 static SRes MtCoderThread_CreateAndStart(CMtCoderThread *t) in MtCoderThread_CreateAndStart()
86 static SRes ThreadFunc2(CMtCoderThread *t) in ThreadFunc2()
93 SRes res; in ThreadFunc2()
94 SRes res2; in ThreadFunc2()
322 SRes res = ThreadFunc2(t); in ThreadFunc()
425 SRes MtCoder_Code(CMtCoder *p) in MtCoder_Code()
430 SRes res = SZ_OK; in MtCoder_Code()
/third_party/lzma/CPP/7zip/Common/
H A DCWrappers.cpp11 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(ICompressProgressPtr pp, UInt64 inSize, UInt64 outSize) throw() in CompressProgress()
76 static SRes MyRead(ISeqInStreamPtr pp, void *data, size_t *size) throw() in MyRead()
121 static SRes InStreamWrap_Read(ISeekInStreamPtr pp, void *data, size_t *size) throw() in InStreamWrap_Read()
130 static SRes InStreamWrap_Seek(ISeekInStreamPtr pp, Int64 *offset, ESzSeek origin) throw() in InStreamWrap_Seek()
/third_party/lzma/C/Util/Lzma/
H A DLzmaUtil.c87 static int PrintErrorNumber(SRes val) in PrintErrorNumber()
105 static SRes Decode2(CLzmaDec *state, ISeqOutStreamPtr outStream, ISeqInStreamPtr inStream, in Decode2()
122 SRes res; in Decode2()
159 static SRes Decode(ISeqOutStreamPtr outStream, ISeqInStreamPtr inStream) in Decode()
163 SRes res = 0; in Decode()
189 static SRes Encode(ISeqOutStreamPtr outStream, ISeqInStreamPtr inStream, UInt64 fileSize) in Encode()
192 SRes res; in Encode()

Completed in 16 milliseconds

12