Lines Matching refs:fdevent
62 fdevent* fde;
65 explicit PollNode(fdevent* fde) : fde(fde) { in PollNode()
80 static auto& g_pending_list = *new std::list<fdevent*>();
103 static std::string dump_fde(const fdevent* fde) { in dump_fde()
128 static fdevent* fdevent_create_impl(int fd, F func, void* arg) { in fdevent_create_impl()
132 fdevent* fde = new fdevent(); in fdevent_create_impl()
151 fdevent* fdevent_create(int fd, fd_func func, void* arg) { in fdevent_create()
155 fdevent* fdevent_create(int fd, fd_func2 func, void* arg) { in fdevent_create()
159 unique_fd fdevent_release(fdevent* fde) { in fdevent_release()
184 void fdevent_destroy(fdevent* fde) { in fdevent_destroy()
189 static void fdevent_update(fdevent* fde, unsigned events) { in fdevent_update()
207 void fdevent_set(fdevent* fde, unsigned events) { in fdevent_set()
227 void fdevent_add(fdevent* fde, unsigned events) { in fdevent_add()
233 void fdevent_del(fdevent* fde, unsigned events) { in fdevent_del()
239 void fdevent_set_timeout(fdevent* fde, std::optional<std::chrono::milliseconds> timeout) { in fdevent_set_timeout()
333 fdevent* fde = it->second.fde; in fdevent_process()
359 static void fdevent_call_fdfunc(fdevent* fde) { in fdevent_call_fdfunc()
425 fdevent* fde = fdevent_create(s[1], fdevent_run_func, nullptr); in fdevent_run_setup()
455 fdevent* fde; in fdevent_check_spin()
523 fdevent* fde = g_pending_list.front(); in fdevent_loop()