Home
last modified time | relevance | path

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

/external/libevent/
Dbuffer.c2214 evbuffer_read_setup_vecs_(struct evbuffer *buf, ev_ssize_t howmuch, in evbuffer_read_setup_vecs_() argument
2224 if (howmuch < 0) in evbuffer_read_setup_vecs_()
2235 for (i = 0; i < n_vecs_avail && so_far < (size_t)howmuch; ++i) { in evbuffer_read_setup_vecs_()
2237 if (avail > (howmuch - so_far) && exact) in evbuffer_read_setup_vecs_()
2238 avail = howmuch - so_far; in evbuffer_read_setup_vecs_()
2271 evbuffer_read(struct evbuffer *buf, evutil_socket_t fd, int howmuch) in evbuffer_read() argument
2294 if (howmuch < 0 || howmuch > n) in evbuffer_read()
2295 howmuch = n; in evbuffer_read()
2300 if (evbuffer_expand_fast_(buf, howmuch, NUM_READ_IOVEC) == -1) { in evbuffer_read()
2306 nvecs = evbuffer_read_setup_vecs_(buf, howmuch, vecs, in evbuffer_read()
[all …]
Dbufferevent_sock.c154 ev_ssize_t howmuch = -1, readmax=-1; in bufferevent_readcb() local
173 howmuch = bufev->wm_read.high - evbuffer_get_length(input); in bufferevent_readcb()
175 if (howmuch <= 0) { in bufferevent_readcb()
181 if (howmuch < 0 || howmuch > readmax) /* The use of -1 for "unlimited" in bufferevent_readcb()
183 howmuch = readmax; in bufferevent_readcb()
188 …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);
734 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.py334 def top(self, which, howmuch): argument
340 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.rst187 .. method:: POP3.top(which, howmuch)
189 Retrieves the message header plus *howmuch* lines of the message after the