Searched refs:watcherHandle (Results 1 – 4 of 4) sorted by relevance
/base/startup/init/services/loopevent/task/ |
D | le_watchtask.c | 52 WatcherHandle *watcherHandle, const LE_WatchInfo *info, const void *context) in LE_StartWatcher() argument 54 …LE_CHECK(loopHandle != NULL && watcherHandle != NULL, return LE_INVALID_PARAM, "Invalid parameters… in LE_StartWatcher() 68 *watcherHandle = (WatcherHandle)task; in LE_StartWatcher() 72 void LE_RemoveWatcher(const LoopHandle loopHandle, const WatcherHandle watcherHandle) in LE_RemoveWatcher() argument 74 LE_CHECK(loopHandle != NULL && watcherHandle != NULL, return, "Invalid parameters"); in LE_RemoveWatcher() 75 LE_CloseTask(loopHandle, watcherHandle); in LE_RemoveWatcher()
|
/base/startup/init/services/init/include/ |
D | init_service_socket.h | 76 int SocketAddWatcher(ServiceWatcher *watcherHandle, struct Service_ *service, int fd); 77 void SocketDelWatcher(ServiceWatcher watcherHandle);
|
/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_() argument 180 SocketDelWatcher(watcherHandle); in ProcessWatchEvent_() 186 int SocketAddWatcher(ServiceWatcher *watcherHandle, Service *service, int fd) in SocketAddWatcher() argument 196 *watcherHandle = (ServiceWatcher)handle; in SocketAddWatcher() 200 void SocketDelWatcher(ServiceWatcher watcherHandle) in SocketDelWatcher() argument 202 LE_RemoveWatcher(LE_GetDefaultLoop(), (WatcherHandle)watcherHandle); in SocketDelWatcher()
|
/base/startup/init/services/loopevent/include/ |
D | loop_event.h | 183 WatcherHandle *watcherHandle, const LE_WatchInfo *info, const void *context); 184 void LE_RemoveWatcher(const LoopHandle loopHandle, const WatcherHandle watcherHandle);
|