Lines Matching defs:p
10 void LoopThread_Construct(CLoopThread *p) in LoopThread_Construct()
17 void LoopThread_Close(CLoopThread *p) in LoopThread_Close()
26 CLoopThread *p = (CLoopThread *)pp; in LoopThreadFunc() local
39 WRes LoopThread_Create(CLoopThread *p) in LoopThread_Create()
47 WRes LoopThread_StopAndWait(CLoopThread *p) in LoopThread_StopAndWait()
55 WRes LoopThread_StartSubThread(CLoopThread *p) { return Event_Set(&p->startEvent); } in LoopThread_StartSubThread()
56 WRes LoopThread_WaitSubThread(CLoopThread *p) { return Event_Wait(&p->finishedEvent); } in LoopThread_WaitSubThread()
58 static SRes Progress(ICompressProgress *p, UInt64 inSize, UInt64 outSize) in Progress()
63 static void MtProgress_Init(CMtProgress *p, ICompressProgress *progress) in MtProgress_Init()
73 static void MtProgress_Reinit(CMtProgress *p, unsigned index) in MtProgress_Reinit()
82 SRes MtProgress_Set(CMtProgress *p, unsigned index, UInt64 inSize, UInt64 outSize) in MtProgress_Set()
95 static void MtProgress_SetError(CMtProgress *p, SRes res) in MtProgress_SetError()
103 static void MtCoder_SetError(CMtCoder* p, SRes res) in MtCoder_SetError()
113 void CMtThread_Construct(CMtThread *p, CMtCoder *mtCoder) in CMtThread_Construct()
125 static void CMtThread_CloseEvents(CMtThread *p) in CMtThread_CloseEvents()
131 static void CMtThread_Destruct(CMtThread *p) in CMtThread_Destruct()
156 static SRes CMtThread_Prepare(CMtThread *p) in CMtThread_Prepare()
187 #define GET_NEXT_THREAD(p) &p->mtCoder->threads[p->index == p->mtCoder->numThreads - 1 ? 0 : p->in… argument
189 static SRes MtThread_Process(CMtThread *p, Bool *stop) in MtThread_Process()
230 CMtThread *p = (CMtThread *)pp; in ThreadFunc() local
251 void MtCoder_Construct(CMtCoder* p) in MtCoder_Construct()
265 void MtCoder_Destruct(CMtCoder* p) in MtCoder_Destruct()
274 SRes MtCoder_Code(CMtCoder *p) in MtCoder_Code()