Home
last modified time | relevance | path

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

/external/libevent/
Dbuffer.c480 buffer->n_add_for_cb = buffer->n_del_for_cb = 0; in evbuffer_run_callbacks()
483 if (buffer->n_add_for_cb == 0 && buffer->n_del_for_cb == 0) in evbuffer_run_callbacks()
487 info.orig_size = new_size + buffer->n_del_for_cb - buffer->n_add_for_cb; in evbuffer_run_callbacks()
488 info.n_added = buffer->n_add_for_cb; in evbuffer_run_callbacks()
491 buffer->n_add_for_cb = 0; in evbuffer_run_callbacks()
516 buffer->n_add_for_cb = buffer->n_del_for_cb = 0; in evbuffer_invoke_callbacks_()
779 buf->n_add_for_cb += added; in evbuffer_commit_space()
996 outbuf->n_add_for_cb += in_total_len; in evbuffer_add_buffer()
1041 outbuf->n_add_for_cb += in_total_len; in evbuffer_add_buffer_reference()
1086 outbuf->n_add_for_cb += in_total_len; in evbuffer_prepend_buffer()
[all …]
Devbuffer-internal.h106 size_t n_add_for_cb; member
Dbuffer_iocp.c130 evbuf->n_add_for_cb += nBytes; in evbuffer_commit_read_()
DChangeLog179 o Fix n_add_for_cb in evbuffer_prepend() in case of new buffer required (0abd039 Azat Khuzhin)
205 …o test/buffer: cover n_add_for_cb when evbuffer_prepend() need to allocate buffer (e77ff41 Azat Kh…