Lines Matching refs:end_count
349 size_t end_count; /* bytes in the last buffer */ member
369 buffer->end_count = 0; in buffer_start_write()
452 buffer->end_count = count; in buffer_from_file()
737 (last == bp->last && read_count >= bp->end_count)) in buffer_read()
1192 size_t end_count = buffer->end_count; in buffer_write() local
1198 if (end_count >= sizeof last->buffer) in buffer_write()
1212 end_count = 0; in buffer_write()
1215 avail = (sizeof last->buffer) - end_count; in buffer_write()
1219 memcpy(last->buffer + end_count, data, avail); in buffer_write()
1220 end_count += avail; in buffer_write()
1225 buffer->end_count = end_count; in buffer_write()