Home
last modified time | relevance | path

Searched refs:WatcherHandle (Results 1 – 11 of 11) sorted by relevance

/base/startup/init/interfaces/innerkits/control_fd/
Dcontrol_fd.h51 WatcherHandle input; // watch stdin
52 WatcherHandle reader; // watch read pty
Dcontrol_fd_client.c27 CONTROL_FD_STATIC void ProcessPtyWrite(const WatcherHandle taskHandle, int fd, uint32_t *events, co… in ProcessPtyWrite()
47 CONTROL_FD_STATIC void ProcessPtyRead(const WatcherHandle taskHandle, int fd, uint32_t *events, con… in ProcessPtyRead()
/base/startup/init/services/loopevent/task/
Dle_watchtask.c53 WatcherHandle *watcherHandle, const LE_WatchInfo *info, const void *context) in LE_StartWatcher()
69 *watcherHandle = (WatcherHandle)task; in LE_StartWatcher()
73 void LE_RemoveWatcher(const LoopHandle loopHandle, const WatcherHandle watcherHandle) in LE_RemoveWatcher()
/base/startup/init/services/loopevent/include/
Dloop_event.h63 typedef LoopBase *WatcherHandle; typedef
174 typedef void (*ProcessWatchEvent)(const WatcherHandle taskHandle, int fd, uint32_t *events, const v…
183 WatcherHandle *watcherHandle, const LE_WatchInfo *info, const void *context);
184 void LE_RemoveWatcher(const LoopHandle loopHandle, const WatcherHandle watcherHandle);
/base/startup/init/services/init/standard/
Dfd_holder_service.c163 void ProcessFdHoldEvent(const WatcherHandle taskHandle, int fd, uint32_t *events, const void *conte… in ProcessFdHoldEvent()
176 WatcherHandle watcher = NULL; in RegisterFdHoldWatcher()
/base/startup/init/services/init/
Dinit_service_socket.c162 static void ProcessWatchEvent_(const WatcherHandle watcherHandle, int fd, uint32_t *events, const v… in ProcessWatchEvent_()
188 WatcherHandle handle; in AddSocketWatcher()
202 LE_RemoveWatcher(LE_GetDefaultLoop(), (WatcherHandle)watcherHandle); in RemoveSocketWatcher()
Dinit_service_manager.c921 static void ProcessConsoleEvent(const WatcherHandle handler, int fd, uint32_t *events, const void *… in ProcessConsoleEvent()
924 LE_RemoveWatcher(LE_GetDefaultLoop(), (WatcherHandle)handler); in ProcessConsoleEvent()
949 WatcherHandle watcher = NULL; in AddFileDescriptorToWatcher()
/base/startup/init/test/unittest/loopevent/
Dloopserver_unittest.cpp212 static void ProcessWatchEventTest(WatcherHandle taskHandle, int fd, uint32_t *events, const void *c… in ProcessWatchEventTest()
298 WatcherHandle CreateWatcherTask(int fd, const char *fileName) in CreateWatcherTask()
304 WatcherHandle handle = nullptr; in CreateWatcherTask()
395 WatcherHandle watcher = test.CreateWatcherTask(3, WATCHER_FILE.c_str());
Dloopevent_unittest.cpp75 static void ProcessWatchEventTest(WatcherHandle taskHandle, int fd, uint32_t *events, const void *c… in ProcessWatchEventTest()
201 WatcherHandle handle = nullptr; in ProcessWatcherTask()
/base/startup/init/test/unittest/innerkits/
Dinnerkits_unittest.cpp42 void ProcessPtyRead(const WatcherHandle taskHandle, int fd, uint32_t *events, const void *context);
43 void ProcessPtyWrite(const WatcherHandle taskHandle, int fd, uint32_t *events, const void *context);
/base/startup/init/test/unittest/init/
Dgroup_unittest.cpp389 ((WatcherTask *)watcher)->processEvent((WatcherHandle)watcher, 0, &event, service);