Searched refs:g_ev_count (Results 1 – 1 of 1) sorted by relevance
62 static size_t g_ev_count = 0; variable179 ev.data.ptr = &ev_fdinfo[g_ev_count]; in ev_init()185 ev_fdinfo[g_ev_count].fd.reset(fd.release()); in ev_init()186 ev_fdinfo[g_ev_count].cb = input_cb; in ev_init()187 g_ev_count++; in ev_init()192 if (epoll_ctl_failed && !g_ev_count) { in ev_init()216 ev.data.ptr = static_cast<void*>(&ev_fdinfo[g_ev_count]); in ev_add_fd()219 ev_fdinfo[g_ev_count].fd.reset(fd.release()); in ev_add_fd()220 ev_fdinfo[g_ev_count].cb = std::move(cb); in ev_add_fd()221 g_ev_count++; in ev_add_fd()[all …]