Home
last modified time | relevance | path

Searched refs:evbuffer_ptr_set (Results 1 – 4 of 4) sorted by relevance

/external/libevent/test/
Dregress_buffer.c1648 evbuffer_ptr_set(buf, &ptr1, 1, EVBUFFER_PTR_ADD); in test_evbuffer_search_eol()
1669 evbuffer_ptr_set(buf, &ptr1, 1, EVBUFFER_PTR_ADD); in test_evbuffer_search_eol()
1675 tt_assert(evbuffer_ptr_set(buf, &ptr1, evbuffer_get_length(buf), EVBUFFER_PTR_SET) == 0); in test_evbuffer_search_eol()
1787 tt_assert(evbuffer_ptr_set(buf, &pos, 0, EVBUFFER_PTR_SET) == 0); in test_evbuffer_ptr_set()
1789 tt_assert(evbuffer_ptr_set(buf, &pos, 1, EVBUFFER_PTR_ADD) == -1); in test_evbuffer_ptr_set()
1791 tt_assert(evbuffer_ptr_set(buf, &pos, 1, EVBUFFER_PTR_SET) == -1); in test_evbuffer_ptr_set()
1814 tt_assert(evbuffer_ptr_set(buf, &pos, 13000, EVBUFFER_PTR_SET) == -1); in test_evbuffer_ptr_set()
1816 tt_assert(evbuffer_ptr_set(buf, &pos, 0, EVBUFFER_PTR_SET) == 0); in test_evbuffer_ptr_set()
1818 tt_assert(evbuffer_ptr_set(buf, &pos, 13000, EVBUFFER_PTR_ADD) == -1); in test_evbuffer_ptr_set()
1820 tt_assert(evbuffer_ptr_set(buf, &pos, 0, EVBUFFER_PTR_SET) == 0); in test_evbuffer_ptr_set()
[all …]
/external/libevent/include/event2/
Dbuffer.h803 evbuffer_ptr_set(struct evbuffer *buffer, struct evbuffer_ptr *ptr,
/external/libevent/
Dbuffer.c2618 return evbuffer_ptr_set(buf, pos, newpos, EVBUFFER_PTR_SET); in evbuffer_ptr_subtract()
2623 evbuffer_ptr_set(struct evbuffer *buf, struct evbuffer_ptr *pos, in evbuffer_ptr_set() function
DChangeLog1974 o Allow evbuffer_ptr_set to yield a point just after the end of the