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