Home
last modified time | relevance | path

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

/external/libevent/
Dbufferevent_sock.c366 event_assign(&bufev->ev_read, bufev->ev_base, fd, in bufferevent_socket_new()
368 event_assign(&bufev->ev_write, bufev->ev_base, fd, in bufferevent_socket_new()
423 event_assign(&bev->ev_write, bev->ev_base, fd, in bufferevent_socket_connect()
632 event_assign(&bufev->ev_read, bufev->ev_base, fd, in be_socket_setfd()
634 event_assign(&bufev->ev_write, bufev->ev_base, fd, in be_socket_setfd()
Dbufferevent_openssl.c1002 event_assign(&bev->ev_read, bev->ev_base, fd, in set_open_callbacks()
1005 event_assign(&bev->ev_write, bev->ev_base, fd, in set_open_callbacks()
1107 event_assign(&bev->ev_read, bev->ev_base, fd, in set_handshake_callbacks()
1110 event_assign(&bev->ev_write, bev->ev_base, fd, in set_handshake_callbacks()
Dbufferevent_ratelim.c611 event_assign(&rlim->refill_bucket_event, bev->ev_base, in bufferevent_set_rate_limit()
656 event_assign(&g->master_refill_event, base, -1, EV_PERSIST|EV_FINALIZE, in bufferevent_rate_limit_group_new()
749 event_assign(&rlim->refill_bucket_event, bev->ev_base, in bufferevent_add_to_rate_limit_group()
Dsignal.c200 event_assign(&base->sig.ev_signal, base, base->sig.ev_signal_pair[0], in evsig_init_()
Dbufferevent.c963 event_assign(&bev->ev_read, bev->ev_base, -1, EV_FINALIZE, in bufferevent_init_generic_timeout_cbs_()
965 event_assign(&bev->ev_write, bev->ev_base, -1, EV_FINALIZE, in bufferevent_init_generic_timeout_cbs_()
Devent.c2086 event_assign(&eonce->ev, base, fd, events, event_once_cb, eonce); in event_base_once()
2113 event_assign(struct event *ev, struct event_base *base, evutil_socket_t fd, short events, void (*ca… in event_assign() function
2183 r = event_assign(ev, current_base, fd, events, callback, arg); in event_set()
2214 if (event_assign(ev, base, fd, events, cb, arg) < 0) { in event_new()
3669 event_assign(&base->th_notify, base, base->th_notify_fd[0], in evthread_make_base_notifiable_nolock_()
Devdns.c1473 event_assign(&port->event, port->event_base, in server_port_flush()
1493 event_assign(&ns->event, ns->base->event_base, in nameserver_write_waiting()
1742 event_assign(&port->event, port->event_base, in evdns_add_server_port_with_base()
2035event_assign(&port->event, port->event_base, port->socket, (port->closing?0:EV_READ) | EV_WRITE | … in evdns_server_request_respond()
2565 event_assign(&ns->event, ns->base->event_base, ns->socket, in evdns_nameserver_add_impl_()
Dlistener.c201 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.h965 event_assign((ev), (b), -1, 0, (cb), (arg))
981 event_assign((ev), (b), (x), EV_SIGNAL|EV_PERSIST, cb, (arg))
1132 int event_assign(struct event *, struct event_base *, evutil_socket_t, short, event_callback_fn, vo…
/external/libevent/test/
Dregress.c659 event_assign(&ev, global_base, -1, EV_TIMEOUT|EV_PERSIST, in test_persistent_timeout()
678 event_assign(&ev, data->base, -1, EV_PERSIST, periodic_timeout_cb, &count); in test_persistent_timeout_jump()
728 event_assign(&ev, base, -1, EV_TIMEOUT|EV_PERSIST, in test_persistent_active_timeout()
812 event_assign(&info[i].ev, base, -1, EV_TIMEOUT|EV_PERSIST, in test_common_timeout()
1441 event_assign(&ev1, base1, data->pair[1], EV_READ, dummy_read_cb, NULL); in test_free_active_base()
1447 event_assign(&ev1, base1, data->pair[0], 0, dummy_read_cb, NULL); in test_free_active_base()
1461 event_assign(&ev1, base, -1, EV_TIMEOUT, dummy_read_cb, NULL); in test_manipulate_active_events()
1508 event_assign(&ev, base, -1, EV_READ, event_selfarg_cb, in test_event_assign_selfarg()
1530 event_assign(&ev, base, -1, EV_READ, event_selfarg_cb, in test_event_base_get_num_events()
1655 event_assign(&ev, base, -1, EV_READ, event_selfarg_cb, in test_event_base_get_max_events()
[all …]
Dbench.c109 event_assign(&events[i], base, cp[0], EV_READ | EV_PERSIST, read_cb, (void *)(ev_intptr_t) i); in run_once()
Dregress_thread.c207 event_assign(notification_event, base, in thread_basic()
539 event_assign(&time_events[i], data->base, in thread_no_events()
Dregress_finalize.c299 err = event_assign(ev, base, -1, EV_TIMEOUT, NULL, NULL); in event_finalize_callback_free()
Dregress_dns.c1875 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.c256 event_assign(&f->ev, g->evbase, f->sockfd, kind, event_cb, g); in setsock()
415 event_assign(&g->fifo_event, g->evbase, sockfd, EV_READ|EV_PERSIST, in init_fifo()
Dmulti-event.c190 event_assign(curl_context->event, base, curl_context->sockfd, events, in handle_socket()
/external/webrtc/rtc_base/
Dtask_queue_libevent.cc86 RTC_CHECK_EQ(0, event_assign(ev, base, fd, events, callback, arg)); in EventAssign()