Lines Matching refs:evbuffer_add_reference
306 evbuffer_add_reference(src, buf, sizeof(buf), no_cleanup, NULL); in test_evbuffer_remove_buffer_with_empty()
307 evbuffer_add_reference(src, buf, sizeof(buf), no_cleanup, NULL); in test_evbuffer_remove_buffer_with_empty()
310 evbuffer_add_reference(dst, buf, 0, no_cleanup, NULL); in test_evbuffer_remove_buffer_with_empty()
334 evbuffer_add_reference(buf, "foo", 3, NULL, NULL); in test_evbuffer_remove_buffer_with_empty2()
336 evbuffer_add_reference(src, "foo", 3, NULL, NULL); in test_evbuffer_remove_buffer_with_empty2()
337 evbuffer_add_reference(src, NULL, 0, NULL, NULL); in test_evbuffer_remove_buffer_with_empty2()
341 evbuffer_add_reference(buf, "foo", 3, NULL, NULL); in test_evbuffer_remove_buffer_with_empty2()
343 evbuffer_add_reference(dst, "foo", 3, NULL, NULL); in test_evbuffer_remove_buffer_with_empty2()
344 evbuffer_add_reference(dst, NULL, 0, NULL, NULL); in test_evbuffer_remove_buffer_with_empty2()
375 evbuffer_add_reference(buf, NULL, 0, NULL, NULL); in test_evbuffer_remove_buffer_with_empty3()
377 evbuffer_add_reference(src, "foo", 3, NULL, NULL); in test_evbuffer_remove_buffer_with_empty3()
378 evbuffer_add_reference(src, NULL, 0, NULL, NULL); in test_evbuffer_remove_buffer_with_empty3()
382 evbuffer_add_reference(buf, NULL, 0, NULL, NULL); in test_evbuffer_remove_buffer_with_empty3()
384 evbuffer_add_reference(dst, "foo", 3, NULL, NULL); in test_evbuffer_remove_buffer_with_empty3()
385 evbuffer_add_reference(dst, NULL, 0, NULL, NULL); in test_evbuffer_remove_buffer_with_empty3()
417 evbuffer_add_reference(src, "foo", 3, NULL, NULL); in test_evbuffer_add_buffer_with_empty()
418 evbuffer_add_reference(src, NULL, 0, NULL, NULL); in test_evbuffer_add_buffer_with_empty()
423 evbuffer_add_reference(dst, "foo", 3, NULL, NULL); in test_evbuffer_add_buffer_with_empty()
424 evbuffer_add_reference(dst, NULL, 0, NULL, NULL); in test_evbuffer_add_buffer_with_empty()
448 evbuffer_add_reference(src, NULL, 0, NULL, NULL); in test_evbuffer_add_buffer_with_empty2()
453 evbuffer_add_reference(dst, NULL, 0, NULL, NULL); in test_evbuffer_add_buffer_with_empty2()
804 tt_assert(evbuffer_add_reference(src, data, strlen(data), in test_evbuffer_reference()
853 evbuffer_add_reference(buf, "2", 1, no_cleanup, NULL); in test_evbuffer_reference2()
1779 evbuffer_add_reference(buf, "Goodbye", 7, NULL, NULL); /*31->38*/ in test_evbuffer_callbacks()
1865 evbuffer_add_reference(buf1, chunk1, len1, ref_done_cb, (void*)111); in test_evbuffer_add_reference()
1867 evbuffer_add_reference(buf1, chunk2, len2, ref_done_cb, (void*)222); in test_evbuffer_add_reference()
1912 evbuffer_add_reference(buf1, "ketchup bottle", 14, ref_done_cb, in test_evbuffer_add_reference()
2323 r = evbuffer_add_reference(buf, string, 5, NULL, NULL); in test_evbuffer_freeze()
2425 evbuffer_add_reference(buf, string, 80, no_cleanup, NULL); in test_evbuffer_copyout()
2426 evbuffer_add_reference(buf, string+80, 80, no_cleanup, NULL); in test_evbuffer_copyout()