Lines Matching refs:eventItem
144 struct epoll_event eventItem; in rebuildEpollLocked() local
145 memset(& eventItem, 0, sizeof(epoll_event)); // zero out unused members of data field union in rebuildEpollLocked()
146 eventItem.events = EPOLLIN; in rebuildEpollLocked()
147 eventItem.data.fd = mWakeEventFd.get(); in rebuildEpollLocked()
148 int result = epoll_ctl(mEpollFd.get(), EPOLL_CTL_ADD, mWakeEventFd.get(), &eventItem); in rebuildEpollLocked()
154 struct epoll_event eventItem; in rebuildEpollLocked() local
155 request.initEventItem(&eventItem); in rebuildEpollLocked()
157 int epollResult = epoll_ctl(mEpollFd.get(), EPOLL_CTL_ADD, request.fd, &eventItem); in rebuildEpollLocked()
462 struct epoll_event eventItem; in addFd() local
463 request.initEventItem(&eventItem); in addFd()
467 int epollResult = epoll_ctl(mEpollFd.get(), EPOLL_CTL_ADD, fd, &eventItem); in addFd()
474 int epollResult = epoll_ctl(mEpollFd.get(), EPOLL_CTL_MOD, fd, &eventItem); in addFd()
495 epollResult = epoll_ctl(mEpollFd.get(), EPOLL_CTL_ADD, fd, &eventItem); in addFd()
659 void Looper::Request::initEventItem(struct epoll_event* eventItem) const { in initEventItem()
664 memset(eventItem, 0, sizeof(epoll_event)); // zero out unused members of data field union in initEventItem()
665 eventItem->events = epollEvents; in initEventItem()
666 eventItem->data.fd = fd; in initEventItem()