Lines Matching defs:res
73 SRes res;
82 if (p->res == SZ_OK)
86 p->res = ILookInStream_Skip(p->inStream, size);
88 p->res = ILookInStream_Look(p->inStream, (const void **)&p->begin, &size);
103 SRes res = SZ_OK;
109 s.res = SZ_OK;
131 res = SZ_ERROR_DATA;
144 res = SZ_ERROR_DATA;
148 res = SZ_ERROR_DATA;
152 res = (s.res != SZ_OK ? s.res : SZ_ERROR_DATA);
154 res = SZ_ERROR_DATA;
157 return res;
167 SRes res = SZ_OK;
181 res = ILookInStream_Look(inStream, &inBuf, &lookahead);
182 if (res != SZ_OK)
188 res = LzmaDec_DecodeToDic(&state, outSize, (const Byte *)inBuf, &inProcessed, LZMA_FINISH_END, &status);
191 if (res != SZ_OK)
197 res = SZ_ERROR_DATA;
206 res = SZ_ERROR_DATA;
210 res = ILookInStream_Skip(inStream, inProcessed);
211 if (res != SZ_OK)
217 return res;
227 SRes res = SZ_OK;
243 res = ILookInStream_Look(inStream, &inBuf, &lookahead);
244 if (res != SZ_OK)
250 res = Lzma2Dec_DecodeToDic(&state, outSize, (const Byte *)inBuf, &inProcessed, LZMA_FINISH_END, &status);
253 if (res != SZ_OK)
259 res = SZ_ERROR_DATA;
265 res = SZ_ERROR_DATA;
269 res = ILookInStream_Skip(inStream, inProcessed);
270 if (res != SZ_OK)
276 return res;
611 SRes res;
619 res = SzGetNextFolderItem(&folder, &sd);
621 if (res != SZ_OK)
622 return res;
632 res = SzFolder_Decode2(&folder, data,
641 if (res == SZ_OK)
644 res = SZ_ERROR_CRC;
646 return res;