Lines Matching refs:fdevent
38 void invoke_fde(struct fdevent* fde, unsigned events) { in invoke_fde()
48 std::string dump_fde(const fdevent* fde) { in dump_fde()
63 fdevent* fdevent_context::Create(unique_fd fd, std::variant<fd_func, fd_func2> func, void* arg) { in Create()
70 auto [it, inserted] = this->installed_fdevents_.emplace(fd_num, fdevent{}); in Create()
73 fdevent* fde = &it->second; in Create()
91 unique_fd fdevent_context::Destroy(fdevent* fde) { in Destroy()
110 void fdevent_context::Add(fdevent* fde, unsigned events) { in Add()
115 void fdevent_context::Del(fdevent* fde, unsigned events) { in Del()
120 void fdevent_context::SetTimeout(fdevent* fde, std::optional<std::chrono::milliseconds> timeout) { in SetTimeout()
220 fdevent* fdevent_create(int fd, fd_func func, void* arg) { in fdevent_create()
225 fdevent* fdevent_create(int fd, fd_func2 func, void* arg) { in fdevent_create()
230 unique_fd fdevent_release(fdevent* fde) { in fdevent_release()
234 void fdevent_destroy(fdevent* fde) { in fdevent_destroy()
238 void fdevent_set(fdevent* fde, unsigned events) { in fdevent_set()
242 void fdevent_add(fdevent* fde, unsigned events) { in fdevent_add()
246 void fdevent_del(fdevent* fde, unsigned events) { in fdevent_del()
250 void fdevent_set_timeout(fdevent* fde, std::optional<std::chrono::milliseconds> timeout) { in fdevent_set_timeout()