Lines Matching refs:Res
63 p->Res = p->Progress->SetRatioInfo(CONVERT_PR_VAL(inSize), CONVERT_PR_VAL(outSize)); in CompressProgress()
64 return HRESULT_To_SRes(p->Res, SZ_ERROR_PROGRESS); in CompressProgress()
71 Res = SZ_OK; in Init()
80 p->Res = (p->Stream->Read(data, curSize, &curSize)); in MyRead()
83 if (p->Res == S_OK) in MyRead()
85 return HRESULT_To_SRes(p->Res, SZ_ERROR_READ); in MyRead()
93 p->Res = WriteStream(p->Stream, data, size); in MyWrite()
94 if (p->Res != 0) in MyWrite()
98 p->Res = S_OK; in MyWrite()
109 Res = S_OK; in Init()
116 Res = SZ_OK; in Init()
125 p->Res = p->Stream->Read(data, curSize, &curSize); in InStreamWrap_Read()
127 return (p->Res == S_OK) ? SZ_OK : SZ_ERROR_READ; in InStreamWrap_Read()
142 p->Res = p->Stream->Seek(*offset, moveMethod, &newPosition); in InStreamWrap_Seek()
144 return (p->Res == S_OK) ? SZ_OK : SZ_ERROR_READ; in InStreamWrap_Seek()
152 Res = S_OK; in Init()
177 if (Res == S_OK) in ReadByteFromNewBlock()
181 Res = Stream->Read(Buf, Size, &avail); in ReadByteFromNewBlock()
226 if (Res == S_OK) in Flush()
229 Res = WriteStream(Stream, Buf, size); in Flush()
230 if (Res == S_OK) in Flush()
234 return Res; in Flush()