/external/libevent/include/event2/ |
D | bufferevent.h | 701 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 …]
|
D | buffer.h | 117 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);
|
D | http.h | 219 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);
|
D | util.h | 201 #define ev_ssize_t EVENT__ssize_t macro 203 #define ev_ssize_t ssize_t
|
/external/libevent/ |
D | bufferevent_ratelim.c | 197 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 …]
|
D | bufferevent-internal.h | 113 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);
|
D | iocp-internal.h | 37 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);
|
D | bufferevent_async.c | 412 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()
|
D | buffer_iocp.c | 97 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_()
|
D | evbuffer-internal.h | 159 typedef ev_ssize_t ev_misalign_t; 325 int evbuffer_read_setup_vecs_(struct evbuffer *buf, ev_ssize_t howmuch,
|
D | buffer.c | 670 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 …]
|
D | ratelim-internal.h | 41 ev_ssize_t read_limit, write_limit;
|
D | bufferevent_filter.c | 159 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()
|
D | bufferevent_sock.c | 154 ev_ssize_t howmuch = -1, readmax=-1; in bufferevent_readcb() 236 ev_ssize_t atmost = -1; in bufferevent_writecb()
|
D | listener.c | 464 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()
|
D | signal.c | 134 ev_ssize_t n; in evsig_cb()
|
D | event_tagging.c | 318 ev_ssize_t len = evbuffer_get_length(evbuf) - offset; \
|
/external/libevent/test/ |
D | regress_iocp.c | 118 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()
|
D | test-ratelim.c | 203 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()
|
D | regress_zlib.c | 132 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()
|
D | bench.c | 78 ev_ssize_t n; in read_cb()
|
D | regress_ssl.c | 583 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()
|
D | regress_bufferevent.c | 483 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()
|
D | regress_util.c | 389 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/ |
D | http-connect.c | 27 ev_ssize_t len; in get_cb()
|