Lines Matching refs:end_count
364 size_t end_count; /* bytes in the last buffer */ member
403 buffer->end_count = 0; in buffer_start_write()
484 buffer->end_count = count; in buffer_from_file()
809 (last == bp->last && read_count >= bp->end_count)) in buffer_read()
1261 size_t end_count = buffer->end_count; in buffer_write() local
1267 if (end_count >= sizeof last->buffer) in buffer_write()
1281 end_count = 0; in buffer_write()
1284 avail = (sizeof last->buffer) - end_count; in buffer_write()
1288 memcpy(last->buffer + end_count, data, avail); in buffer_write()
1289 end_count += avail; in buffer_write()
1294 buffer->end_count = end_count; in buffer_write()