Home
last modified time | relevance | path

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

/external/libevent/include/event2/
Dbufferevent.h556 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 …]
Dbuffer.h110 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);
Dhttp.h190 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);
Dutil.h191 #define ev_ssize_t _EVENT_ssize_t macro
193 #define ev_ssize_t ssize_t
/external/libevent/
Dbufferevent_ratelim.c199 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 …]
Dbufferevent-internal.h100 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);
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);
Devbuffer-internal.h157 typedef ev_ssize_t ev_misalign_t;
272 int _evbuffer_read_setup_vecs(struct evbuffer *buf, ev_ssize_t howmuch,
Dbuffer.c150 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 …]
Dbuffer_iocp.c96 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()
Dbufferevent_async.c414 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()
Dbufferevent_filter.c150 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()
Dratelim-internal.h41 ev_ssize_t read_limit, write_limit;
Dbufferevent_sock.c131 ev_ssize_t howmuch = -1, readmax=-1; in bufferevent_readcb()
210 ev_ssize_t atmost = -1; in bufferevent_writecb()
Dsignal.c133 ev_ssize_t n; in evsig_cb()
Dlistener.c461 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()
Devent_tagging.c309 ev_ssize_t len = evbuffer_get_length(evbuf) - offset; \
Dhttp.c628 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()
Dbufferevent_openssl.c304 ev_ssize_t last_write;
725 ev_ssize_t limit; in bytes_to_read()
Devent.c2735 ev_ssize_t r; in evthread_notify_drain_eventfd()