Searched refs:WatcherHandle (Results 1 – 11 of 11) sorted by relevance
/base/startup/init/interfaces/innerkits/control_fd/ |
D | control_fd.h | 51 WatcherHandle input; // watch stdin 52 WatcherHandle reader; // watch read pty
|
D | control_fd_client.c | 27 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/ |
D | le_watchtask.c | 53 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/ |
D | loop_event.h | 63 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/ |
D | fd_holder_service.c | 163 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/ |
D | init_service_socket.c | 162 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()
|
D | init_service_manager.c | 921 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/ |
D | loopserver_unittest.cpp | 212 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());
|
D | loopevent_unittest.cpp | 75 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/ |
D | innerkits_unittest.cpp | 42 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/ |
D | group_unittest.cpp | 389 ((WatcherTask *)watcher)->processEvent((WatcherHandle)watcher, 0, &event, service);
|