Lines Matching defs:toread
135 int toread;136 void *ptr = pa_ringbuffer_peek(&sr->rb_read, &toread);138 if ((size_t) toread > l)139 toread = l;141 if (toread == 0)144 memcpy(data, ptr, toread);146 if (pa_ringbuffer_drop(&sr->rb_read, toread)) {153 isread += toread;154 data = (uint8_t*) data + toread;155 l -= toread;