Lines Matching refs:mtProgress
203 CriticalSection_Enter(&p->mtProgress.cs); in MtDec_GetError_Spec()
205 res = p->mtProgress.res; in MtDec_GetError_Spec()
206 CriticalSection_Leave(&p->mtProgress.cs); in MtDec_GetError_Spec()
213 CriticalSection_Enter(&p->mtProgress.cs); in MtDec_Progress_GetError_Spec()
215 p->mtProgress.totalInSize += inSize; in MtDec_Progress_GetError_Spec()
216 p->mtProgress.totalOutSize += outSize; in MtDec_Progress_GetError_Spec()
217 if (p->mtProgress.res == SZ_OK && p->mtProgress.progress) in MtDec_Progress_GetError_Spec()
218 …if (ICompressProgress_Progress(p->mtProgress.progress, p->mtProgress.totalInSize, p->mtProgress.to… in MtDec_Progress_GetError_Spec()
219 p->mtProgress.res = SZ_ERROR_PROGRESS; in MtDec_Progress_GetError_Spec()
222 res = p->mtProgress.res; in MtDec_Progress_GetError_Spec()
224 CriticalSection_Leave(&p->mtProgress.cs); in MtDec_Progress_GetError_Spec()
231 CriticalSection_Enter(&p->mtProgress.cs); in MtDec_Interrupt()
237 CriticalSection_Leave(&p->mtProgress.cs); in MtDec_Interrupt()
743 res = MtProgress_ProgressAdd(&p->mtProgress, inDelta, outDelta); in ThreadFunc2()
858 MtProgress_SetError(&p->mtProgress, MY_SRes_HRESULT_FROM_WRes(res)); in ThreadFunc1()
1002 CriticalSection_Init(&p->mtProgress.cs); in MtDec_Construct()
1029 CriticalSection_Delete(&p->mtProgress.cs); in MtDec_Destruct()
1086 MtProgress_Init(&p->mtProgress, p->progress); in MtDec_Code()