Lines Matching refs:buf_fill
44 if (u->buf_fill >= BUF_MAX) {
49 if ((r = pa_read(u->fd, u->buf + u->buf_fill, BUF_MAX - u->buf_fill, &u->fd_type)) <= 0)
52 u->buf_fill += (size_t) r;
60 if (u->buf_fill < 1)
65 pa_assert(u->buf_fill > 0);
66 u->buf_fill--;
67 memmove(u->buf, u->buf+1, u->buf_fill);
77 if ((e = memchr(u->buf, 0, u->buf_fill))) {
79 u->buf_fill -= (size_t) (e - u->buf +1);
80 memmove(u->buf, e+1, u->buf_fill);
252 } while (u->buf_fill > 0 && ret == 0);