/external/chromium/third_party/libevent/ |
D | evbuffer.c | 254 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()
|
D | poll.c | 122 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()
|
D | devpoll.c | 267 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()
|
D | epoll.c | 242 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()
|
D | evport.c | 368 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()
|
D | select.c | 133 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()
|
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() 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()
|
D | kqueue.c | 273 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()
|
D | signal.c | 210 if (ev->ev_events & (EV_READ|EV_WRITE)) in evsignal_add()
|
D | event.h | 197 #define EV_WRITE 0x04 macro
|
D | http.c | 348 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()
|
D | evdns.c | 1256 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/ |
D | message_pump_libevent.cc | 148 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/ |
D | test-weof.c | 76 event_set(&ev, pair[1], EV_WRITE, write_cb, &ev); in main()
|
D | regress.c | 336 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()
|