Home
last modified time | relevance | path

Searched refs:howmuch (Results 1 – 4 of 4) sorted by relevance

/external/libevent/
Dbuffer.c150 ev_ssize_t howmuch);
2033 _evbuffer_read_setup_vecs(struct evbuffer *buf, ev_ssize_t howmuch, in _evbuffer_read_setup_vecs() argument
2043 if (howmuch < 0) in _evbuffer_read_setup_vecs()
2054 for (i = 0; i < n_vecs_avail && so_far < (size_t)howmuch; ++i) { in _evbuffer_read_setup_vecs()
2056 if (avail > (howmuch - so_far) && exact) in _evbuffer_read_setup_vecs()
2057 avail = howmuch - so_far; in _evbuffer_read_setup_vecs()
2090 evbuffer_read(struct evbuffer *buf, evutil_socket_t fd, int howmuch) in evbuffer_read() argument
2113 if (howmuch < 0 || howmuch > n) in evbuffer_read()
2114 howmuch = n; in evbuffer_read()
2119 if (_evbuffer_expand_fast(buf, howmuch, NUM_READ_IOVEC) == -1) { in evbuffer_read()
[all …]
Dbufferevent_sock.c131 ev_ssize_t howmuch = -1, readmax=-1; in bufferevent_readcb() local
150 howmuch = bufev->wm_read.high - evbuffer_get_length(input); in bufferevent_readcb()
152 if (howmuch <= 0) { in bufferevent_readcb()
158 if (howmuch < 0 || howmuch > readmax) /* The use of -1 for "unlimited" in bufferevent_readcb()
160 howmuch = readmax; in bufferevent_readcb()
165 …res = evbuffer_read(input, fd, (int)howmuch); /* XXXX evbuffer_read would do better to take and re… in bufferevent_readcb()
Devbuffer-internal.h272 int _evbuffer_read_setup_vecs(struct evbuffer *buf, ev_ssize_t howmuch,
/external/libevent/include/event2/
Dbuffer.h533 ev_ssize_t howmuch);
544 int evbuffer_read(struct evbuffer *buffer, evutil_socket_t fd, int howmuch);