Searched refs:wbuf_index (Results 1 – 1 of 1) sorted by relevance
/third_party/pulseaudio/src/pulsecore/ |
D | ioline.c | 51 size_t wbuf_length, wbuf_index, wbuf_valid_length; member 78 l->wbuf_length = l->wbuf_index = l->wbuf_valid_length = 0; in pa_ioline_new() 175 memcpy(new, l->wbuf+l->wbuf_index, l->wbuf_valid_length); in pa_ioline_puts() 181 l->wbuf_index = 0; in pa_ioline_puts() 182 } else if (l->wbuf_index + l->wbuf_valid_length + len > l->wbuf_length) { in pa_ioline_puts() 185 memmove(l->wbuf, l->wbuf+l->wbuf_index, l->wbuf_valid_length); in pa_ioline_puts() 186 l->wbuf_index = 0; in pa_ioline_puts() 189 pa_assert(l->wbuf_index + l->wbuf_valid_length + len <= l->wbuf_length); in pa_ioline_puts() 192 memcpy(l->wbuf + l->wbuf_index + l->wbuf_valid_length, c, len); in pa_ioline_puts() 352 if ((r = pa_iochannel_write(l->io, l->wbuf+l->wbuf_index, l->wbuf_valid_length)) < 0) { in do_write() [all …]
|