/external/libevent/include/event2/ |
D | bufferevent.h | 556 struct evbuffer *src, struct evbuffer *dst, ev_ssize_t dst_limit, 738 ev_ssize_t bufferevent_get_read_limit(struct bufferevent *bev); 739 ev_ssize_t bufferevent_get_write_limit(struct bufferevent *bev); 742 ev_ssize_t bufferevent_get_max_to_read(struct bufferevent *bev); 743 ev_ssize_t bufferevent_get_max_to_write(struct bufferevent *bev); 754 ev_ssize_t bufferevent_rate_limit_group_get_read_limit( 756 ev_ssize_t bufferevent_rate_limit_group_get_write_limit( 774 int bufferevent_decrement_read_limit(struct bufferevent *bev, ev_ssize_t decr); 775 int bufferevent_decrement_write_limit(struct bufferevent *bev, ev_ssize_t decr); 792 struct bufferevent_rate_limit_group *, ev_ssize_t); [all …]
|
D | buffer.h | 110 ev_ssize_t pos; 280 evbuffer_reserve_space(struct evbuffer *buf, ev_ssize_t size, 342 ev_ssize_t evbuffer_copyout(struct evbuffer *buf, void *data_out, size_t datlen); 533 ev_ssize_t howmuch); 649 int evbuffer_peek(struct evbuffer *buffer, ev_ssize_t len, 780 unsigned char *evbuffer_pullup(struct evbuffer *buf, ev_ssize_t size);
|
D | http.h | 190 void evhttp_set_max_headers_size(struct evhttp* http, ev_ssize_t max_headers_size); 192 void evhttp_set_max_body_size(struct evhttp* http, ev_ssize_t max_body_size); 461 ev_ssize_t new_max_headers_size); 464 ev_ssize_t new_max_body_size); 625 char *evhttp_uriencode(const char *str, ev_ssize_t size, int space_to_plus);
|
D | util.h | 191 #define ev_ssize_t _EVENT_ssize_t macro 193 #define ev_ssize_t ssize_t
|
/external/libevent/ |
D | bufferevent_ratelim.c | 199 static inline ev_ssize_t 203 ev_ssize_t max_so_far = is_write?MAX_TO_WRITE_EVER:MAX_TO_READ_EVER; in _bufferevent_get_rlim_max() 233 ev_ssize_t share; in _bufferevent_get_rlim_max() 262 ev_ssize_t 268 ev_ssize_t 275 _bufferevent_decrement_read_buckets(struct bufferevent_private *bev, ev_ssize_t bytes) in _bufferevent_decrement_read_buckets() 313 _bufferevent_decrement_write_buckets(struct bufferevent_private *bev, ev_ssize_t bytes) in _bufferevent_decrement_write_buckets() 682 if (g->rate_limit.read_limit > (ev_ssize_t)cfg->read_maximum) in bufferevent_rate_limit_group_set_cfg() 684 if (g->rate_limit.write_limit > (ev_ssize_t)cfg->write_maximum) in bufferevent_rate_limit_group_set_cfg() 817 ev_ssize_t [all …]
|
D | bufferevent-internal.h | 100 ev_ssize_t min_share; 101 ev_ssize_t configured_min_share; 399 ev_ssize_t bytes); 401 ev_ssize_t bytes); 402 ev_ssize_t _bufferevent_get_read_max(struct bufferevent_private *bev); 403 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 | evbuffer-internal.h | 157 typedef ev_ssize_t ev_misalign_t; 272 int _evbuffer_read_setup_vecs(struct evbuffer *buf, ev_ssize_t howmuch,
|
D | buffer.c | 150 ev_ssize_t howmuch); 622 evbuffer_reserve_space(struct evbuffer *buf, ev_ssize_t size, in evbuffer_reserve_space() 1033 ev_ssize_t n; in evbuffer_remove() 1044 ev_ssize_t 1051 ev_ssize_t result = 0; in evbuffer_copyout() 1185 evbuffer_pullup(struct evbuffer *buf, ev_ssize_t size) in evbuffer_pullup() 1189 ev_ssize_t remaining; in evbuffer_pullup() 1306 static inline ev_ssize_t 1355 static ev_ssize_t 2033 _evbuffer_read_setup_vecs(struct evbuffer *buf, ev_ssize_t howmuch, in _evbuffer_read_setup_vecs() [all …]
|
D | buffer_iocp.c | 96 evbuffer_commit_read(struct evbuffer *evbuf, ev_ssize_t nBytes) in evbuffer_commit_read() 137 evbuffer_commit_write(struct evbuffer *evbuf, ev_ssize_t nBytes) in evbuffer_commit_write() 170 evbuffer_launch_write(struct evbuffer *buf, ev_ssize_t at_most, in evbuffer_launch_write()
|
D | bufferevent_async.c | 414 ev_ssize_t nbytes, int ok) in connect_complete() 443 ev_ssize_t nbytes, int ok) in read_complete() 448 ev_ssize_t amount_unread; in read_complete() 483 ev_ssize_t nbytes, int ok) in write_complete() 488 ev_ssize_t amount_unwritten; in write_complete()
|
D | bufferevent_filter.c | 150 be_null_filter(struct evbuffer *src, struct evbuffer *dst, ev_ssize_t lim, in be_null_filter() 293 ev_ssize_t limit = -1; in be_filter_process_input() 346 ev_ssize_t limit = -1; in be_filter_process_output()
|
D | ratelim-internal.h | 41 ev_ssize_t read_limit, write_limit;
|
D | bufferevent_sock.c | 131 ev_ssize_t howmuch = -1, readmax=-1; in bufferevent_readcb() 210 ev_ssize_t atmost = -1; in bufferevent_writecb()
|
D | signal.c | 133 ev_ssize_t n; in evsig_cb()
|
D | listener.c | 461 ev_ssize_t n, int ok); 660 accepted_socket_cb(struct event_overlapped *o, ev_uintptr_t key, ev_ssize_t n, int ok) in accepted_socket_cb()
|
D | event_tagging.c | 309 ev_ssize_t len = evbuffer_get_length(evbuf) - offset; \
|
D | http.c | 628 ev_ssize_t new_max_headers_size) in evhttp_connection_set_max_headers_size() 637 ev_ssize_t new_max_body_size) in evhttp_connection_set_max_body_size() 2674 evhttp_uriencode(const char *uri, ev_ssize_t len, int space_as_plus) in evhttp_uriencode() 3377 evhttp_set_max_headers_size(struct evhttp* http, ev_ssize_t max_headers_size) in evhttp_set_max_headers_size() 3386 evhttp_set_max_body_size(struct evhttp* http, ev_ssize_t max_body_size) in evhttp_set_max_body_size() 4047 ev_ssize_t n_chars = eos-s-2; in bracket_addr_ok()
|
D | bufferevent_openssl.c | 304 ev_ssize_t last_write; 725 ev_ssize_t limit; in bytes_to_read()
|
D | event.c | 2735 ev_ssize_t r; in evthread_notify_drain_eventfd()
|