Home
last modified time | relevance | path

Searched refs:bufev2 (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
125 bufev2 = bufferevent_pair_elt_new(base, tmp_options); in bufferevent_pair_new()
126 if (!bufev2) { 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()
141 evbuffer_freeze(downcast(bufev2)->input, 0); in bufferevent_pair_new()
142 evbuffer_freeze(downcast(bufev2)->output, 1); in bufferevent_pair_new()
145 pair[1] = downcast(bufev2); in bufferevent_pair_new()