Lines Matching refs:evbuffer
147 static int evbuffer_ptr_memcmp(const struct evbuffer *buf,
149 static struct evbuffer_chain *evbuffer_expand_singlechain(struct evbuffer *buf,
151 static int evbuffer_ptr_subtract(struct evbuffer *buf, struct evbuffer_ptr *pos,
291 evbuffer_free_trailing_empty_chains(struct evbuffer *buf) in evbuffer_free_trailing_empty_chains()
309 evbuffer_chain_insert(struct evbuffer *buf, in evbuffer_chain_insert()
330 evbuffer_chain_insert_new(struct evbuffer *buf, size_t datlen) in evbuffer_chain_insert_new()
361 struct evbuffer *
364 struct evbuffer *buffer; in evbuffer_new()
366 buffer = mm_calloc(1, sizeof(struct evbuffer)); in evbuffer_new()
378 evbuffer_set_flags(struct evbuffer *buf, ev_uint64_t flags) in evbuffer_set_flags()
387 evbuffer_clear_flags(struct evbuffer *buf, ev_uint64_t flags) in evbuffer_clear_flags()
396 evbuffer_incref_(struct evbuffer *buf) in evbuffer_incref_()
404 evbuffer_incref_and_lock_(struct evbuffer *buf) in evbuffer_incref_and_lock_()
411 evbuffer_defer_callbacks(struct evbuffer *buffer, struct event_base *base) in evbuffer_defer_callbacks()
424 evbuffer_enable_locking(struct evbuffer *buf, void *lock) in evbuffer_enable_locking()
448 evbuffer_set_parent_(struct evbuffer *buf, struct bufferevent *bev) in evbuffer_set_parent_()
456 evbuffer_run_callbacks(struct evbuffer *buffer, int running_deferred) in evbuffer_run_callbacks()
514 evbuffer_invoke_callbacks_(struct evbuffer *buffer) in evbuffer_invoke_callbacks_()
537 struct evbuffer *buffer = arg; in evbuffer_deferred_callback()
550 evbuffer_remove_all_callbacks(struct evbuffer *buffer) in evbuffer_remove_all_callbacks()
561 evbuffer_decref_and_unlock_(struct evbuffer *buffer) in evbuffer_decref_and_unlock_()
588 evbuffer_free(struct evbuffer *buffer) in evbuffer_free()
595 evbuffer_lock(struct evbuffer *buf) in evbuffer_lock()
601 evbuffer_unlock(struct evbuffer *buf) in evbuffer_unlock()
607 evbuffer_get_length(const struct evbuffer *buffer) in evbuffer_get_length()
621 evbuffer_get_contiguous_space(const struct evbuffer *buf) in evbuffer_get_contiguous_space()
635 evbuffer_add_iovec(struct evbuffer * buf, struct evbuffer_iovec * vec, int n_vec) { in evbuffer_add_iovec()
671 evbuffer_reserve_space(struct evbuffer *buf, ev_ssize_t size, in evbuffer_reserve_space()
704 advance_last_with_data(struct evbuffer *buf) in advance_last_with_data()
724 evbuffer_commit_space(struct evbuffer *buf, in evbuffer_commit_space()
794 HAS_PINNED_R(struct evbuffer *buf) in HAS_PINNED_R()
800 ZERO_CHAIN(struct evbuffer *dst) in ZERO_CHAIN()
814 PRESERVE_PINNED(struct evbuffer *src, struct evbuffer_chain **first, in PRESERVE_PINNED()
858 RESTORE_PINNED(struct evbuffer *src, struct evbuffer_chain *pinned, in RESTORE_PINNED()
875 COPY_CHAIN(struct evbuffer *dst, struct evbuffer *src) in COPY_CHAIN()
889 APPEND_CHAIN(struct evbuffer *dst, struct evbuffer *src) in APPEND_CHAIN()
908 APPEND_CHAIN_MULTICAST(struct evbuffer *dst, struct evbuffer *src) in APPEND_CHAIN_MULTICAST()
948 PREPEND_CHAIN(struct evbuffer *dst, struct evbuffer *src) in PREPEND_CHAIN()
966 evbuffer_add_buffer(struct evbuffer *outbuf, struct evbuffer *inbuf) in evbuffer_add_buffer()
1012 evbuffer_add_buffer_reference(struct evbuffer *outbuf, struct evbuffer *inbuf) in evbuffer_add_buffer_reference()
1055 evbuffer_prepend_buffer(struct evbuffer *outbuf, struct evbuffer *inbuf) in evbuffer_prepend_buffer()
1101 evbuffer_drain(struct evbuffer *buf, size_t len) in evbuffer_drain()
1170 evbuffer_remove(struct evbuffer *buf, void *data_out, size_t datlen) in evbuffer_remove()
1184 evbuffer_copyout(struct evbuffer *buf, void *data_out, size_t datlen) in evbuffer_copyout()
1190 evbuffer_copyout_from(struct evbuffer *buf, const struct evbuffer_ptr *pos, in evbuffer_copyout_from()
1260 evbuffer_remove_buffer(struct evbuffer *src, struct evbuffer *dst, in evbuffer_remove_buffer()
1350 evbuffer_pullup(struct evbuffer *buf, ev_ssize_t size) in evbuffer_pullup()
1468 evbuffer_readline(struct evbuffer *buffer) in evbuffer_readline()
1597 evbuffer_search_eol(struct evbuffer *buffer, in evbuffer_search_eol()
1687 evbuffer_readln(struct evbuffer *buffer, size_t *n_read_out, in evbuffer_readln()
1730 evbuffer_add(struct evbuffer *buf, const void *data_in, size_t datlen) in evbuffer_add()
1827 evbuffer_prepend(struct evbuffer *buf, const void *data, size_t datlen) in evbuffer_prepend()
1939 evbuffer_expand_singlechain(struct evbuffer *buf, size_t datlen) in evbuffer_expand_singlechain()
2051 evbuffer_expand_fast_(struct evbuffer *buf, size_t datlen, int n) in evbuffer_expand_fast_()
2161 evbuffer_expand(struct evbuffer *buf, size_t datlen) in evbuffer_expand()
2225 evbuffer_read_setup_vecs_(struct evbuffer *buf, ev_ssize_t howmuch, in evbuffer_read_setup_vecs_()
2284 evbuffer_read(struct evbuffer *buf, evutil_socket_t fd, int howmuch) in evbuffer_read()
2416 evbuffer_write_iovec(struct evbuffer *buffer, evutil_socket_t fd, in evbuffer_write_iovec()
2468 evbuffer_write_sendfile(struct evbuffer *buffer, evutil_socket_t dest_fd, in evbuffer_write_sendfile()
2524 evbuffer_write_atmost(struct evbuffer *buffer, evutil_socket_t fd, in evbuffer_write_atmost()
2572 evbuffer_write(struct evbuffer *buffer, evutil_socket_t fd) in evbuffer_write()
2578 evbuffer_find(struct evbuffer *buffer, const unsigned char *what, size_t len) in evbuffer_find()
2603 evbuffer_ptr_subtract(struct evbuffer *buf, struct evbuffer_ptr *pos, in evbuffer_ptr_subtract()
2623 evbuffer_ptr_set(struct evbuffer *buf, struct evbuffer_ptr *pos, in evbuffer_ptr_set()
2679 evbuffer_ptr_memcmp(const struct evbuffer *buf, const struct evbuffer_ptr *pos, in evbuffer_ptr_memcmp()
2715 evbuffer_search(struct evbuffer *buffer, const char *what, size_t len, const struct evbuffer_ptr *s… in evbuffer_search()
2721 evbuffer_search_range(struct evbuffer *buffer, const char *what, size_t len, const struct evbuffer_… in evbuffer_search_range()
2785 evbuffer_peek(struct evbuffer *buffer, ev_ssize_t len, in evbuffer_peek()
2844 evbuffer_add_vprintf(struct evbuffer *buf, const char *fmt, va_list ap) in evbuffer_add_vprintf()
2908 evbuffer_add_printf(struct evbuffer *buf, const char *fmt, ...) in evbuffer_add_printf()
2921 evbuffer_add_reference(struct evbuffer *outbuf, in evbuffer_add_reference()
3194 evbuffer_add_file_segment(struct evbuffer *buf, in evbuffer_add_file_segment()
3296 evbuffer_add_file(struct evbuffer *buf, int fd, ev_off_t offset, ev_off_t length) in evbuffer_add_file()
3312 evbuffer_setcb(struct evbuffer *buffer, evbuffer_cb cb, void *cbarg) in evbuffer_setcb()
3334 evbuffer_add_cb(struct evbuffer *buffer, evbuffer_cb_func cb, void *cbarg) in evbuffer_add_cb()
3349 evbuffer_remove_cb_entry(struct evbuffer *buffer, in evbuffer_remove_cb_entry()
3360 evbuffer_remove_cb(struct evbuffer *buffer, evbuffer_cb_func cb, void *cbarg) in evbuffer_remove_cb()
3377 evbuffer_cb_set_flags(struct evbuffer *buffer, in evbuffer_cb_set_flags()
3389 evbuffer_cb_clear_flags(struct evbuffer *buffer, in evbuffer_cb_clear_flags()
3401 evbuffer_freeze(struct evbuffer *buffer, int start) in evbuffer_freeze()
3413 evbuffer_unfreeze(struct evbuffer *buffer, int start) in evbuffer_unfreeze()
3426 evbuffer_cb_suspend(struct evbuffer *buffer, struct evbuffer_cb_entry *cb)
3435 evbuffer_cb_unsuspend(struct evbuffer *buffer, struct evbuffer_cb_entry *cb)
3451 evbuffer_get_callbacks_(struct evbuffer *buffer, struct event_callback **cbs, in evbuffer_get_callbacks_()