Home
last modified time | relevance | path

Searched refs:g_ev_count (Results 1 – 1 of 1) sorted by relevance

/bootable/recovery/minui/
Devents.cpp60 static size_t g_ev_count = 0; variable
177 ev.data.ptr = &ev_fdinfo[g_ev_count]; in ev_init()
183 ev_fdinfo[g_ev_count].fd.reset(fd.release()); in ev_init()
184 ev_fdinfo[g_ev_count].cb = input_cb; in ev_init()
185 g_ev_count++; in ev_init()
190 if (epoll_ctl_failed && !g_ev_count) { in ev_init()
214 ev.data.ptr = static_cast<void*>(&ev_fdinfo[g_ev_count]); in ev_add_fd()
217 ev_fdinfo[g_ev_count].fd.reset(fd.release()); in ev_add_fd()
218 ev_fdinfo[g_ev_count].cb = std::move(cb); in ev_add_fd()
219 g_ev_count++; in ev_add_fd()
[all …]