Lines Matching refs:evb_two
177 struct evbuffer *evb_two = evbuffer_new(); in test_evbuffer() local
188 evbuffer_add_buffer(evb, evb_two); in test_evbuffer()
196 evbuffer_add_printf(evb_two, "%s", "/hello"); in test_evbuffer()
198 evbuffer_add_buffer(evb, evb_two); in test_evbuffer()
201 tt_assert(evbuffer_get_length(evb_two) == 0); in test_evbuffer()
227 evbuffer_drain(evb_two, -1); in test_evbuffer()
231 evbuffer_add(evb_two, buffer, sizeof(buffer)); in test_evbuffer()
232 evbuffer_validate(evb_two); in test_evbuffer()
233 evbuffer_add_buffer(evb, evb_two); in test_evbuffer()
235 evbuffer_validate(evb_two); in test_evbuffer()
238 tt_assert(evbuffer_get_length(evb_two) == 0); in test_evbuffer()
243 evbuffer_remove_buffer(evb, evb_two, sz_tmp); in test_evbuffer()
244 tt_assert(evbuffer_get_length(evb_two) == sz_tmp); in test_evbuffer()
251 evb_two, -1), buffer, sizeof(buffer)) != 0) in test_evbuffer()
288 evbuffer_free(evb_two); in test_evbuffer()