Lines Matching refs:evb_two
175 struct evbuffer *evb_two = evbuffer_new(); in test_evbuffer() local
186 evbuffer_add_buffer(evb, evb_two); in test_evbuffer()
194 evbuffer_add_printf(evb_two, "%s", "/hello"); in test_evbuffer()
196 evbuffer_add_buffer(evb, evb_two); in test_evbuffer()
199 tt_assert(evbuffer_get_length(evb_two) == 0); in test_evbuffer()
225 evbuffer_drain(evb_two, -1); in test_evbuffer()
229 evbuffer_add(evb_two, buffer, sizeof(buffer)); in test_evbuffer()
230 evbuffer_validate(evb_two); in test_evbuffer()
231 evbuffer_add_buffer(evb, evb_two); in test_evbuffer()
233 evbuffer_validate(evb_two); in test_evbuffer()
236 tt_assert(evbuffer_get_length(evb_two) == 0); in test_evbuffer()
241 evbuffer_remove_buffer(evb, evb_two, sz_tmp); in test_evbuffer()
242 tt_assert(evbuffer_get_length(evb_two) == sz_tmp); in test_evbuffer()
249 evb_two, -1), buffer, sizeof(buffer)) != 0) in test_evbuffer()
286 evbuffer_free(evb_two); in test_evbuffer()