Home
last modified time | relevance | path

Searched refs:WatcherTask (Results 1 – 5 of 5) sorted by relevance

/base/startup/init/services/loopevent/task/
Dle_watchtask.c22 WatcherTask *watcher = (WatcherTask *)taskHandle; in HandleWatcherEvent_()
29 watcher = (WatcherTask *)GetTaskByFd((EventLoop *)loopHandle, fd); in HandleWatcherEvent_()
59WatcherTask *task = (WatcherTask *)CreateTask(loopHandle, info->fd, &baseInfo, sizeof(WatcherTask)… in LE_StartWatcher()
Dle_task.h117 } WatcherTask; typedef
/base/startup/init/test/unittest/loopevent/
Dloopevent_unittest.cpp211 … ((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/
Dservice_socket_unittest.cpp64 ((WatcherTask *)((ServiceSocket *)service->socketCfg)->watcher)->processEvent(
Dgroup_unittest.cpp389 ((WatcherTask *)watcher)->processEvent((WatcherHandle)watcher, 0, &event, service);