Lines Matching refs:wrote_bytes
1632 int wrote_bytes; in copy_emulation_prev() local
1668 wrote_bytes = dst - dst_start; in copy_emulation_prev()
1671 return -wrote_bytes; in copy_emulation_prev()
1673 return wrote_bytes; in copy_emulation_prev()
1807 int wrote_bytes; in copy_replace_length_codes() local
1817 wrote_bytes = write_sei(sei, in copy_replace_length_codes()
1822 if (wrote_bytes < 0) in copy_replace_length_codes()
1823 return wrote_bytes; in copy_replace_length_codes()
1825 remaining_dst_size -= wrote_bytes; in copy_replace_length_codes()
1826 dst_data += wrote_bytes; in copy_replace_length_codes()
1865 int wrote_bytes; in copy_replace_length_codes() local
1873 wrote_bytes = write_sei(sei, in copy_replace_length_codes()
1877 if (wrote_bytes < 0) in copy_replace_length_codes()
1878 return wrote_bytes; in copy_replace_length_codes()
1880 if (new_sei + wrote_bytes >= dst_data + remaining_dst_size) in copy_replace_length_codes()
1883 new_sei[wrote_bytes++] = 0x80; in copy_replace_length_codes()
1884 extra_bytes = wrote_bytes - (dst_box + box_len - new_sei); in copy_replace_length_codes()