Home
last modified time | relevance | path

Searched refs:ev_ssize_t (Results 1 – 25 of 29) sorted by relevance

12

/external/libevent/include/event2/
Dbufferevent.h701 struct evbuffer *src, struct evbuffer *dst, ev_ssize_t dst_limit,
906 ev_ssize_t bufferevent_get_max_single_read(struct bufferevent *bev);
910 ev_ssize_t bufferevent_get_max_single_write(struct bufferevent *bev);
924 ev_ssize_t bufferevent_get_read_limit(struct bufferevent *bev);
926 ev_ssize_t bufferevent_get_write_limit(struct bufferevent *bev);
930 ev_ssize_t bufferevent_get_max_to_read(struct bufferevent *bev);
932 ev_ssize_t bufferevent_get_max_to_write(struct bufferevent *bev);
947 ev_ssize_t bufferevent_rate_limit_group_get_read_limit(
950 ev_ssize_t bufferevent_rate_limit_group_get_write_limit(
969 int bufferevent_decrement_read_limit(struct bufferevent *bev, ev_ssize_t decr);
[all …]
Dbuffer.h117 ev_ssize_t pos;
299 evbuffer_reserve_space(struct evbuffer *buf, ev_ssize_t size,
365 ev_ssize_t evbuffer_copyout(struct evbuffer *buf, void *data_out, size_t datlen);
380 ev_ssize_t evbuffer_copyout_from(struct evbuffer *buf, const struct evbuffer_ptr *pos, void *data_o…
722 ev_ssize_t howmuch);
853 int evbuffer_peek(struct evbuffer *buffer, ev_ssize_t len,
993 unsigned char *evbuffer_pullup(struct evbuffer *buf, ev_ssize_t size);
Dhttp.h219 void evhttp_set_max_headers_size(struct evhttp* http, ev_ssize_t max_headers_size);
222 void evhttp_set_max_body_size(struct evhttp* http, ev_ssize_t max_body_size);
703 ev_ssize_t new_max_headers_size);
707 ev_ssize_t new_max_body_size);
926 char *evhttp_uriencode(const char *str, ev_ssize_t size, int space_to_plus);
Dutil.h201 #define ev_ssize_t EVENT__ssize_t macro
203 #define ev_ssize_t ssize_t
/external/libevent/
Dbufferevent_ratelim.c197 static inline ev_ssize_t
201 ev_ssize_t max_so_far = is_write?bev->max_single_write:bev->max_single_read; in bufferevent_get_rlim_max_()
231 ev_ssize_t share; in bufferevent_get_rlim_max_()
260 ev_ssize_t
266 ev_ssize_t
273 bufferevent_decrement_read_buckets_(struct bufferevent_private *bev, ev_ssize_t bytes) in bufferevent_decrement_read_buckets_()
311 bufferevent_decrement_write_buckets_(struct bufferevent_private *bev, ev_ssize_t bytes) in bufferevent_decrement_write_buckets_()
686 if (g->rate_limit.read_limit > (ev_ssize_t)cfg->read_maximum) in bufferevent_rate_limit_group_set_cfg()
688 if (g->rate_limit.write_limit > (ev_ssize_t)cfg->write_maximum) in bufferevent_rate_limit_group_set_cfg()
821 ev_ssize_t
[all …]
Dbufferevent-internal.h113 ev_ssize_t min_share;
114 ev_ssize_t configured_min_share;
211 ev_ssize_t max_single_read;
215 ev_ssize_t max_single_write;
469 ev_ssize_t bytes);
471 ev_ssize_t bytes);
472 ev_ssize_t bufferevent_get_read_max_(struct bufferevent_private *bev);
473 ev_ssize_t bufferevent_get_write_max_(struct bufferevent_private *bev);
Diocp-internal.h37 typedef void (*iocp_callback)(struct event_overlapped *, ev_uintptr_t, ev_ssize_t, int success);
148 int evbuffer_launch_write_(struct evbuffer *buf, ev_ssize_t n, struct event_overlapped *ol);
151 void evbuffer_commit_read_(struct evbuffer *, ev_ssize_t);
152 void evbuffer_commit_write_(struct evbuffer *, ev_ssize_t);
Dbufferevent_async.c412 ev_ssize_t nbytes, int ok) in connect_complete()
441 ev_ssize_t nbytes, int ok) in read_complete()
446 ev_ssize_t amount_unread; in read_complete()
480 ev_ssize_t nbytes, int ok) in write_complete()
485 ev_ssize_t amount_unwritten; in write_complete()
Dbuffer_iocp.c97 evbuffer_commit_read_(struct evbuffer *evbuf, ev_ssize_t nBytes) in evbuffer_commit_read_()
138 evbuffer_commit_write_(struct evbuffer *evbuf, ev_ssize_t nBytes) in evbuffer_commit_write_()
171 evbuffer_launch_write_(struct evbuffer *buf, ev_ssize_t at_most, in evbuffer_launch_write_()
Devbuffer-internal.h159 typedef ev_ssize_t ev_misalign_t;
325 int evbuffer_read_setup_vecs_(struct evbuffer *buf, ev_ssize_t howmuch,
Dbuffer.c670 evbuffer_reserve_space(struct evbuffer *buf, ev_ssize_t size, in evbuffer_reserve_space()
1167 ev_ssize_t n; in evbuffer_remove()
1178 ev_ssize_t
1184 ev_ssize_t
1192 ev_ssize_t result = 0; in evbuffer_copyout_from()
1345 evbuffer_pullup(struct evbuffer *buf, ev_ssize_t size) in evbuffer_pullup()
1349 ev_ssize_t remaining; in evbuffer_pullup()
1466 static inline ev_ssize_t
1515 static ev_ssize_t
1633 ev_ssize_t start_pos = it.pos; in evbuffer_search_eol()
[all …]
Dratelim-internal.h41 ev_ssize_t read_limit, write_limit;
Dbufferevent_filter.c159 be_null_filter(struct evbuffer *src, struct evbuffer *dst, ev_ssize_t lim, in be_null_filter()
318 ev_ssize_t limit = -1; in be_filter_process_input()
372 ev_ssize_t limit = -1; in be_filter_process_output()
Dbufferevent_sock.c154 ev_ssize_t howmuch = -1, readmax=-1; in bufferevent_readcb()
236 ev_ssize_t atmost = -1; in bufferevent_writecb()
Dlistener.c464 ev_ssize_t n, int ok);
664 accepted_socket_cb(struct event_overlapped *o, ev_uintptr_t key, ev_ssize_t n, int ok) in accepted_socket_cb()
Dsignal.c134 ev_ssize_t n; in evsig_cb()
Devent_tagging.c318 ev_ssize_t len = evbuffer_get_length(evbuf) - offset; \
/external/libevent/test/
Dregress_iocp.c118 ev_ssize_t sizes[MAX_CALLS];
122 dummy_cb(struct event_overlapped *o, uintptr_t key, ev_ssize_t n, int ok) in dummy_cb()
139 pair_is_in(struct dummy_overlapped *o, uintptr_t key, ev_ssize_t n) in pair_is_in()
215 ev_ssize_t nbytes, int ok) in read_complete()
226 ev_ssize_t nbytes, int ok) in write_complete()
Dtest-ratelim.c203 ev_ssize_t r = bufferevent_get_read_limit(bev); in check_bucket_levels_cb()
204 ev_ssize_t w = bufferevent_get_write_limit(bev); in check_bucket_levels_cb()
205 ev_ssize_t rm = bufferevent_get_max_to_read(bev); in check_bucket_levels_cb()
206 ev_ssize_t wm = bufferevent_get_max_to_write(bev); in check_bucket_levels_cb()
232 ev_ssize_t r = bufferevent_rate_limit_group_get_read_limit(ratelim_group); in check_group_bucket_levels_cb()
233 ev_ssize_t w = bufferevent_rate_limit_group_get_write_limit(ratelim_group); in check_group_bucket_levels_cb()
Dregress_zlib.c132 ev_ssize_t lim, enum bufferevent_flush_mode state, void *ctx) in zlib_input_filter()
186 ev_ssize_t lim, enum bufferevent_flush_mode state, void *ctx) in zlib_output_filter()
Dbench.c78 ev_ssize_t n; in read_cb()
Dregress_ssl.c583 ev_ssize_t ret = recv(rw->fd, out, outlen, 0); in bio_rwcount_read()
595 ev_ssize_t ret = send(rw->fd, in, inlen, 0); in bio_rwcount_write()
Dregress_bufferevent.c483 ev_ssize_t lim, enum bufferevent_flush_mode state, void *ctx) in bufferevent_input_filter()
505 ev_ssize_t lim, enum bufferevent_flush_mode state, void *ctx) in bufferevent_output_filter()
1250 struct evbuffer *src, struct evbuffer *dst, ev_ssize_t dst_limit, in bufferevent_filter_data_stuck_inputcb()
Dregress_util.c389 ev_ssize_t ssize = -9000; in test_evutil_snprintf()
702 ev_ssize_t ssize; in test_evutil_integers()
713 tt_int_op(sizeof(ev_ssize_t), ==, sizeof(size_t)); in test_evutil_integers()
/external/libevent/sample/
Dhttp-connect.c27 ev_ssize_t len; in get_cb()

12