Searched defs:ev (Results 1 - 5 of 5) sorted by relevance

/system/core/adb/
H A Dfdevent.c128 struct epoll_event ev; local
130 memset(&ev, 0, sizeof(ev));
131 ev.events = 0;
132 ev.data.ptr = fde;
135 if(epoll_ctl(epoll_fd, EPOLL_CTL_ADD, fde->fd, &ev)) {
144 struct epoll_event ev; local
146 memset(&ev, 0, sizeof(ev));
147 ev
160 struct epoll_event ev; local
219 struct epoll_event *ev = events + i; local
517 fdevent_subproc_event_func(int fd, unsigned ev, void *userdata) argument
[all...]
H A Dsockets.c263 static void local_socket_event_func(int fd, unsigned ev, void *_s) argument
267 D("LS(%d): event_func(fd=%d(==%d), ev=%04x)\n", s->id, s->fd, fd, ev);
272 if(ev & FDE_WRITE){
320 if(ev & FDE_READ){
381 if(ev & FDE_ERROR){
H A Dadb.c617 static void ss_listener_event_func(int _fd, unsigned ev, void *_l) argument
621 if(ev & FDE_READ) {
642 static void listener_event_func(int _fd, unsigned ev, void *_l) argument
647 if(ev & FDE_READ) {
H A Dtransport.c566 static void transport_registration_func(int _fd, unsigned ev, void *data) argument
574 if(!(ev & FDE_READ)) {
/system/core/charger/
H A Dcharger.c791 struct input_event *ev)
793 if (ev->type != EV_KEY)
795 set_key_callback(ev->code, ev->value, charger);
870 struct input_event ev; local
897 struct input_event ev; local
900 ret = ev_get_input(fd, revents, &ev);
903 update_input_state(charger, &ev);
790 update_input_state(struct charger *charger, struct input_event *ev) argument

Completed in 87 milliseconds