Home
last modified time | relevance | path

Searched refs:SZ_OK (Results 1 – 25 of 37) sorted by relevance

12

/third_party/lzma/C/
DMtCoder.c54 return SZ_OK; in MtCoderThread_CreateAndStart()
107 return Event_Set(&mtc->readEvent) == 0 ? SZ_OK : SZ_ERROR_THREAD; in ThreadFunc2()
116 if (res == SZ_OK) in ThreadFunc2()
127 if (res == SZ_OK) in ThreadFunc2()
133 if (res != SZ_OK) in ThreadFunc2()
158 res2 = SZ_OK; in ThreadFunc2()
163 if (res == SZ_OK) in ThreadFunc2()
177 if (res == SZ_OK) in ThreadFunc2()
180 if (res != SZ_OK) in ThreadFunc2()
189 if (res == SZ_OK) in ThreadFunc2()
[all …]
DMtDec.c30 p->res = SZ_OK; in MtProgress_Init()
38 if (p->res == SZ_OK && p->progress) in MtProgress_Progress_ST()
39 if (ICompressProgress_Progress(p->progress, p->totalInSize, p->totalOutSize) != SZ_OK) in MtProgress_Progress_ST()
52 if (p->res == SZ_OK && p->progress) in MtProgress_ProgressAdd()
53 if (ICompressProgress_Progress(p->progress, p->totalInSize, p->totalOutSize) != SZ_OK) in MtProgress_ProgressAdd()
75 if (p->res == SZ_OK) in MtProgress_SetError()
107 return SZ_OK; in MtDecThread_CreateEvents()
120 return SZ_OK; in MtDecThread_CreateAndStart()
123 return SZ_OK; in MtDecThread_CreateAndStart()
191 if (p->mtProgress.res == SZ_OK && p->mtProgress.progress) in MtDec_Progress_GetError_Spec()
[all …]
DXzDec.c138 return SZ_OK; in XzBcFilterState_SetProps()
260 return SZ_OK; in XzBcFilterState_Code2()
295 return SZ_OK; in Xz_StateCoder_Bc_SetFromMethod_Func()
316 return (propSize == 0) ? SZ_OK : SZ_ERROR_UNSUPPORTED; in SbState_SetProps()
364 return SZ_OK; in SbState_SetFromMethod()
463 return SZ_OK; in Lzma2State_SetFromMethod()
477 return SZ_OK; in Lzma2State_ResetOutBuf()
531 p->results[i] = SZ_OK; in MixCoder_Init()
535 p->res = SZ_OK; in MixCoder_Init()
634 if (res != SZ_OK || srcWasFinished || wasFinished) in MixCoder_Code()
[all …]
D7zStream.c22 if (res != SZ_OK) in SeqInStream_ReadMax()
25 return SZ_OK; in SeqInStream_ReadMax()
27 return SZ_OK; in SeqInStream_ReadMax()
56 return (processed == 1) ? SZ_OK : SZ_ERROR_INPUT_EOF; in SeqInStream_ReadByte()
71 return SZ_OK; in LookInStream_LookRead()
88 return SZ_OK; in LookInStream_Read2()
102 SRes res = SZ_OK; in LookToRead2_Look_Lookahead()
121 SRes res = SZ_OK; in LookToRead2_Look_Exact()
143 return SZ_OK; in LookToRead2_Skip()
157 return SZ_OK; in LookToRead2_Read()
D7zDec.c82 if (p->res == SZ_OK) in ReadByte()
103 SRes res = SZ_OK; in SzDecodePpmd()
109 s.res = SZ_OK; in SzDecodePpmd()
152 res = (s.res != SZ_OK ? s.res : SZ_ERROR_DATA); in SzDecodePpmd()
167 SRes res = SZ_OK; in SzDecodeLzma()
182 if (res != SZ_OK) in SzDecodeLzma()
191 if (res != SZ_OK) in SzDecodeLzma()
211 if (res != SZ_OK) in SzDecodeLzma()
227 SRes res = SZ_OK; in SzDecodeLzma2()
244 if (res != SZ_OK) in SzDecodeLzma2()
[all …]
DLzma2DecMt.c274 t->codeRes = SZ_OK; in Lzma2DecMt_MtCallback_Parse()
498 if (res != SZ_OK) in Lzma2DecMt_MtCallback_Code()
522 return SZ_OK; in Lzma2DecMt_MtCallback_Code()
557 return SZ_OK; in Lzma2DecMt_MtCallback_Write()
561 if (t->codeRes == SZ_OK) in Lzma2DecMt_MtCallback_Write()
590 return SZ_OK; in Lzma2DecMt_MtCallback_Write()
633 return SZ_OK; in Lzma2Dec_Prepare_ST()
705 if (inLim == 0 || p->readRes != SZ_OK) in Lzma2Dec_Decode_ST()
741 needStop = (res != SZ_OK in Lzma2Dec_Decode_ST()
752 res2 = (written == writeSize) ? SZ_OK : SZ_ERROR_WRITE; in Lzma2Dec_Decode_ST()
[all …]
D7zArcIn.c76 return SZ_OK; in SzBitUi32s_Alloc()
215 return SZ_OK; in ReadNumber()
221 return SZ_OK; in ReadNumber()
233 return SZ_OK; in ReadNumber()
239 return SZ_OK; in ReadNumber()
255 return SZ_OK; in SzReadNumber32()
263 return SZ_OK; in SzReadNumber32()
275 return SZ_OK; in SkipData()
285 return SZ_OK; in WaitId()
299 return SZ_OK; in RememberBitVector()
[all …]
DLzma2Enc.c60 SRes res = SZ_OK; in LimitedSeqInStream_Read()
103 return SZ_OK; in Lzma2EncInt_InitStream()
153 if (res == SZ_OK) in Lzma2EncInt_EncodeSubblock()
159 res = SZ_OK; in Lzma2EncInt_EncodeSubblock()
194 return SZ_OK; in Lzma2EncInt_EncodeSubblock()
224 return SZ_OK; in Lzma2EncInt_EncodeSubblock()
349 return (p && ICompressProgress_Progress(p, inSize, outSize) != SZ_OK) ? SZ_ERROR_PROGRESS : SZ_OK; in Progress()
474 return SZ_OK; in Lzma2Enc_SetProps()
547 SRes res = SZ_OK; in Lzma2Enc_EncodeMt1()
600 if (res != SZ_OK) in Lzma2Enc_EncodeMt1()
[all …]
DBcj2.c43 return SZ_OK; in Bcj2Dec_Decode()
60 return SZ_OK; in Bcj2Dec_Decode()
78 return SZ_OK; in Bcj2Dec_Decode()
104 return SZ_OK; in Bcj2Dec_Decode()
189 return SZ_OK; in Bcj2Dec_Decode()
281 return SZ_OK; in Bcj2Dec_Decode()
DLzma86Dec.c20 return SZ_OK; in Lzma86_GetUnpackSize()
45 if (res != SZ_OK) in Lzma86_Decode()
52 return SZ_OK; in Lzma86_Decode()
DLzma2Dec.c68 return SZ_OK; in Lzma2Dec_GetOldProps()
190 return SZ_OK; in Lzma2Dec_DecodeToDic()
198 return SZ_OK; in Lzma2Dec_DecodeToDic()
206 return SZ_OK; in Lzma2Dec_DecodeToDic()
231 return SZ_OK; in Lzma2Dec_DecodeToDic()
282 return SZ_OK; in Lzma2Dec_DecodeToDic()
464 return SZ_OK; in Lzma2Dec_DecodeToBuf()
485 if (res == SZ_OK && *status == LZMA_STATUS_NEEDS_MORE_INPUT) in Lzma2Decode()
DXzIn.c45 return SZ_OK; in XzBlock_ReadHeader()
133 return (pos == size) ? SZ_OK : SZ_ERROR_ARCHIVE; in Xz_ReadIndex2()
150 if (res == SZ_OK) in Xz_ReadIndex()
251 return (p->flags == headerFlags) ? SZ_OK : SZ_ERROR_ARCHIVE; in Xz_ReadBackward()
336 …ompressProgress_Progress(progress, (UInt64)(endOffset - *startOffset), (UInt64)(Int64)-1) != SZ_OK) in Xzs_ReadBackward()
339 return SZ_OK; in Xzs_ReadBackward()
DLzma86Enc.c84 if (curRes != SZ_OK) in Lzma86_Encode()
89 if (outSizeProcessed <= minSize || mainResult != SZ_OK) in Lzma86_Encode()
93 mainResult = SZ_OK; in Lzma86_Encode()
DLzmaDec.c610 return SZ_OK; in LZMA_DECODE_REAL()
971 return SZ_OK; in LzmaDec_DecodeToDic()
1008 return SZ_OK; in LzmaDec_DecodeToDic()
1023 return SZ_OK; in LzmaDec_DecodeToDic()
1028 return SZ_OK; in LzmaDec_DecodeToDic()
1060 return SZ_OK; in LzmaDec_DecodeToDic()
1103 if (res != SZ_OK) in LzmaDec_DecodeToDic()
1140 return SZ_OK; in LzmaDec_DecodeToDic()
1183 if (res != SZ_OK) in LzmaDec_DecodeToDic()
1236 return SZ_OK; in LzmaDec_DecodeToBuf()
[all …]
DXzEnc.c46 return (ISeqOutStream_Write(s, buf, size) == size) ? SZ_OK : SZ_ERROR_WRITE; in WriteBytes()
148 return SZ_OK; in XzEncIndex_ReAlloc()
163 return SZ_OK; in XzEncIndex_PreAlloc()
190 return SZ_OK; in XzEncIndex_AddIndexRecord()
258 SRes res = SZ_OK; in SeqCheckInStream_Read()
373 return SZ_OK; in SeqInFilter_Init()
382 return SZ_OK; in SeqInFilter_Read()
406 if (*size != 0 || srcLen == 0 || res != SZ_OK) in SeqInFilter_Read()
450 return SZ_OK; in SbEncInStream_Read()
470 return SZ_OK; in SbEncInStream_Read()
[all …]
DLzmaEnc.c603 return SZ_OK; in LzmaEnc_SetProps()
670 p->res = SZ_OK; in RangeEnc_Init()
676 if (p->res == SZ_OK) in RangeEnc_FlushStream()
2163 if (p->result != SZ_OK) in CheckErrors()
2165 if (p->rc.res != SZ_OK) in CheckErrors()
2181 if (MFB.result != SZ_OK) in CheckErrors()
2184 if (p->result != SZ_OK) in CheckErrors()
2759 return SZ_OK; in LzmaEnc_Alloc()
2860 p->result = SZ_OK; in LzmaEnc_AllocAndInit()
2866 return SZ_OK; in LzmaEnc_AllocAndInit()
[all …]
D7zFile.c396 return (wres == 0) ? SZ_OK : SZ_ERROR_READ; in FileSeqInStream_Read()
412 return (wres == 0) ? SZ_OK : SZ_ERROR_READ; in FileInStream_Read()
420 return (wres == 0) ? SZ_OK : SZ_ERROR_READ; in FileInStream_Seek()
/third_party/lzma/C/Util/SfxSetup/
DSfxSetup.c261 SRes res = SZ_OK; in main()
368 if (res != SZ_OK) in main()
372 if (res != SZ_OK) in main()
396 if (res == SZ_OK) in main()
411 if (res == SZ_OK) in main()
416 if (res == SZ_OK) in main()
445 if (res != SZ_OK) in main()
520 if (res != SZ_OK) in main()
522 if (res2 != SZ_OK) in main()
535 if (res == SZ_OK) in main()
[all …]
/third_party/lzma/CPP/7zip/Common/
DCWrappers.cpp15 case S_OK: return SZ_OK; in HRESULT_To_SRes()
30 case SZ_OK: return S_OK; in SResToHRESULT()
71 Res = SZ_OK; in Init()
84 return SZ_OK; in MyRead()
116 Res = SZ_OK; in Init()
127 return (p->Res == S_OK) ? SZ_OK : SZ_ERROR_READ; in InStreamWrap_Read()
147 return (p->Res == S_OK) ? SZ_OK : SZ_ERROR_READ; in InStreamWrap_Seek()
/third_party/lzma/C/Util/7z/
D7zMain.c160 return SZ_OK; in Utf16_To_Utf8Buf()
191 return SZ_OK; in Utf16_To_Char()
260 if (res == SZ_OK) in PrintString()
605 res = SZ_OK; in main()
623 if (res == SZ_OK) in main()
628 if (res == SZ_OK) in main()
643 if (res == SZ_OK) in main()
715 if (res != SZ_OK) in main()
727 if (res != SZ_OK) in main()
738 if (res != SZ_OK) in main()
[all …]
/third_party/lzma/CPP/7zip/Compress/
DXzDecoder.cpp26 case SZ_OK: return S_OK; in SResToHRESULT_Code()
37 MainDecodeSRes = SZ_OK; in Decode()
102 if (res == SZ_OK && finishStream) in Decode()
DLzma2Decoder.cpp177 if (res == SZ_OK && _finishMode) in Z7_COM7F_IMF()
235 if (res != SZ_OK) in Z7_COM7F_IMF()
260 if (res != SZ_OK) in Z7_COM7F_IMF()
DPpmdDecoder.cpp54 return (_res = (_inStream.Res != SZ_OK ? _inStream.Res: S_FALSE)); }
176 _res = SZ_OK; in Z7_COM7F_IMF()
/third_party/lzma/C/Util/Lzma/
DLzmaUtil.c145 if (res != SZ_OK || (thereIsSize && unpackSize == 0)) in Decode2()
202 if (res == SZ_OK) in Encode()
215 if (res == SZ_OK) in Encode()
300 if (res != SZ_OK) in main()
/third_party/lzma/CPP/7zip/Archive/
DXzHandler.cpp441 Res = SZ_OK;
480 case SZ_OK: return S_OK;
511 if (res != SZ_OK)
524 if (res2 != SZ_OK)
585 if (res == SZ_OK && startPosition == 0)
659 res = SZ_OK;
697 _stat2_decode_SRes = SZ_OK;
855 if (res != SZ_OK)
1013 else if (sres != SZ_OK)

12