Searched refs:buf_fill (Results 1 – 5 of 5) sorted by relevance
44 if (u->buf_fill >= BUF_MAX) { in fill_buf()49 if ((r = pa_read(u->fd, u->buf + u->buf_fill, BUF_MAX - u->buf_fill, &u->fd_type)) <= 0) in fill_buf()52 u->buf_fill += (size_t) r; in fill_buf()60 if (u->buf_fill < 1) in read_byte()65 pa_assert(u->buf_fill > 0); in read_byte()66 u->buf_fill--; in read_byte()67 memmove(u->buf, u->buf+1, u->buf_fill); in read_byte()77 if ((e = memchr(u->buf, 0, u->buf_fill))) { in read_string()79 u->buf_fill -= (size_t) (e - u->buf +1); in read_string()80 memmove(u->buf, e+1, u->buf_fill); in read_string()[all …]
62 size_t buf_fill; member
47 size_t buf_fill; /* filled buffer size in bytes */ member55 hw->buf_fill = 0; in buf_reset()203 while (hw->buf_fill >= sizeof(*f)) { in read_from_ts_buf()210 hw->buf_fill -= sizeof(*f); in read_from_ts_buf()213 while (size > 0 && hw->buf_fill >= sizeof(*f)) { in read_from_ts_buf()237 hw->buf_fill -= sizeof(*f); in read_from_ts_buf()253 if (hw->buf_fill > 0) { in snd_rawmidi_hw_tread()256 hw->buf_fill >= sizeof(struct snd_rawmidi_framing_tstamp)) in snd_rawmidi_hw_tread()268 hw->buf_fill = ret; in snd_rawmidi_hw_tread()
67 void buf_fill(uint8_t * buf) in buf_fill() function96 buf_fill(buf); in write_file()132 buf_fill(buf_actual); in verify_file()
51 u->buf_fill = 0; in pa__init()