• Home
  • Raw
  • Download

Lines Matching refs:evbuffer_drain

189 	evbuffer_drain(evb, strlen("hello/"));  in test_evbuffer()
223 evbuffer_drain(evb, -1); in test_evbuffer()
225 evbuffer_drain(evb_two, -1); in test_evbuffer()
279 evbuffer_drain(evb, j * 5000); in test_evbuffer()
681 evbuffer_drain(buf, buf->first->off - 1); in test_evbuffer_expand()
816 evbuffer_drain(src, 5); in test_evbuffer_reference()
1236 evbuffer_drain(evb, evbuffer_get_length(evb)); in test_evbuffer_readln()
1364 evbuffer_drain(evb, -1); in test_evbuffer_readln()
1555 evbuffer_drain(buf, strlen(test1)); in test_evbuffer_find()
1566 evbuffer_drain(buf, strlen(test2)); in test_evbuffer_find()
1750 evbuffer_drain(evbuffer, new_len); in self_draining_callback()
1775 evbuffer_drain(buf, 10); /*36->26*/ in test_evbuffer_callbacks()
1782 evbuffer_drain(buf, evbuffer_get_length(buf)); /*38->0*/; in test_evbuffer_callbacks()
1792 evbuffer_drain(buf_out1, evbuffer_get_length(buf_out1)); in test_evbuffer_callbacks()
1793 evbuffer_drain(buf_out2, evbuffer_get_length(buf_out2)); in test_evbuffer_callbacks()
1808 evbuffer_drain(buf, evbuffer_get_length(buf)); in test_evbuffer_callbacks()
1820 evbuffer_drain(buf, 4); /* 15->11 */ in test_evbuffer_callbacks()
1822 evbuffer_drain(buf, evbuffer_get_length(buf)); /* 11->0 */ in test_evbuffer_callbacks()
1882 evbuffer_drain(buf1, 7); /* Remove prepended stuff. */ in test_evbuffer_add_reference()
1883 evbuffer_drain(buf1, len1-11-1); /* remove all but one byte of chunk1 */ in test_evbuffer_add_reference()
1894 evbuffer_drain(buf1, 6); /* Remove the ", you ". */ in test_evbuffer_add_reference()
1904 evbuffer_drain(buf2, evbuffer_get_length(buf2)); in test_evbuffer_add_reference()
2019 tt_int_op(evbuffer_drain(buf1, evbuffer_get_length(buf1)), ==, 0); in test_evbuffer_multicast_drain()
2021 tt_int_op(evbuffer_drain(buf2, evbuffer_get_length(buf2)), ==, 0); in test_evbuffer_multicast_drain()
2063 evbuffer_drain(buf1, 6+11); in test_evbuffer_prepend()
2107 evbuffer_drain(buf2, 8096); in test_evbuffer_prepend()
2109 evbuffer_drain(buf2, 3); in test_evbuffer_prepend()
2337 r = evbuffer_drain(buf, 3); in test_evbuffer_freeze()