Searched refs:evbuffer_ptr_set (Results 1 – 4 of 4) sorted by relevance
/external/libevent/test/ |
D | regress_buffer.c | 1458 evbuffer_ptr_set(buf, &ptr1, 1, EVBUFFER_PTR_ADD); in test_evbuffer_search_eol() 1479 evbuffer_ptr_set(buf, &ptr1, 1, EVBUFFER_PTR_ADD); in test_evbuffer_search_eol() 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() 1599 tt_assert(evbuffer_ptr_set(buf, &pos, 1, EVBUFFER_PTR_ADD) == -1); 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() 1628 tt_assert(evbuffer_ptr_set(buf, &pos, 13000, EVBUFFER_PTR_ADD) == -1); in test_evbuffer_ptr_set() 1630 tt_assert(evbuffer_ptr_set(buf, &pos, 0, EVBUFFER_PTR_SET) == 0); in test_evbuffer_ptr_set() [all …]
|
/external/libevent/include/event2/ |
D | buffer.h | 802 evbuffer_ptr_set(struct evbuffer *buffer, struct evbuffer_ptr *ptr,
|
/external/libevent/ |
D | buffer.c | 2605 return evbuffer_ptr_set(buf, pos, newpos, EVBUFFER_PTR_SET); in evbuffer_ptr_subtract() 2610 evbuffer_ptr_set(struct evbuffer *buf, struct evbuffer_ptr *pos, in evbuffer_ptr_set() function
|
D | ChangeLog | 1661 o Allow evbuffer_ptr_set to yield a point just after the end of the
|