Lines Matching refs:end_count
375 size_t end_count; /* bytes in the last buffer */ member
414 buffer->end_count = 0; in buffer_start_write()
495 buffer->end_count = count; in buffer_from_file()
820 (last == bp->last && read_count >= bp->end_count)) in buffer_read()
1277 size_t end_count = buffer->end_count; in buffer_write() local
1283 if (end_count >= sizeof last->buffer) in buffer_write()
1297 end_count = 0; in buffer_write()
1300 avail = (sizeof last->buffer) - end_count; in buffer_write()
1304 memcpy(last->buffer + end_count, data, avail); in buffer_write()
1305 end_count += avail; in buffer_write()
1310 buffer->end_count = end_count; in buffer_write()