Searched defs:events (Results 1 - 10 of 10) sorted by relevance

/system/core/adb/
H A Dfdevent.h22 /* events that may be observed */
28 /* features that may be set (via the events set/add/del interface) */
33 typedef void (*fd_func)(int fd, unsigned events, void *userdata);
55 /* Change which events should cause notifications
57 void fdevent_set(fdevent *fde, unsigned events);
58 void fdevent_add(fdevent *fde, unsigned events);
59 void fdevent_del(fdevent *fde, unsigned events);
63 /* loop forever, handling events.
76 unsigned short events; member in struct:fdevent
H A Dadb_auth_client.c155 static void adb_auth_event(int fd, unsigned events, void *data) argument
161 if (events & FDE_READ) {
207 static void adb_auth_listener(int fd, unsigned events, void *data) argument
H A Dfdevent.c95 static void fdevent_subproc_event_func(int fd, unsigned events, void *userdata);
131 ev.events = 0;
147 ev.events = 0;
151 ** were actively monitoring events, but let's
158 static void fdevent_update(fdevent *fde, unsigned events) argument
166 ev.events = 0;
169 if(events & FDE_READ) ev.events |= EPOLLIN;
170 if(events & FDE_WRITE) ev.events |
206 struct epoll_event events[256]; local
281 fdevent_update(fdevent *fde, unsigned events) argument
369 unsigned events; local
509 unsigned events = fde->events; local
628 fdevent_set(fdevent *fde, unsigned events) argument
654 fdevent_add(fdevent *fde, unsigned events) argument
660 fdevent_del(fdevent *fde, unsigned events) argument
[all...]
H A Djdwp_service.c235 jdwp_process_event( int socket, unsigned events, void* _proc ) argument
239 if (events & FDE_READ) {
313 if (events & FDE_WRITE) {
444 jdwp_control_event(int s, unsigned events, void* user);
510 jdwp_control_event( int s, unsigned events, void* _control ) argument
514 if (events & FDE_READ) {
H A Dsysdeps.h184 typedef void (*fd_func)(int fd, unsigned events, void *userdata);
190 void fdevent_set(fdevent *fde, unsigned events);
191 void fdevent_add(fdevent *fde, unsigned events);
192 void fdevent_del(fdevent *fde, unsigned events);
203 unsigned short events; member in struct:fdevent
H A Dtransport.c198 static void transport_socket_events(int fd, unsigned events, void *_t) argument
201 D("transport_socket_events(fd=%d, events=%04x,...)\n", fd, events);
202 if(events & FDE_READ){
H A Dsysdeps_win32.c86 void (*_fh_hook) ( FH f, int events, EventHook hook );
1347 fde->events |= hook->wanted;
1377 event_looper_hook( EventLooper looper, int fd, int events )
1396 if ( (node->wanted & events) != events ) {
1399 fd, node->wanted, events);
1400 f->clazz->_fh_hook( f, events & ~node->wanted, node );
1401 node->wanted |= events;
1403 D("event_looper_hook: ignoring events %x for %d wanted=%x)\n",
1404 events, f
1614 int events = fde->state & FDE_EVENTMASK; local
1623 int events = fde->state & FDE_EVENTMASK; local
1629 fdevent_update(fdevent *fde, unsigned events) argument
1878 fdevent_set(fdevent *fde, unsigned events) argument
1904 fdevent_add(fdevent *fde, unsigned events) argument
1910 fdevent_del(fdevent *fde, unsigned events) argument
1927 unsigned events = fde->events; local
1952 _fh_file_hook( FH f, int events, EventHook hook ) argument
2071 _fh_socket_hook( FH f, int events, EventHook hook ) argument
2127 _fh_socketpair_hook( FH fh, int events, EventHook hook ) argument
[all...]
/system/bluetooth/tools/
H A Dpipetest.c27 static void print_events(int events) { argument
28 if (events & POLLIN) printf("POLLIN ");
29 if (events & POLLPRI) printf("POLLPRI ");
30 if (events & POLLOUT) printf("POLLOUT ");
31 if (events & POLLERR) printf("POLLERR ");
32 if (events & POLLHUP) printf("POLLHUP ");
33 if (events & POLLNVAL) printf("POLLNVAL ");
110 pfd.events = 0;
120 pfd.events = POLLIN;
131 pfd.events
[all...]
H A Dasocket_test.c69 static void print_events(int events) { argument
70 if (events & POLLIN) printf("POLLIN ");
71 if (events & POLLPRI) printf("POLLPRI ");
72 if (events & POLLOUT) printf("POLLOUT ");
73 if (events & POLLERR) printf("POLLERR ");
74 if (events & POLLHUP) printf("POLLHUP ");
75 if (events & POLLNVAL) printf("POLLNVAL ");
329 pfd.events = 0;
346 pfd.events = POLLIN;
H A Dsocktest.c68 static void print_events(int events) { argument
69 if (events & POLLIN) printf("POLLIN ");
70 if (events & POLLPRI) printf("POLLPRI ");
71 if (events & POLLOUT) printf("POLLOUT ");
72 if (events & POLLERR) printf("POLLERR ");
73 if (events & POLLHUP) printf("POLLHUP ");
74 if (events & POLLNVAL) printf("POLLNVAL ");
343 pfd.events = 0;
360 pfd.events = POLLIN;

Completed in 59 milliseconds