Lines Matching refs:success
81 int success = epoll_ctl(epoll_fd_->fd_, EPOLL_CTL_ADD, fd->fd_, &event); in Add() local
82 if (success != 0 && errno == EEXIST) { in Add()
85 } else if (success != 0) { in Add()
102 int success = epoll_ctl(epoll_fd_->fd_, operation, fd->fd_, &event); in AddOrModify() local
103 if (success != 0) { in AddOrModify()
123 int success = epoll_ctl(epoll_fd_->fd_, EPOLL_CTL_MOD, fd->fd_, &event); in Modify() local
124 if (success != 0) { in Modify()
139 int success = epoll_ctl(epoll_fd_->fd_, EPOLL_CTL_DEL, fd->fd_, nullptr); in Delete() local
140 if (success != 0) { in Delete()
149 int success; in Wait() local
153 success = TEMP_FAILURE_RETRY(epoll_wait(epoll_fd_->fd_, &event, 1, -1)); in Wait()
155 if (success == -1) { in Wait()
157 } else if (success == 0) { in Wait()
159 } else if (success != 1) { in Wait()