Searched refs:baseTask (Results 1 – 5 of 5) sorted by relevance
76 WorkerTask *baseTask = (WorkerTask *)HcMalloc(sizeof(WorkerTask), 0); in ExecuteWorkerTask() local77 if (baseTask == NULL) { in ExecuteWorkerTask()82 baseTask->extTask = extTask; in ExecuteWorkerTask()83 baseTask->base.doAction = DoWorkerTask; in ExecuteWorkerTask()84 baseTask->base.destroy = DestroyWorkerTask; in ExecuteWorkerTask()85 if (PushTask((HcTaskBase *)baseTask) != HC_SUCCESS) { in ExecuteWorkerTask()88 HcFree(baseTask); in ExecuteWorkerTask()
27 int32_t PushTask(HcTaskBase *baseTask) in PushTask() argument33 g_taskThread->pushTask(g_taskThread, baseTask); in PushTask()
27 int32_t PushTask(HcTaskBase *baseTask);
92 static void DoOnChannelOpened(HcTaskBase *baseTask) in DoOnChannelOpened() argument94 if (baseTask == NULL) { in DoOnChannelOpened()98 SoftBusTask *task = (SoftBusTask *)baseTask; in DoOnChannelOpened()
430 static void DoCreateGroup(HcTaskBase *baseTask) in DoCreateGroup() argument432 GroupManagerTask *task = (GroupManagerTask *)baseTask; in DoCreateGroup()446 static void DoDeleteGroup(HcTaskBase *baseTask) in DoDeleteGroup() argument448 GroupManagerTask *task = (GroupManagerTask *)baseTask; in DoDeleteGroup()462 static void DoDeleteMember(HcTaskBase *baseTask) in DoDeleteMember() argument464 GroupManagerTask *task = (GroupManagerTask *)baseTask; in DoDeleteMember()