Home
last modified time | relevance | path

Searched refs:event_assign (Results 1 – 17 of 17) sorted by relevance

/external/libevent/
Dbufferevent_sock.c365 event_assign(&bufev->ev_read, bufev->ev_base, fd, in bufferevent_socket_new()
367 event_assign(&bufev->ev_write, bufev->ev_base, fd, in bufferevent_socket_new()
426 event_assign(&bev->ev_write, bev->ev_base, fd, in bufferevent_socket_connect()
643 event_assign(&bufev->ev_read, bufev->ev_base, fd, in be_socket_setfd()
645 event_assign(&bufev->ev_write, bufev->ev_base, fd, in be_socket_setfd()
Dbufferevent_openssl.c998 event_assign(&bev->ev_read, bev->ev_base, fd, in set_open_callbacks()
1001 event_assign(&bev->ev_write, bev->ev_base, fd, in set_open_callbacks()
1103 event_assign(&bev->ev_read, bev->ev_base, fd, in set_handshake_callbacks()
1106 event_assign(&bev->ev_write, bev->ev_base, fd, in set_handshake_callbacks()
Dbufferevent_ratelim.c612 event_assign(&rlim->refill_bucket_event, bev->ev_base, in bufferevent_set_rate_limit()
657 event_assign(&g->master_refill_event, base, -1, EV_PERSIST|EV_FINALIZE, in bufferevent_rate_limit_group_new()
751 event_assign(&rlim->refill_bucket_event, bev->ev_base, in bufferevent_add_to_rate_limit_group()
Dsignal.c198 event_assign(&base->sig.ev_signal, base, base->sig.ev_signal_pair[0], in evsig_init_()
Dbufferevent.c941 event_assign(&bev->ev_read, bev->ev_base, -1, EV_FINALIZE, in bufferevent_init_generic_timeout_cbs_()
943 event_assign(&bev->ev_write, bev->ev_base, -1, EV_FINALIZE, in bufferevent_init_generic_timeout_cbs_()
Devent.c2038 event_assign(&eonce->ev, base, fd, events, event_once_cb, eonce); in event_base_once()
2065 event_assign(struct event *ev, struct event_base *base, evutil_socket_t fd, short events, void (*ca… in event_assign() function
2133 r = event_assign(ev, current_base, fd, events, callback, arg); in event_set()
2164 if (event_assign(ev, base, fd, events, cb, arg) < 0) { in event_new()
3618 event_assign(&base->th_notify, base, base->th_notify_fd[0], in evthread_make_base_notifiable_nolock_()
Devdns.c1458 event_assign(&port->event, port->event_base, in server_port_flush()
1478 event_assign(&ns->event, ns->base->event_base, in nameserver_write_waiting()
1727 event_assign(&port->event, port->event_base, in evdns_add_server_port_with_base()
2019event_assign(&port->event, port->event_base, port->socket, (port->closing?0:EV_READ) | EV_WRITE | … in evdns_server_request_respond()
2531 event_assign(&ns->event, ns->base->event_base, ns->socket, in evdns_nameserver_add_impl_()
Dlistener.c200 event_assign(&lev->listener, base, fd, EV_READ|EV_PERSIST, in evconnlistener_new()
Dwhatsnew-2.0.txt93 functions like "event_assign" that take an explicit event_base
280 you set during event_new() or event_assign().
Dwhatsnew-2.1.txt110 event_assign(&ev, base, fd, EV_READ, callback, &ev);
221 event_new() and event_assign() along with EV_READ, EV_WRITE, and the
DChangeLog-2.01058 …o Add a return value to event_assign so that it can fail rather than asserting when the user gives…
1202 …o New functions (event_assign, event_new, event_free) for use by apps that want to be safely threa…
1214 … to manipulate timer and signal events, analagous to the now-recommended event_assign and event_new
1215 o switch internal uses of event_set over to use event_assign.
/external/libevent/include/event2/
Devent.h969 event_assign((ev), (b), -1, 0, (cb), (arg))
985 event_assign((ev), (b), (x), EV_SIGNAL|EV_PERSIST, cb, (arg))
1122 int event_assign(struct event *, struct event_base *, evutil_socket_t, short, event_callback_fn, vo…
/external/libevent/test/
Dregress.c611 event_assign(&ev, global_base, -1, EV_TIMEOUT|EV_PERSIST, in test_persistent_timeout()
630 event_assign(&ev, data->base, -1, EV_PERSIST, periodic_timeout_cb, &count); in test_persistent_timeout_jump()
680 event_assign(&ev, base, -1, EV_TIMEOUT|EV_PERSIST, in test_persistent_active_timeout()
764 event_assign(&info[i].ev, base, -1, EV_TIMEOUT|EV_PERSIST, in test_common_timeout()
1355 event_assign(&ev1, base1, data->pair[1], EV_READ, in test_free_active_base()
1365 event_assign(&ev1, base1, 0, 0, dummy_read_cb, NULL); in test_free_active_base()
1379 event_assign(&ev1, base, -1, EV_TIMEOUT, dummy_read_cb, NULL); in test_manipulate_active_events()
1426 event_assign(&ev, base, -1, EV_READ, event_selfarg_cb, in test_event_assign_selfarg()
1448 event_assign(&ev, base, -1, EV_READ, event_selfarg_cb, in test_event_base_get_num_events()
1573 event_assign(&ev, base, -1, EV_READ, event_selfarg_cb, in test_event_base_get_max_events()
[all …]
Dregress_thread.c207 event_assign(notification_event, base, in thread_basic()
539 event_assign(&time_events[i], data->base, in thread_no_events()
Dregress_dns.c1791 event_assign(&status->cancel_event, base, -1, 0, gaic_cancel_request_cb, in gaic_launch()
/external/libevent/sample/
Dtime-test.c95 event_assign(&timeout, base, -1, flags, timeout_cb, (void*) &timeout); in main()
/external/curl/docs/examples/
Dhiperfifo.c259 event_assign(&f->ev, g->evbase, f->sockfd, kind, event_cb, g); in setsock()
416 event_assign(&g->fifo_event, g->evbase, sockfd, EV_READ|EV_PERSIST, in init_fifo()