Searched refs:WatcherTask (Results 1 – 5 of 5) sorted by relevance
/base/startup/init/services/loopevent/task/ |
D | le_watchtask.c | 22 WatcherTask *watcher = (WatcherTask *)taskHandle; in HandleWatcherEvent_() 29 watcher = (WatcherTask *)GetTaskByFd((EventLoop *)loopHandle, fd); in HandleWatcherEvent_() 59 …WatcherTask *task = (WatcherTask *)CreateTask(loopHandle, info->fd, &baseInfo, sizeof(WatcherTask)… in LE_StartWatcher()
|
D | le_task.h | 117 } WatcherTask; typedef
|
/base/startup/init/test/unittest/loopevent/ |
D | loopevent_unittest.cpp | 211 … ((WatcherTask *)handle)->base.handleEvent(LE_GetDefaultLoop(), (TaskHandle)handle, Event_Read); in ProcessWatcherTask() 212 ((WatcherTask *)handle)->base.handleEvent(LE_GetDefaultLoop(), (TaskHandle)handle, 0); in ProcessWatcherTask() 213 ((WatcherTask *)handle)->base.flags = WATCHER_ONCE; in ProcessWatcherTask() 214 … ((WatcherTask *)handle)->base.handleEvent(LE_GetDefaultLoop(), (TaskHandle)handle, Event_Read); in ProcessWatcherTask()
|
/base/startup/init/test/unittest/init/ |
D | service_socket_unittest.cpp | 64 ((WatcherTask *)((ServiceSocket *)service->socketCfg)->watcher)->processEvent(
|
D | group_unittest.cpp | 389 ((WatcherTask *)watcher)->processEvent((WatcherHandle)watcher, 0, &event, service);
|