Home
last modified time | relevance | path

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

/bootable/recovery/minui/
Devents.cpp55 static size_t g_ev_count = 0; variable
101 ev.data.ptr = &ev_fdinfo[g_ev_count]; in ev_init()
107 ev_fdinfo[g_ev_count].fd.reset(fd.release()); in ev_init()
108 ev_fdinfo[g_ev_count].cb = input_cb; in ev_init()
109 g_ev_count++; in ev_init()
114 if (epoll_ctl_failed && !g_ev_count) { in ev_init()
133 ev.data.ptr = static_cast<void*>(&ev_fdinfo[g_ev_count]); in ev_add_fd()
136 ev_fdinfo[g_ev_count].fd.reset(fd.release()); in ev_add_fd()
137 ev_fdinfo[g_ev_count].cb = std::move(cb); in ev_add_fd()
138 g_ev_count++; in ev_add_fd()
[all …]