Home
last modified time | relevance | path

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

/external/libevent/
Dbufferevent_pair.c118 struct bufferevent_pair *bufev1 = NULL, *bufev2 = NULL; in bufferevent_pair_new() local
127 bufev2 = bufferevent_pair_elt_new(base, tmp_options); in bufferevent_pair_new()
128 if (!bufev2) { in bufferevent_pair_new()
135 bufferevent_enable_locking_(downcast(bufev2), bufev1->bev.lock); in bufferevent_pair_new()
138 bufev1->partner = bufev2; in bufferevent_pair_new()
139 bufev2->partner = bufev1; in bufferevent_pair_new()
143 evbuffer_freeze(downcast(bufev2)->input, 0); in bufferevent_pair_new()
144 evbuffer_freeze(downcast(bufev2)->output, 1); in bufferevent_pair_new()
147 pair[1] = downcast(bufev2); in bufferevent_pair_new()