/external/libevent/ |
poll.c | 61 struct pollfd *event_set; member in struct:pollop 107 EVUTIL_ASSERT(pop->event_set[idx].fd == i); 110 struct pollfd *pfd = &pop->event_set[i]; 124 struct pollfd *event_set; local 133 * then we need to work on a copy of event_set, so that we can 134 * let other threads modify the main event_set while we're 147 memcpy(pop->event_set_copy, pop->event_set, 149 event_set = pop->event_set_copy; 151 event_set = pop->event_set; [all...] |
event.c | 1798 event_set(struct event *ev, evutil_socket_t fd, short events, function [all...] |
/external/libevent/include/event2/ |
event_compat.h | 170 @deprecated event_set() is not recommended for new code, because it requires 174 void event_set(struct event *, evutil_socket_t, short, void (*)(evutil_socket_t, short, void *), void *); 176 #define evtimer_set(ev, cb, arg) event_set((ev), -1, 0, (cb), (arg)) 178 event_set((ev), (x), EV_SIGNAL|EV_PERSIST, (cb), (arg)) 189 #define timeout_set(ev, cb, arg) event_set((ev), -1, 0, (cb), (arg)) 204 event_set((ev), (x), EV_SIGNAL|EV_PERSIST, (cb), (arg))
|
/external/libchrome/base/message_loop/ |
message_pump_libevent.cc | 187 event_set(evt.get(), fd, event_mask, OnLibeventNotification, controller); 270 event_set(timer_event.get(), -1, 0, timer_callback, event_base_); 336 event_set(wakeup_event_, wakeup_pipe_out_, EV_READ | EV_PERSIST,
|