Searched refs:buf_out2 (Results 1 – 1 of 1) sorted by relevance
/external/libevent/test/ |
D | regress_buffer.c | 1758 struct evbuffer *buf_out2 = evbuffer_new(); in test_evbuffer_callbacks() local 1763 tt_assert(buf_out2); in test_evbuffer_callbacks() 1766 cb2 = evbuffer_add_cb(buf, log_change_callback, buf_out2); in test_evbuffer_callbacks() 1785 tt_assert(!evbuffer_remove_cb(buf, log_change_callback, buf_out2)); in test_evbuffer_callbacks() 1790 tt_str_op((const char *) evbuffer_pullup(buf_out2, -1), ==, in test_evbuffer_callbacks() 1793 evbuffer_drain(buf_out2, evbuffer_get_length(buf_out2)); in test_evbuffer_callbacks() 1797 cb2 = evbuffer_add_cb(buf, log_change_callback, buf_out2); in test_evbuffer_callbacks() 1803 tt_uint_op(evbuffer_get_length(buf_out2), ==, 0); in test_evbuffer_callbacks() 1813 cb2 = evbuffer_add_cb(buf, log_change_callback, buf_out2); in test_evbuffer_callbacks() 1826 tt_str_op(evbuffer_pullup(buf_out2, -1), ==, in test_evbuffer_callbacks() [all …]
|