Home
last modified time | relevance | path

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

/bootable/recovery/minadbd/
Dfdevent.c95 static void fdevent_subproc_event_func(int fd, unsigned events, void *userdata);
131 ev.events = 0; in fdevent_connect()
147 ev.events = 0; in fdevent_disconnect()
158 static void fdevent_update(fdevent *fde, unsigned events) in fdevent_update() argument
166 ev.events = 0; in fdevent_update()
169 if(events & FDE_READ) ev.events |= EPOLLIN; in fdevent_update()
170 if(events & FDE_WRITE) ev.events |= EPOLLOUT; in fdevent_update()
171 if(events & FDE_ERROR) ev.events |= (EPOLLERR | EPOLLHUP); in fdevent_update()
173 fde->state = (fde->state & FDE_STATEMASK) | events; in fdevent_update()
180 if(ev.events) { in fdevent_update()
[all …]
Dfdevent.h33 typedef void (*fd_func)(int fd, unsigned events, void *userdata);
57 void fdevent_set(fdevent *fde, unsigned events);
58 void fdevent_add(fdevent *fde, unsigned events);
59 void fdevent_del(fdevent *fde, unsigned events);
76 unsigned short events; member
Dsysdeps.h183 typedef void (*fd_func)(int fd, unsigned events, void *userdata);
189 void fdevent_set(fdevent *fde, unsigned events);
190 void fdevent_add(fdevent *fde, unsigned events);
191 void fdevent_del(fdevent *fde, unsigned events);
202 unsigned short events; member
Dtransport.c198 static void transport_socket_events(int fd, unsigned events, void *_t) in transport_socket_events() argument
201 D("transport_socket_events(fd=%d, events=%04x,...)\n", fd, events); in transport_socket_events()
202 if(events & FDE_READ){ in transport_socket_events()
/bootable/recovery/minui/
DAndroid.mk4 LOCAL_SRC_FILES := graphics.c events.c resources.c
Devents.c78 ev_fds[ev_count].events = POLLIN; in ev_init()
96 ev_fds[ev_count].events = POLLIN; in ev_add_fd()
130 if (cb && (ev_fds[n].revents & ev_fds[n].events)) in ev_dispatch()