Home
last modified time | relevance | path

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

12

/external/lzma/C/
DMtCoder.c60 return (p && p->Progress(p, inSize, outSize) != SZ_OK) ? SZ_ERROR_PROGRESS : SZ_OK; in Progress()
70 p->res = SZ_OK; in MtProgress_Init()
88 if (p->res == SZ_OK) in MtProgress_Set()
98 if (p->res == SZ_OK) in MtProgress_SetError()
106 if (p->res == SZ_OK) in MtCoder_SetError()
166 return SZ_OK; in CMtThread_Prepare()
182 return SZ_OK; in FullRead()
184 return SZ_OK; in FullRead()
201 return Event_Set(&next->canRead) == 0 ? SZ_OK : SZ_ERROR_THREAD; in MtThread_Process()
224 return Event_Set(&next->canWrite) == 0 ? SZ_OK : SZ_ERROR_THREAD; in MtThread_Process()
[all …]
D7zDec.c52 if (p->res == SZ_OK) in ReadByte()
73 SRes res = SZ_OK; in SzDecodePpmd()
79 s.res = SZ_OK; in SzDecodePpmd()
105 res = (s.res != SZ_OK ? s.res : SZ_ERROR_DATA); in SzDecodePpmd()
117 res = (s.res != SZ_OK ? s.res : SZ_ERROR_DATA); in SzDecodePpmd()
133 SRes res = SZ_OK; in SzDecodeLzma()
148 if (res != SZ_OK) in SzDecodeLzma()
157 if (res != SZ_OK) in SzDecodeLzma()
168 if (res != SZ_OK) in SzDecodeLzma()
181 SRes res = SZ_OK; in SzDecodeLzma2()
[all …]
DLzma2Enc.c59 return SZ_OK; in Lzma2EncInt_Init()
98 if (res == SZ_OK) in Lzma2EncInt_EncodeSubblock()
104 res = SZ_OK; in Lzma2EncInt_EncodeSubblock()
136 return SZ_OK; in Lzma2EncInt_EncodeSubblock()
164 return SZ_OK; in Lzma2EncInt_EncodeSubblock()
254 return (p && p->Progress(p, inSize, outSize) != SZ_OK) ? SZ_ERROR_PROGRESS : SZ_OK; in Progress()
284 SRes res = SZ_OK; in Lzma2Enc_EncodeMt1()
299 if (res != SZ_OK) in Lzma2Enc_EncodeMt1()
303 if (res != SZ_OK) in Lzma2Enc_EncodeMt1()
309 if (res == SZ_OK) in Lzma2Enc_EncodeMt1()
[all …]
D7zStream.c21 return SZ_OK; in SeqInStream_Read2()
33 return (processed == 1) ? SZ_OK : SZ_ERROR_INPUT_EOF; in SeqInStream_ReadByte()
46 return SZ_OK; in LookInStream_LookRead()
63 return SZ_OK; in LookInStream_Read2()
73 SRes res = SZ_OK; in LookToRead_Look_Lookahead()
91 SRes res = SZ_OK; in LookToRead_Look_Exact()
112 return SZ_OK; in LookToRead_Skip()
126 return SZ_OK; in LookToRead_Read()
D7zArcIn.c73 return SZ_OK; in SzBitUi32s_Alloc()
188 return SZ_OK; in SzReadByte()
211 return SZ_OK; in ReadNumber()
217 return SZ_OK; in ReadNumber()
229 return SZ_OK; in ReadNumber()
235 return SZ_OK; in ReadNumber()
302 return SZ_OK; in SzReadNumber32()
310 return SZ_OK; in SzReadNumber32()
322 return SZ_OK; in SkipData()
332 return SZ_OK; in WaitId()
[all …]
DLzma86Dec.c21 return SZ_OK; in Lzma86_GetUnpackSize()
47 if (res != SZ_OK) in Lzma86_Decode()
55 return SZ_OK; in Lzma86_Decode()
DLzma2Dec.c74 return SZ_OK; in Lzma2Dec_GetOldProps()
187 return SZ_OK; in Lzma2Dec_DecodeToDic()
194 return SZ_OK; in Lzma2Dec_DecodeToDic()
216 return SZ_OK; in Lzma2Dec_DecodeToDic()
290 return SZ_OK; in Lzma2Dec_DecodeToDic()
328 return SZ_OK; in Lzma2Dec_DecodeToBuf()
348 if (res == SZ_OK && *status == LZMA_STATUS_NEEDS_MORE_INPUT) in Lzma2Decode()
DLzma86Enc.c89 if (curRes != SZ_OK) in Lzma86_Encode()
94 if (outSizeProcessed <= minSize || mainResult != SZ_OK) in Lzma86_Encode()
98 mainResult = SZ_OK; in Lzma86_Encode()
DXzDec.c112 return SZ_OK; in BraState_SetProps()
197 return SZ_OK; in BraState_Code()
222 return SZ_OK; in BraState_SetFromMethod()
241 return (propSize == 0) ? SZ_OK : SZ_ERROR_UNSUPPORTED; in SbState_SetProps()
281 return SZ_OK; in SbState_SetFromMethod()
327 return SZ_OK; in Lzma2State_SetFromMethod()
483 if (res != SZ_OK) in MixCoder_Code()
494 return SZ_OK; in MixCoder_Code()
503 return XzFlags_IsSupported(*p) ? SZ_OK : SZ_ERROR_UNSUPPORTED; in Xz_ParseHeader()
570 return SZ_OK; in XzBlock_Parse()
[all …]
DXzIn.c36 return SZ_OK; in XzBlock_ReadHeader()
114 return (pos == size) ? SZ_OK : SZ_ERROR_ARCHIVE; in Xz_ReadIndex2()
131 if (res == SZ_OK) in Xz_ReadIndex()
222 return (p->flags == headerFlags) ? SZ_OK : SZ_ERROR_ARCHIVE; in Xz_ReadBackward()
303 …if (progress && progress->Progress(progress, endOffset - *startOffset, (UInt64)(Int64)-1) != SZ_OK) in Xzs_ReadBackward()
306 return SZ_OK; in Xzs_ReadBackward()
DLzmaDec.c457 return SZ_OK; in LzmaDec_DecodeReal()
772 return SZ_OK; in LzmaDec_DecodeToDic()
787 return SZ_OK; in LzmaDec_DecodeToDic()
792 return SZ_OK; in LzmaDec_DecodeToDic()
818 return SZ_OK; in LzmaDec_DecodeToDic()
850 return SZ_OK; in LzmaDec_DecodeToDic()
870 return (p->code == 0) ? SZ_OK : SZ_ERROR_DATA; in LzmaDec_DecodeToDic()
909 return SZ_OK; in LzmaDec_DecodeToBuf()
954 return SZ_OK; in LzmaProps_Decode()
968 return SZ_OK; in LzmaDec_AllocateProbs2()
[all …]
DXzEnc.c36 return (s->Write(s, buf, size) == size) ? SZ_OK : SZ_ERROR_WRITE; in WriteBytes()
153 return SZ_OK; in Xz_AddIndexRecord()
223 return SZ_OK; in SeqInFilter_Read()
279 return SZ_OK; in SeqInFilter_Init()
367 return SZ_OK; in Lzma2WithFilters_Create()
505 if (res == SZ_OK) in Xz_Encode()
518 if (res == SZ_OK) in Xz_EncodeEmpty()
DBcj2.c58 return SZ_OK; in Bcj2_Decode()
133 return (outPos == outSize) ? SZ_OK : SZ_ERROR_DATA; in Bcj2_Decode()
DLzmaEnc.c452 return SZ_OK; in LzmaEnc_SetProps()
504 p->res = SZ_OK; in RangeEnc_Init()
510 if (p->res != SZ_OK) in RangeEnc_FlushStream()
1625 if (p->result != SZ_OK) in CheckErrors()
1627 if (p->rc.res != SZ_OK) in CheckErrors()
1629 if (p->matchFinderBase.result != SZ_OK) in CheckErrors()
1631 if (p->result != SZ_OK) in CheckErrors()
1955 return SZ_OK; in LzmaEnc_Alloc()
2040 p->result = SZ_OK; in LzmaEnc_AllocAndInit()
2045 return SZ_OK; in LzmaEnc_AllocAndInit()
[all …]
D7zFile.c244 return File_Read(&p->file, buf, size) == 0 ? SZ_OK : SZ_ERROR_READ; in FileSeqInStream_Read()
258 return (File_Read(&p->file, buf, size) == 0) ? SZ_OK : SZ_ERROR_READ; in FileInStream_Read()
DLzFindMt.c105 return SZ_OK; in MtSync_Create2()
121 return SZ_OK; in MtSync_Create2()
127 if (res != SZ_OK) in MtSync_Create()
487 return SZ_OK; in MatchFinderMt_Create()
D7zTypes.h25 #define SZ_OK 0 macro
DLzFind.c61 if (p->streamEndWasReached || p->result != SZ_OK) in MatchFinder_ReadBlock()
81 if (p->result != SZ_OK) in MatchFinder_ReadBlock()
281 p->result = SZ_OK; in MatchFinder_Init()
/external/lzma/CPP/7zip/Common/
DCWrappers.cpp26 Res = SZ_OK; in CCompressProgressWrap()
35 case S_OK: return SZ_OK; in HRESULT_To_SRes()
53 return SZ_OK; in MyRead()
83 Res = SZ_OK; in CSeqOutStreamWrap()
91 case SZ_OK: return S_OK; in SResToHRESULT()
107 return (p->Res == S_OK) ? SZ_OK : SZ_ERROR_READ; in InStreamWrap_Read()
124 return (p->Res == S_OK) ? SZ_OK : SZ_ERROR_READ; in InStreamWrap_Seek()
/external/lzma/C/Util/SfxSetup/
DSfxSetup.c238 SRes res = SZ_OK; in main()
341 if (res != SZ_OK) in main()
345 if (res != SZ_OK) in main()
369 if (res == SZ_OK) in main()
376 if (res == SZ_OK) in main()
381 if (res == SZ_OK) in main()
412 if (res != SZ_OK) in main()
487 if (res != SZ_OK) in main()
489 if (res2 != SZ_OK) in main()
502 if (res == SZ_OK) in main()
[all …]
/external/lzma/C/Util/7z/
D7zMain.c99 return res ? SZ_OK : SZ_ERROR_FAIL; in Utf16_To_Utf8Buf()
130 return SZ_OK; in Utf16_To_Char()
198 if (res == SZ_OK) in PrintString()
368 if (res == SZ_OK) in main()
382 if (res == SZ_OK) in main()
448 if (res != SZ_OK) in main()
460 if (res != SZ_OK) in main()
470 if (res != SZ_OK) in main()
532 if (res == SZ_OK) in main()
/external/lzma/CPP/7zip/Archive/
DXzHandler.cpp99 IDecodeState(): DecodeRes(SZ_OK) {} in IDecodeState()
416 Res = SZ_OK; in COpenCallbackWrap()
450 case SZ_OK: return S_OK; in SRes_to_Open_HRESULT()
473 if (res != SZ_OK) in Open2()
481 if (res2 == SZ_OK && !isIndex) in Open2()
511 if (res == SZ_OK && startPosition == 0) in Open2()
528 res = SZ_OK; in Open2()
613 DecodeRes = SZ_OK; in Decode()
651 bool finished = ((inLen == 0 && outLen == 0) || res != SZ_OK); in Decode()
683 if (res == SZ_OK) in Decode()
[all …]
/external/lzma/C/Util/Lzma/
DLzmaUtil.c95 if (res != SZ_OK || (thereIsSize && unpackSize == 0)) in Decode2()
149 if (res == SZ_OK) in Encode()
162 if (res == SZ_OK) in Encode()
233 if (res != SZ_OK) in main2()
/external/squashfs-tools/squashfs-tools/
Dlzma_wrapper.c50 if(res != SZ_OK) { in lzma_compress()
102 if(res == SZ_OK) in lzma_uncompress()
/external/lzma/DOC/
Dlzma.txt103 SZ_OK
144 if (res != SZ_OK)
275 SZ_OK - OK

12