Lines Matching refs:Res
18 p->Res = p->Progress->SetRatioInfo(CONVERT_PR_VAL(inSize), CONVERT_PR_VAL(outSize)); in CompressProgress()
19 return (SRes)p->Res; in CompressProgress()
26 Res = SZ_OK; in CCompressProgressWrap()
48 p->Res = (p->Stream->Read(data, curSize, &curSize)); in MyRead()
50 if (p->Res == S_OK) in MyRead()
52 return HRESULT_To_SRes(p->Res, SZ_ERROR_READ); in MyRead()
60 p->Res = WriteStream(p->Stream, data, size); in MyWrite()
61 if (p->Res != 0) in MyWrite()
65 p->Res = S_OK; in MyWrite()
80 Res = SZ_OK; in CSeqOutStreamWrap()
101 p->Res = p->Stream->Read(data, curSize, &curSize); in InStreamWrap_Read()
103 return (p->Res == S_OK) ? SZ_OK : SZ_ERROR_READ; in InStreamWrap_Read()
118 p->Res = p->Stream->Seek(*offset, moveMethod, &newPosition); in InStreamWrap_Seek()
120 return (p->Res == S_OK) ? SZ_OK : SZ_ERROR_READ; in InStreamWrap_Seek()
128 Res = S_OK; in CSeekInStreamWrap()
153 if (Res == S_OK) in ReadByteFromNewBlock()
157 Res = Stream->Read(Buf, Size, &avail); in ReadByteFromNewBlock()
202 if (Res == S_OK) in Flush()
205 Res = WriteStream(Stream, Buf, size); in Flush()
206 if (Res == S_OK) in Flush()
210 return Res; in Flush()