Home
last modified time | relevance | path

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

/external/libevent/include/event2/
Devent.h756 #define evtimer_new(b, cb, arg) event_new((b), -1, 0, (cb), (arg))
773 event_new((b), (x), EV_SIGNAL|EV_PERSIST, (cb), (arg))
840 struct event *event_new(struct event_base *, evutil_socket_t, short, event_callback_fn, void *);
/external/tlsdate/src/events/
Dtlsdate_status.c129 state->events[E_TLSDATE_STATUS] = event_new (state->base, fds[0], in setup_tlsdate_status()
138 state->events[E_TLSDATE_TIMEOUT] = event_new (state->base, -1, in setup_tlsdate_status()
Dcheck_continuity.c68 event = event_new (state->base, -1, EV_TIMEOUT|EV_PERSIST, in setup_event_timer_continuity()
Droute_up.c80 state->events[E_ROUTEUP] = event_new (state->base, fd, in setup_event_route_up()
Dsigchld.c130 state->events[E_SIGCHLD] = event_new (state->base, SIGCHLD, in setup_sigchld_event()
Dkickoff_time_sync.c93 state->events[E_STEADYSTATE] = event_new (state->base, -1, in setup_event_timer_sync()
Dtime_set.c141 event = event_new (state->base, from_fds[0], EV_READ|EV_PERSIST, in setup_time_setter()
/external/libweave/examples/provider/
Devent_task_runner.h92 event_new(base_.get(), -1, EV_TIMEOUT, &EventHandler, this)};
Devent_task_runner.cc37 event* ioevent = event_new(base_.get(), fd, flags, FdEventHandler, this); in AddIoCompletionTask()
/external/tlsdate/src/
Dtlsdated.c532 struct event *event = event_new (base, SIGTERM, EV_SIGNAL|EV_PERSIST, in main()
545 state.events[E_TLSDATE] = event_new (base, -1, EV_TIMEOUT, in main()
561 state.events[E_SAVE] = event_new (base, state.setter_save_fd, in main()
Ddbus.c93 data->event = event_new (tlsdate_state->base, in add_watch()
177 data->event = event_new (tlsdate_state->base, in add_timeout()
Dtlsdated-unittest.c134 self->state.events[E_TLSDATE] = event_new (self->state.base, -1, EV_TIMEOUT, in FIXTURE_SETUP()
Dplatform-cros.c593 state->events[E_RESOLVER] = event_new (base, -1, EV_TIMEOUT, in platform_init_cros()
/external/curl/docs/examples/
Dhiperfifo.c239 f->ev = event_new(g->evbase, f->sockfd, kind, event_cb, g); in setsock()
393 g->fifo_event = event_new(g->evbase, sockfd, EV_READ|EV_PERSIST, fifo_cb, g); in init_fifo()
/external/libevent/
Dwhatsnew-2.0.txt105 can use event_new().
128 ev = event_new(base, fd, EV_READ, cb, NULL);
198 ev = event_new(base, fd, EV_READ|EV_PERSIST, cb, NULL);
280 you set during event_new() or event_assign().
Devent.c1807 event_new(struct event_base *base, evutil_socket_t fd, short events, void (*cb)(evutil_socket_t, sh… in event_new() function
DChangeLog1266 …o New functions (event_assign, event_new, event_free) for use by apps that want to be safely threa…
1278 … to manipulate timer and signal events, analagous to the now-recommended event_assign and event_new