Home
last modified time | relevance | path

Searched refs:EV_WRITE (Results 1 – 15 of 15) sorted by relevance

/external/chromium/third_party/libevent/
Devbuffer.c254 event_set(&bufev->ev_write, fd, EV_WRITE, bufferevent_writecb, bufev); in bufferevent_new()
263 bufev->enabled = EV_WRITE; in bufferevent_new()
286 event_set(&bufev->ev_write, fd, EV_WRITE, bufferevent_writecb, bufev); in bufferevent_setfd()
336 if (size > 0 && (bufev->enabled & EV_WRITE)) in bufferevent_write()
378 if (event & EV_WRITE) { in bufferevent_enable()
394 if (event & EV_WRITE) { in bufferevent_disable()
415 if (event_pending(&bufev->ev_write, EV_WRITE, NULL)) in bufferevent_settimeout()
432 if (events & EV_WRITE) { in bufferevent_setwatermark()
Dpoll.c122 assert(ev->ev_events & EV_WRITE); in poll_check_ok()
187 res |= EV_WRITE; in poll_dispatch()
213 if (!(ev->ev_events & (EV_READ|EV_WRITE))) in poll_add()
292 if (ev->ev_events & EV_WRITE) { in poll_add()
319 if (!(ev->ev_events & (EV_READ|EV_WRITE))) in poll_del()
333 if (ev->ev_events & EV_WRITE) { in poll_del()
Ddevpoll.c267 which |= EV_WRITE; in devpoll_dispatch()
282 event_active(evwrite, EV_WRITE, 1); in devpoll_dispatch()
323 if (ev->ev_events & EV_WRITE) { in devpoll_add()
337 if (ev->ev_events & EV_WRITE) in devpoll_add()
362 if (ev->ev_events & EV_WRITE) in devpoll_del()
Depoll.c242 event_active(evwrite, EV_WRITE, 1); in epoll_dispatch()
294 if (ev->ev_events & EV_WRITE) in epoll_add()
305 if (ev->ev_events & EV_WRITE) in epoll_add()
333 if (ev->ev_events & EV_WRITE) in epoll_del()
Devport.c368 res |= EV_WRITE; in evport_dispatch()
383 if ((res & EV_WRITE) && ((ev = fdi->fdi_wevt) != NULL)) { in evport_dispatch()
431 if (ev->ev_events & EV_WRITE) in evport_add()
472 if (ev->ev_events & EV_WRITE) in evport_del()
Dselect.c133 assert(sop->event_w_by_fd[i]->ev_events & EV_WRITE); in check_selectop()
191 res |= EV_WRITE; in select_dispatch()
302 if (ev->ev_events & EV_WRITE) { in select_add()
334 if (ev->ev_events & EV_WRITE) { 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()
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()
Dkqueue.c273 which |= EV_WRITE; in kq_dispatch()
356 if (ev->ev_events & EV_WRITE) { in kq_add()
422 if (ev->ev_events & EV_WRITE) { in kq_del()
Dsignal.c210 if (ev->ev_events & (EV_READ|EV_WRITE)) in evsignal_add()
Devent.h197 #define EV_WRITE 0x04 macro
Dhttp.c348 if (event_pending(&evcon->ev, EV_WRITE|EV_TIMEOUT, NULL)) in evhttp_write_buffer()
351 event_set(&evcon->ev, evcon->fd, EV_WRITE, evhttp_write, evcon); in evhttp_write_buffer()
1783 event_set(&evcon->ev, evcon->fd, EV_WRITE, evhttp_connectioncb, evcon); in evhttp_connection_connect()
1980 } else if (!event_pending(&evcon->ev, EV_WRITE|EV_TIMEOUT, NULL)) { in evhttp_send_reply_end()
Devdns.c1256 event_set(&ns->event, ns->socket, EV_READ | (waiting ? EV_WRITE : 0) | EV_PERSIST, in nameserver_write_waiting()
1272 if (events & EV_WRITE) { in nameserver_ready_callback()
1290 if (events & EV_WRITE) { in server_port_ready_callback()
1754 …event_set(&port->event, port->socket, (port->closing?0:EV_READ) | EV_WRITE | EV_PERSIST, server_po… in evdns_server_request_respond()
/external/chromium/base/
Dmessage_pump_libevent.cc148 event_mask |= EV_WRITE; in WatchFileDescriptor()
158 (EV_READ | EV_WRITE | EV_PERSIST); in WatchFileDescriptor()
332 if (flags & EV_WRITE) { in OnLibeventNotification()
/external/chromium/third_party/libevent/test/
Dtest-weof.c76 event_set(&ev, pair[1], EV_WRITE, write_cb, &ev); in main()
Dregress.c336 EV_WRITE|EV_PERSIST, simple_write_cb, NULL); in test_registerfds()
392 event_set(&ev, pair[0], EV_WRITE, simple_write_cb, &ev); in test_simplewrite()
415 event_set(&ev, pair[0], EV_WRITE, multiple_write_cb, &ev); in test_multiple()
444 event_set(&ev, pair[0], EV_WRITE|EV_PERSIST, multiple_write_cb, &ev); in test_persistent()
473 event_set(&w1.ev, pair[0], EV_WRITE, combined_write_cb, &w1); in test_combined()
475 event_set(&w2.ev, pair[1], EV_WRITE, combined_write_cb, &w2); in test_combined()
1283 else if (event & EV_WRITE) in test_multiple_cb()
1296 event_set(&e2, pair[0], EV_WRITE, test_multiple_cb, NULL); in test_multiple_events_for_same_fd()