Home
last modified time | relevance | path

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

/external/libevent/
Dbuffer.c481 buffer->n_add_for_cb = buffer->n_del_for_cb = 0; in evbuffer_run_callbacks()
484 if (buffer->n_add_for_cb == 0 && buffer->n_del_for_cb == 0) in evbuffer_run_callbacks()
488 info.orig_size = new_size + buffer->n_del_for_cb - buffer->n_add_for_cb; in evbuffer_run_callbacks()
489 info.n_added = buffer->n_add_for_cb; in evbuffer_run_callbacks()
492 buffer->n_add_for_cb = 0; in evbuffer_run_callbacks()
517 buffer->n_add_for_cb = buffer->n_del_for_cb = 0; in evbuffer_invoke_callbacks_()
784 buf->n_add_for_cb += added; in evbuffer_commit_space()
1001 outbuf->n_add_for_cb += in_total_len; in evbuffer_add_buffer()
1046 outbuf->n_add_for_cb += in_total_len; in evbuffer_add_buffer_reference()
1091 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.c131 evbuf->n_add_for_cb += nBytes; in evbuffer_commit_read_()
DChangeLog411 o Fix n_add_for_cb in evbuffer_prepend() in case of new buffer required (0abd039 Azat Khuzhin)
437 …o test/buffer: cover n_add_for_cb when evbuffer_prepend() need to allocate buffer (e77ff41 Azat Kh…