Home
last modified time | relevance | path

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

/external/chromium/third_party/libevent/
Dpoll.c116 assert(ev->ev_events & EV_READ); in poll_check_ok()
122 assert(ev->ev_events & EV_WRITE); in poll_check_ok()
193 if (r_ev && (res & r_ev->ev_events)) { in poll_dispatch()
194 event_active(r_ev, res & r_ev->ev_events, 1); in poll_dispatch()
196 if (w_ev && w_ev != r_ev && (res & w_ev->ev_events)) { in poll_dispatch()
197 event_active(w_ev, res & w_ev->ev_events, 1); in poll_dispatch()
211 if (ev->ev_events & EV_SIGNAL) in poll_add()
213 if (!(ev->ev_events & (EV_READ|EV_WRITE))) in poll_add()
292 if (ev->ev_events & EV_WRITE) { in poll_add()
296 if (ev->ev_events & EV_READ) { in poll_add()
[all …]
Dselect.c126 assert(sop->event_r_by_fd[i]->ev_events & EV_READ); in check_selectop()
133 assert(sop->event_w_by_fd[i]->ev_events & EV_WRITE); in check_selectop()
193 if (r_ev && (res & r_ev->ev_events)) { in select_dispatch()
194 event_active(r_ev, res & r_ev->ev_events, 1); in select_dispatch()
196 if (w_ev && w_ev != r_ev && (res & w_ev->ev_events)) { in select_dispatch()
197 event_active(w_ev, res & w_ev->ev_events, 1); in select_dispatch()
270 if (ev->ev_events & EV_SIGNAL) in select_add()
298 if (ev->ev_events & EV_READ) { in select_add()
302 if (ev->ev_events & EV_WRITE) { in select_add()
321 if (ev->ev_events & EV_SIGNAL) in select_del()
[all …]
Ddevpoll.c273 if (evread != NULL && !(evread->ev_events & EV_PERSIST)) in devpoll_dispatch()
276 !(evwrite->ev_events & EV_PERSIST)) in devpoll_dispatch()
296 if (ev->ev_events & EV_SIGNAL) in devpoll_add()
315 if (ev->ev_events & EV_READ) { in devpoll_add()
323 if (ev->ev_events & EV_WRITE) { in devpoll_add()
335 if (ev->ev_events & EV_READ) in devpoll_add()
337 if (ev->ev_events & EV_WRITE) in devpoll_add()
351 if (ev->ev_events & EV_SIGNAL) in devpoll_del()
360 if (ev->ev_events & EV_READ) in devpoll_del()
362 if (ev->ev_events & EV_WRITE) in devpoll_del()
Depoll.c271 if (ev->ev_events & EV_SIGNAL) in epoll_add()
292 if (ev->ev_events & EV_READ) in epoll_add()
294 if (ev->ev_events & EV_WRITE) in epoll_add()
303 if (ev->ev_events & EV_READ) in epoll_add()
305 if (ev->ev_events & EV_WRITE) in epoll_add()
320 if (ev->ev_events & EV_SIGNAL) in epoll_del()
331 if (ev->ev_events & EV_READ) in epoll_del()
333 if (ev->ev_events & EV_WRITE) in epoll_del()
Dkqueue.c290 if (!(ev->ev_events & EV_PERSIST)) in kq_dispatch()
307 if (ev->ev_events & EV_SIGNAL) { in kq_add()
337 if (ev->ev_events & EV_READ) { in kq_add()
346 if (!(ev->ev_events & EV_PERSIST)) in kq_add()
356 if (ev->ev_events & EV_WRITE) { in kq_add()
361 if (!(ev->ev_events & EV_PERSIST)) in kq_add()
383 if (ev->ev_events & EV_SIGNAL) { in kq_del()
410 if (ev->ev_events & EV_READ) { in kq_del()
422 if (ev->ev_events & EV_WRITE) { in kq_del()
Devport.c411 if (ev->ev_events & EV_SIGNAL) in evport_add()
429 if (ev->ev_events & EV_READ) in evport_add()
431 if (ev->ev_events & EV_WRITE) in evport_add()
454 if (ev->ev_events & EV_SIGNAL) { in evport_del()
470 if (ev->ev_events & EV_READ) in evport_del()
472 if (ev->ev_events & EV_WRITE) in evport_del()
Devent.c374 if (ev->ev_events & EV_PERSIST) in event_process_active()
624 ev->ev_events = events; in event_set()
679 flags |= (ev->ev_events & (EV_READ|EV_WRITE|EV_SIGNAL)); in event_pending()
710 ev->ev_events & EV_READ ? "EV_READ " : " ", in event_add()
711 ev->ev_events & EV_WRITE ? "EV_WRITE " : " ", in event_add()
727 if ((ev->ev_events & (EV_READ|EV_WRITE|EV_SIGNAL)) && in event_add()
Dsignal.c210 if (ev->ev_events & (EV_READ|EV_WRITE)) in evsignal_add()
328 if (!(ev->ev_events & EV_PERSIST)) in evsignal_process()
Devent.h222 short ev_events; member
/external/chromium/base/
Dmessage_pump_libevent.cc175 int old_interest_mask = evt.get()->ev_events & in WatchFileDescriptor()