Home
last modified time | relevance | path

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

/external/libevent/
Dbuffer.c2225 evbuffer_read_setup_vecs_(struct evbuffer *buf, ev_ssize_t howmuch, in evbuffer_read_setup_vecs_() argument
2235 if (howmuch < 0) in evbuffer_read_setup_vecs_()
2248 for (i = 0; i < n_vecs_avail && so_far < (size_t)howmuch; ++i) { in evbuffer_read_setup_vecs_()
2250 if (avail > (howmuch - so_far) && exact) in evbuffer_read_setup_vecs_()
2251 avail = howmuch - so_far; in evbuffer_read_setup_vecs_()
2284 evbuffer_read(struct evbuffer *buf, evutil_socket_t fd, int howmuch) in evbuffer_read() argument
2307 if (howmuch < 0 || howmuch > n) in evbuffer_read()
2308 howmuch = n; in evbuffer_read()
2313 if (evbuffer_expand_fast_(buf, howmuch, NUM_READ_IOVEC) == -1) { in evbuffer_read()
2319 nvecs = evbuffer_read_setup_vecs_(buf, howmuch, vecs, in evbuffer_read()
[all …]
Dbufferevent_sock.c156 ev_ssize_t howmuch = -1, readmax=-1; in bufferevent_readcb() local
175 howmuch = bufev->wm_read.high - evbuffer_get_length(input); in bufferevent_readcb()
177 if (howmuch <= 0) { in bufferevent_readcb()
183 if (howmuch < 0 || howmuch > readmax) /* The use of -1 for "unlimited" in bufferevent_readcb()
185 howmuch = readmax; in bufferevent_readcb()
190 …res = evbuffer_read(input, fd, (int)howmuch); /* XXXX evbuffer_read would do better to take and re… in bufferevent_readcb()
Devbuffer-internal.h325 int evbuffer_read_setup_vecs_(struct evbuffer *buf, ev_ssize_t howmuch,
/external/libevent/include/event2/
Dbuffer.h722 ev_ssize_t howmuch);
735 int evbuffer_read(struct evbuffer *buffer, evutil_socket_t fd, int howmuch);
/external/python/cpython2/Lib/
Dpoplib.py299 def top(self, which, howmuch): argument
305 return self._longcmd('TOP %s %s' % (which, howmuch))
/external/python/cpython3/Lib/
Dpoplib.py339 def top(self, which, howmuch): argument
345 return self._longcmd('TOP %s %s' % (which, howmuch))
/external/python/cpython2/Doc/library/
Dpoplib.rst158 .. method:: POP3.top(which, howmuch)
160 Retrieves the message header plus *howmuch* lines of the message after the
/external/python/cpython3/Doc/library/
Dpoplib.rst210 .. method:: POP3.top(which, howmuch)
212 Retrieves the message header plus *howmuch* lines of the message after the