Lines Matching refs:eventItem
142 struct epoll_event eventItem; in rebuildEpollLocked() local
143 memset(& eventItem, 0, sizeof(epoll_event)); // zero out unused members of data field union in rebuildEpollLocked()
144 eventItem.events = EPOLLIN; in rebuildEpollLocked()
145 eventItem.data.fd = mWakeEventFd.get(); in rebuildEpollLocked()
146 int result = epoll_ctl(mEpollFd.get(), EPOLL_CTL_ADD, mWakeEventFd.get(), &eventItem); in rebuildEpollLocked()
152 struct epoll_event eventItem; in rebuildEpollLocked() local
153 request.initEventItem(&eventItem); in rebuildEpollLocked()
155 int epollResult = epoll_ctl(mEpollFd.get(), EPOLL_CTL_ADD, request.fd, &eventItem); in rebuildEpollLocked()
460 struct epoll_event eventItem; in addFd() local
461 request.initEventItem(&eventItem); in addFd()
465 int epollResult = epoll_ctl(mEpollFd.get(), EPOLL_CTL_ADD, fd, &eventItem); in addFd()
472 int epollResult = epoll_ctl(mEpollFd.get(), EPOLL_CTL_MOD, fd, &eventItem); in addFd()
493 epollResult = epoll_ctl(mEpollFd.get(), EPOLL_CTL_ADD, fd, &eventItem); in addFd()
657 void Looper::Request::initEventItem(struct epoll_event* eventItem) const { in initEventItem()
662 memset(eventItem, 0, sizeof(epoll_event)); // zero out unused members of data field union in initEventItem()
663 eventItem->events = epollEvents; in initEventItem()
664 eventItem->data.fd = fd; in initEventItem()