Home
last modified time | relevance | path

Searched refs:WatcherHandle (Results 1 – 10 of 10) 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.c26 CONTROL_FD_STATIC void ProcessPtyWrite(const WatcherHandle taskHandle, int fd, uint32_t *events, co… in ProcessPtyWrite()
46 CONTROL_FD_STATIC void ProcessPtyRead(const WatcherHandle taskHandle, int fd, uint32_t *events, con… in ProcessPtyRead()
/base/startup/init/services/loopevent/task/
Dle_watchtask.c52 WatcherHandle *watcherHandle, const LE_WatchInfo *info, const void *context) in LE_StartWatcher()
68 *watcherHandle = (WatcherHandle)task; in LE_StartWatcher()
72 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/
Dinit_service_socket.c162 static void ProcessWatchEvent_(const WatcherHandle watcherHandle, int fd, uint32_t *events, const v… in ProcessWatchEvent_()
188 WatcherHandle handle; in SocketAddWatcher()
202 LE_RemoveWatcher(LE_GetDefaultLoop(), (WatcherHandle)watcherHandle); in SocketDelWatcher()
Dinit_service_manager.c901 static void ProcessConsoleEvent(const WatcherHandle handler, int fd, uint32_t *events, const void *… in ProcessConsoleEvent()
904 LE_RemoveWatcher(LE_GetDefaultLoop(), (WatcherHandle)handler); in ProcessConsoleEvent()
942 WatcherHandle watcher = NULL; in AddFileDescriptorToWatcher()
/base/startup/init/services/init/standard/
Dfd_holder_service.c229 static void ProcessFdHoldEvent(const WatcherHandle taskHandle, int fd, uint32_t *events, const void… in ProcessFdHoldEvent()
242 WatcherHandle watcher = NULL; in RegisterFdHoldWatcher()
/base/startup/init/test/unittest/init/
Dloopevent_unittest.cpp78 static void ProcessWatchEventTest(WatcherHandle taskHandle, int fd, uint32_t *events, const void *c… in ProcessWatchEventTest()
220 WatcherHandle handle = nullptr; in ProcessWatcherTask()
Dgroup_unittest.cpp371 ((WatcherTask *)watcher)->processEvent((WatcherHandle)watcher, 0, &event, service);
/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);