Home
last modified time | relevance | path

Searched refs:last_with_datap (Results 1 – 6 of 6) sorted by relevance

/external/libevent/
Dbuffer.c292 struct evbuffer_chain **ch = buf->last_with_datap; in evbuffer_free_trailing_empty_chains()
312 if (*buf->last_with_datap == NULL) { in evbuffer_chain_insert()
314 EVUTIL_ASSERT(buf->last_with_datap == &buf->first); in evbuffer_chain_insert()
322 buf->last_with_datap = chp; in evbuffer_chain_insert()
371 buffer->last_with_datap = &buffer->first; in evbuffer_new()
708 if (!*buf->last_with_datap) in advance_last_with_data()
711 while ((*buf->last_with_datap)->next && (*buf->last_with_datap)->next->off) { in advance_last_with_data()
712 buf->last_with_datap = &(*buf->last_with_datap)->next; in advance_last_with_data()
748 firstchainp = buf->last_with_datap; in evbuffer_commit_space()
772 buf->last_with_datap = chainp; in evbuffer_commit_space()
[all …]
Dbuffer_iocp.c110 chainp = evbuf->last_with_datap; in evbuffer_commit_read_()
120 evbuf->last_with_datap = chainp; in evbuffer_commit_read_()
162 evo->buffer.last_with_datap = &evo->buffer.first; in evbuffer_overlapped_new_()
Devbuffer-internal.h99 struct evbuffer_chain **last_with_datap; member
DChangeLog-2.0772 o Remove one last bug in last_with_datap logic. Found with valgrind (d49b92a)
845 o Initialize last_with_datap correctly in evbuffer_overlapped (a0983b6)
DChangeLog181 o evbuffer_add: Use last_with_datap if set, not last. (a8769ef Marcus Sundberg)
/external/libevent/test/
Dregress_buffer.c82 tt_assert(buf->last_with_datap); in evbuffer_validate_()
83 if (buf->last_with_datap == &buf->first) in evbuffer_validate_()
87 if (&chain->next == buf->last_with_datap) in evbuffer_validate_()
98 tt_assert(*buf->last_with_datap); in evbuffer_validate_()
100 if (*buf->last_with_datap) { in evbuffer_validate_()
101 chain = *buf->last_with_datap; in evbuffer_validate_()
113 tt_assert(buf->last_with_datap == &buf->first); in evbuffer_validate_()