Lines Matching refs:lev
729 struct evconnlistener *lev=NULL; in test_bufferevent_connect() local
763 lev = evconnlistener_new_bind(data->base, listen_cb, data->base, in test_bufferevent_connect()
766 tt_assert(lev); in test_bufferevent_connect()
770 if (regress_get_listener_addr(lev, sa, &slen) < 0) { in test_bufferevent_connect()
774 tt_assert(!evconnlistener_enable(lev)); in test_bufferevent_connect()
793 if (lev) in test_bufferevent_connect()
794 evconnlistener_free(lev); in test_bufferevent_connect()
820 struct evconnlistener *lev = NULL; in test_bufferevent_connect_fail_eventcb() local
859 if (lev) in test_bufferevent_connect_fail_eventcb()
860 evconnlistener_free(lev); in test_bufferevent_connect_fail_eventcb()
1145 struct evconnlistener *lev=NULL; in test_bufferevent_trigger() local
1171 lev = evconnlistener_new_bind(data->base, listen_cb, data->base, in test_bufferevent_trigger()
1174 tt_assert(lev); in test_bufferevent_trigger()
1178 if (regress_get_listener_addr(lev, sa, &slen) < 0) { in test_bufferevent_trigger()
1182 tt_assert(!evconnlistener_enable(lev)); in test_bufferevent_trigger()
1195 if (lev) in test_bufferevent_trigger()
1196 evconnlistener_free(lev); in test_bufferevent_trigger()