/external/chromium/third_party/libevent/ |
D | evbuffer.c | 87 if (bufev->enabled & EV_READ) in bufferevent_read_pressure_cb() 253 event_set(&bufev->ev_read, fd, EV_READ, bufferevent_readcb, bufev); in bufferevent_new() 285 event_set(&bufev->ev_read, fd, EV_READ, bufferevent_readcb, bufev); in bufferevent_setfd() 374 if (event & EV_READ) { in bufferevent_enable() 390 if (event & EV_READ) { in bufferevent_disable() 413 if (event_pending(&bufev->ev_read, EV_READ, NULL)) in bufferevent_settimeout() 427 if (events & EV_READ) { in bufferevent_setwatermark()
|
D | poll.c | 116 assert(ev->ev_events & EV_READ); in poll_check_ok() 183 res |= EV_READ; in poll_dispatch() 213 if (!(ev->ev_events & (EV_READ|EV_WRITE))) in poll_add() 296 if (ev->ev_events & EV_READ) { in poll_add() 319 if (!(ev->ev_events & (EV_READ|EV_WRITE))) in poll_del() 329 if (ev->ev_events & EV_READ) { in poll_del()
|
D | devpoll.c | 262 which |= EV_READ; in devpoll_dispatch() 280 event_active(evread, EV_READ, 1); in devpoll_dispatch() 315 if (ev->ev_events & EV_READ) { in devpoll_add() 335 if (ev->ev_events & EV_READ) in devpoll_add() 360 if (ev->ev_events & EV_READ) in devpoll_del()
|
D | epoll.c | 240 event_active(evread, EV_READ, 1); in epoll_dispatch() 292 if (ev->ev_events & EV_READ) in epoll_add() 303 if (ev->ev_events & EV_READ) in epoll_add() 331 if (ev->ev_events & EV_READ) in epoll_del()
|
D | evport.c | 366 res |= EV_READ; in evport_dispatch() 379 if ((res & EV_READ) && ((ev = fdi->fdi_revt) != NULL)) { in evport_dispatch() 429 if (ev->ev_events & EV_READ) in evport_add() 470 if (ev->ev_events & EV_READ) in evport_del()
|
D | select.c | 126 assert(sop->event_r_by_fd[i]->ev_events & EV_READ); in check_selectop() 187 res |= EV_READ; in select_dispatch() 298 if (ev->ev_events & EV_READ) { in select_add() 329 if (ev->ev_events & EV_READ) { in select_del()
|
D | event.c | 593 } else if (events & (EV_READ|EV_WRITE)) { in event_base_once() 594 events &= EV_READ|EV_WRITE; in event_base_once() 679 flags |= (ev->ev_events & (EV_READ|EV_WRITE|EV_SIGNAL)); in event_pending() 685 event &= (EV_TIMEOUT|EV_READ|EV_WRITE|EV_SIGNAL); in event_pending() 710 ev->ev_events & EV_READ ? "EV_READ " : " ", in event_add() 727 if ((ev->ev_events & (EV_READ|EV_WRITE|EV_SIGNAL)) && in event_add()
|
D | kqueue.c | 271 which |= EV_READ; in kq_dispatch() 337 if (ev->ev_events & EV_READ) { in kq_add() 410 if (ev->ev_events & EV_READ) { in kq_del()
|
D | signal.c | 130 EV_READ | EV_PERSIST, evsignal_cb, &base->sig.ev_signal); in evsignal_init() 210 if (ev->ev_events & (EV_READ|EV_WRITE)) in evsignal_add()
|
D | evdns.c | 1239 event_set(&port->event, port->socket, EV_READ | EV_PERSIST, in server_port_flush() 1256 event_set(&ns->event, ns->socket, EV_READ | (waiting ? EV_WRITE : 0) | EV_PERSIST, in nameserver_write_waiting() 1278 if (events & EV_READ) { in nameserver_ready_callback() 1294 if (events & EV_READ) { in server_port_ready_callback() 1494 event_set(&port->event, port->socket, EV_READ | EV_PERSIST, in evdns_add_server_port() 1754 …event_set(&port->event, port->socket, (port->closing?0:EV_READ) | EV_WRITE | EV_PERSIST, server_po… in evdns_server_request_respond() 2140 event_set(&ns->event, ns->socket, EV_READ | EV_PERSIST, nameserver_ready_callback, ns); in _evdns_nameserver_add_impl()
|
D | event.h | 196 #define EV_READ 0x02 macro
|
D | http.c | 897 event_set(&evcon->ev, evcon->fd, EV_READ, evhttp_read, evcon); in evhttp_read_body() 1107 event_set(&evcon->close_ev, evcon->fd, EV_READ, in evhttp_connection_start_detectclose() 1849 event_set(&evcon->ev, evcon->fd, EV_READ, evhttp_read, evcon); in evhttp_start_read() 2289 event_set(ev, fd, EV_READ | EV_PERSIST, accept_socket, http); in evhttp_accept_socket()
|
/external/chromium/third_party/libevent/test/ |
D | regress.c | 332 EV_READ|EV_PERSIST, simple_read_cb, NULL); in test_registerfds() 376 event_set(&ev, pair[1], EV_READ, simple_read_cb, &ev); in test_simpleread() 418 event_set(&ev2, pair[1], EV_READ, multiple_read_cb, &ev2); in test_multiple() 447 event_set(&ev2, pair[1], EV_READ|EV_PERSIST, multiple_read_cb, &ev2); in test_persistent() 472 event_set(&r1.ev, pair[0], EV_READ, combined_read_cb, &r1); in test_combined() 474 event_set(&r2.ev, pair[1], EV_READ, combined_read_cb, &r2); in test_combined() 539 event_set(&ev, pair[1], EV_READ, simple_read_cb, &ev); in test_fork() 881 event_set(&ev1, pair[1], EV_READ, simple_read_cb, &ev1); in test_free_active_base() 901 event_set(&ev1, pair[1], EV_READ, simple_read_cb, &ev1); in test_event_base_new() 1085 bufferevent_disable(bev, EV_READ); in readcb() [all …]
|
D | test-eof.c | 78 event_set(&ev, pair[1], EV_READ, read_cb, &ev); in main()
|
D | regress_http.c | 188 bufferevent_disable(bev, EV_READ); in http_readcb() 201 bufferevent_enable(bev, EV_READ); in http_writecb() 800 bufferevent_disable(bev, EV_READ); in http_failure_readcb() 1231 bufferevent_enable(bev, EV_READ); in http_chunked_writecb()
|
D | bench.c | 91 event_set(&events[i], cp[0], EV_READ | EV_PERSIST, read_cb, (void *) i); in run_once()
|
/external/chromium/base/ |
D | message_pump_libevent.cc | 130 event_set(wakeup_event_, wakeup_pipe_out_, EV_READ | EV_PERSIST, in Init() 163 event_mask |= EV_READ; in WatchFileDescriptor() 176 (EV_READ | EV_WRITE | EV_PERSIST); in WatchFileDescriptor() 218 if (flags & EV_READ) { in OnLibeventNotification()
|
/external/chromium/third_party/libevent/sample/ |
D | event-test.c | 125 event_set(&evfifo, (int)socket, EV_READ, fifo_read, &evfifo); in main() 127 event_set(&evfifo, socket, EV_READ, fifo_read, &evfifo); in main()
|