Searched refs:wbuf_valid_length (Results 1 – 1 of 1) sorted by relevance
51 size_t wbuf_length, wbuf_index, wbuf_valid_length; member78 l->wbuf_length = l->wbuf_index = l->wbuf_valid_length = 0; in pa_ioline_new()163 if (len > BUFFER_LIMIT - l->wbuf_valid_length) in pa_ioline_puts()164 len = BUFFER_LIMIT - l->wbuf_valid_length; in pa_ioline_puts()167 pa_assert(l->wbuf_length >= l->wbuf_valid_length); in pa_ioline_puts()170 if (l->wbuf_valid_length + len > l->wbuf_length) { in pa_ioline_puts()171 size_t n = l->wbuf_valid_length+len; in pa_ioline_puts()175 memcpy(new, l->wbuf+l->wbuf_index, l->wbuf_valid_length); 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()[all …]