Lines Matching refs:byte_count
43 unsigned int byte_count)
49 while (consumed < byte_count && !cntr->interrupted) {
50 result = read(cntr->fd, dst + consumed, byte_count - consumed);
73 unsigned int byte_count)
79 while (consumed < byte_count && !cntr->interrupted) {
80 result = write(cntr->fd, src + consumed, byte_count - consumed);
288 uint64_t byte_count = 0;
299 byte_count = cntr->max_size;
303 frames_per_second, &byte_count);
324 assert(byte_count > 0);
331 *frame_count = byte_count / bytes_per_frame;
365 unsigned int byte_count;
380 byte_count = target_byte_count;
385 byte_count -= sizeof(cntr->magic);
390 if (cntr->handled_byte_count > cntr->max_size - byte_count)
391 byte_count = cntr->max_size - cntr->handled_byte_count;
395 err = cntr->process_bytes(cntr, buf, byte_count);