Home
last modified time | relevance | path

Searched refs:EV_READ (Results 1 – 18 of 18) sorted by relevance

/external/chromium/third_party/libevent/
Devbuffer.c87 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()
Dpoll.c116 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()
Ddevpoll.c262 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()
Depoll.c240 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()
Devport.c366 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()
Dselect.c126 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()
Devent.c593 } 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()
Dkqueue.c271 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()
Dsignal.c130 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()
Devdns.c1239 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()
Devent.h196 #define EV_READ 0x02 macro
Dhttp.c897 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/
Dregress.c332 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 …]
Dtest-eof.c78 event_set(&ev, pair[1], EV_READ, read_cb, &ev); in main()
Dregress_http.c188 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()
Dbench.c91 event_set(&events[i], cp[0], EV_READ | EV_PERSIST, read_cb, (void *) i); in run_once()
/external/chromium/base/
Dmessage_pump_libevent.cc130 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/
Devent-test.c125 event_set(&evfifo, (int)socket, EV_READ, fifo_read, &evfifo); in main()
127 event_set(&evfifo, socket, EV_READ, fifo_read, &evfifo); in main()