Home
last modified time | relevance | path

Searched refs:evbase (Results 1 – 10 of 10) sorted by relevance

/external/curl/docs/examples/
Dhiperfifo.c76 struct event_base *evbase; member
239 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()
412 g.evbase = event_base_new(); in main()
415 g.timer_event = evtimer_new(g.evbase, timer_cb, &g); in main()
426 event_base_dispatch(g.evbase); in main()
432 event_base_free(g.evbase); in main()
/external/libevent/
Ddevpoll.c167 struct devpollop *devpollop = base->evbase; in devpoll_dispatch()
227 struct devpollop *devpollop = base->evbase; in devpoll_add()
253 struct devpollop *devpollop = base->evbase; in devpoll_del()
294 struct devpollop *devpollop = base->evbase; in devpoll_dealloc()
Dselect.c132 struct selectop *sop = base->evbase; in select_dispatch()
243 struct selectop *sop = base->evbase; in select_add()
290 struct selectop *sop = base->evbase; in select_del()
332 select_free_selectop(base->evbase); in select_dealloc()
Depoll.c336 struct epollop *epollop = base->evbase; in epoll_apply_changes()
366 return epoll_apply_one_change(base, base->evbase, &ch); in epoll_nochangelist_add()
382 return epoll_apply_one_change(base, base->evbase, &ch); in epoll_nochangelist_del()
388 struct epollop *epollop = base->evbase; in epoll_dispatch()
463 struct epollop *epollop = base->evbase; in epoll_dealloc()
Dpoll.c123 struct pollop *pop = base->evbase; in poll_dispatch()
213 struct pollop *pop = base->evbase; in poll_add()
274 struct pollop *pop = base->evbase; in poll_del()
323 struct pollop *pop = base->evbase; in poll_dealloc()
Devport.c265 struct evport_data *epdp = base->evbase; in evport_dispatch()
377 struct evport_data *evpd = base->evbase; in evport_add()
411 struct evport_data *evpd = base->evbase; in evport_del()
464 struct evport_data *evpd = base->evbase; in evport_dealloc()
Dkqueue.c258 struct kqop *kqop = base->evbase; in kq_dispatch()
414 struct kqop *kqop = base->evbase; in kq_dealloc()
423 struct kqop *kqop = base->evbase; in kq_sig_add()
452 struct kqop *kqop = base->evbase; in kq_sig_del()
Dwin32select.c217 struct win32op *win32op = base->evbase; in win32_add()
242 struct win32op *win32op = base->evbase; in win32_del()
276 struct win32op *win32op = base->evbase; in win32_dispatch()
360 struct win32op *win32op = _base->evbase; in win32_dealloc()
Devent-internal.h175 void *evbase; member
Devent.c586 base->evbase = NULL; in event_base_new_with_config()
591 for (i = 0; eventops[i] && !base->evbase; i++) { in event_base_new_with_config()
609 base->evbase = base->evsel->init(base); in event_base_new_with_config()
612 if (base->evbase == NULL) { in event_base_new_with_config()
853 base->evbase = evsel->init(base); in event_reinit()
854 if (base->evbase == NULL) { in event_reinit()