Home
last modified time | relevance | path

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

/external/libevent/
Dbufferevent_pair.c116 struct bufferevent_pair *bufev1 = NULL, *bufev2 = NULL; in bufferevent_pair_new() local
122 bufev1 = bufferevent_pair_elt_new(base, options); in bufferevent_pair_new()
123 if (!bufev1) in bufferevent_pair_new()
127 bufferevent_free(downcast(bufev1)); in bufferevent_pair_new()
133 bufferevent_enable_locking(downcast(bufev2), bufev1->bev.lock); in bufferevent_pair_new()
136 bufev1->partner = bufev2; in bufferevent_pair_new()
137 bufev2->partner = bufev1; in bufferevent_pair_new()
139 evbuffer_freeze(downcast(bufev1)->input, 0); in bufferevent_pair_new()
140 evbuffer_freeze(downcast(bufev1)->output, 1); in bufferevent_pair_new()
144 pair[0] = downcast(bufev1); in bufferevent_pair_new()