Home
last modified time | relevance | path

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

/external/chromium/third_party/libevent/
Dbuffer.c350 evbuffer_read(struct evbuffer *buf, int fd, int howmuch) argument
364 } else if (n > EVBUFFER_MAX_READ && n > howmuch) {
378 if (howmuch < 0 || howmuch > n)
379 howmuch = n;
382 if (evbuffer_expand(buf, howmuch) == -1)
389 n = read(fd, p, howmuch);
391 n = recv(fd, p, howmuch, 0);
Devbuffer.c99 int howmuch = -1; in bufferevent_readcb() local
111 howmuch = bufev->wm_read.high - EVBUFFER_LENGTH(bufev->input); in bufferevent_readcb()
113 if (howmuch <= 0) { in bufferevent_readcb()
122 res = evbuffer_read(bufev->input, fd, howmuch); in bufferevent_readcb()