Lines Matching refs:inbuf_length
83 size_t inbuf_length, outbuf_length;
140 c->inbuf_length = c->outbuf_length = 0;
374 if (!(e = memchr(c->inbuf, '\n', c->inbuf_length)))
381 c->inbuf_length -= k + 1;
382 memmove(c->inbuf, e+1, c->inbuf_length);
391 if ((events & AVAHI_WATCH_IN) && c->inbuf_length < sizeof(c->inbuf)) {
394 if ((r = read(c->fd, c->inbuf + c->inbuf_length, sizeof(c->inbuf) - c->inbuf_length)) <= 0) {
401 c->inbuf_length += r;
402 assert(c->inbuf_length <= sizeof(c->inbuf));
431 (c->inbuf_length < sizeof(c->inbuf) ? AVAHI_WATCH_IN : 0));