Home
last modified time | relevance | path

Searched refs:evs (Results 1 - 2 of 2) sorted by relevance

/foundation/multimodalinput/input/intention/common/epoll/src/
H A Depoll_manager.cpp127 struct epoll_event evs[MAX_N_EVENTS]; in DispatchOne() local
128 int32_t cnt = WaitTimeout(evs, MAX_N_EVENTS, 0); in DispatchOne()
131 IEpollEventSource *source = reinterpret_cast<IEpollEventSource *>(evs[index].data.ptr); in DispatchOne()
133 if ((evs[index].events & EPOLLIN) == EPOLLIN) { in DispatchOne()
134 source->Dispatch(evs[index]); in DispatchOne()
135 } else if ((evs[index].events & (EPOLLHUP | EPOLLERR)) != 0) { in DispatchOne()
/foundation/multimodalinput/input/intention/ipc/socket/src/
H A Dsocket_session_manager.cpp138 struct epoll_event evs[MAX_EPOLL_EVENTS]; in DispatchOne() local
139 int32_t cnt = epollMgr_.WaitTimeout(evs, MAX_EPOLL_EVENTS, 0); in DispatchOne()
142 IEpollEventSource *source = reinterpret_cast<IEpollEventSource *>(evs[index].data.ptr); in DispatchOne()
144 if ((evs[index].events & EPOLLIN) == EPOLLIN) { in DispatchOne()
145 source->Dispatch(evs[index]); in DispatchOne()
146 } else if ((evs[index].events & (EPOLLHUP | EPOLLERR)) != 0) { in DispatchOne()

Completed in 2 milliseconds