Lines Matching refs:EVBUFFER_PTR_SET
1485 tt_assert(evbuffer_ptr_set(buf, &ptr1, evbuffer_get_length(buf), EVBUFFER_PTR_SET) == 0); in test_evbuffer_search_eol()
1597 tt_assert(evbuffer_ptr_set(buf, &pos, 0, EVBUFFER_PTR_SET) == 0); in test_evbuffer_ptr_set()
1601 tt_assert(evbuffer_ptr_set(buf, &pos, 1, EVBUFFER_PTR_SET) == -1); in test_evbuffer_ptr_set()
1624 tt_assert(evbuffer_ptr_set(buf, &pos, 13000, EVBUFFER_PTR_SET) == -1); in test_evbuffer_ptr_set()
1626 tt_assert(evbuffer_ptr_set(buf, &pos, 0, EVBUFFER_PTR_SET) == 0); in test_evbuffer_ptr_set()
1630 tt_assert(evbuffer_ptr_set(buf, &pos, 0, EVBUFFER_PTR_SET) == 0); in test_evbuffer_ptr_set()
1658 tt_assert(evbuffer_ptr_set(buf, &pos, 0, EVBUFFER_PTR_SET) == 0); in test_evbuffer_search()
1661 tt_assert(evbuffer_ptr_set(buf, &pos, 0, EVBUFFER_PTR_SET) == 0); in test_evbuffer_search()
1664 tt_assert(evbuffer_ptr_set(buf, &pos, 0, EVBUFFER_PTR_SET) == 0); in test_evbuffer_search()
1691 evbuffer_ptr_set(buf, &pos, 5, EVBUFFER_PTR_SET); in test_evbuffer_search()
1701 evbuffer_ptr_set(buf, &end, 12, EVBUFFER_PTR_SET); in test_evbuffer_search()
1712 tt_assert(evbuffer_ptr_set(buf, &end, 17, EVBUFFER_PTR_SET) == 0); in test_evbuffer_search()
1716 tt_assert(evbuffer_ptr_set(buf, &pos, 11, EVBUFFER_PTR_SET) == 0); in test_evbuffer_search()
1719 tt_assert(evbuffer_ptr_set(buf, &pos, 17, EVBUFFER_PTR_SET) == 0); in test_evbuffer_search()
1722 tt_assert(evbuffer_ptr_set(buf, &pos, 17, EVBUFFER_PTR_SET) == 0); in test_evbuffer_search()
2134 evbuffer_ptr_set(buf, &ptr, 0, EVBUFFER_PTR_SET); in test_evbuffer_peek_first_gt()
2238 evbuffer_ptr_set(buf, &ptr, 30, EVBUFFER_PTR_SET); in test_evbuffer_peek()
2255 tt_assert(evbuffer_ptr_set(buf, &ptr, evbuffer_get_length(buf), EVBUFFER_PTR_SET) == 0); in test_evbuffer_peek()
2452 evbuffer_ptr_set(buf, &ptr, 15, EVBUFFER_PTR_SET); in test_evbuffer_copyout()