Lines Matching refs:bits_in_last_byte
299 libspectrum_byte bits_in_last_byte; in tzx_read_turbo_block() local
333 bits_in_last_byte = **ptr; in tzx_read_turbo_block()
344 if( bits_in_last_byte == 0 && length >= 1 ) { in tzx_read_turbo_block()
345 bits_in_last_byte = 8; in tzx_read_turbo_block()
349 if( bits_in_last_byte > 8 ) { in tzx_read_turbo_block()
350 bits_in_last_byte = 8; in tzx_read_turbo_block()
353 libspectrum_tape_block_set_bits_in_last_byte( block, bits_in_last_byte ); in tzx_read_turbo_block()
442 libspectrum_byte bits_in_last_byte; in tzx_read_pure_data() local
464 bits_in_last_byte = **ptr; in tzx_read_pure_data()
474 if( bits_in_last_byte == 0 && length > 1 ) { in tzx_read_pure_data()
475 bits_in_last_byte = 8; in tzx_read_pure_data()
479 if( bits_in_last_byte > 8 ) { in tzx_read_pure_data()
480 bits_in_last_byte = 8; in tzx_read_pure_data()
483 libspectrum_tape_block_set_bits_in_last_byte( block, bits_in_last_byte ); in tzx_read_pure_data()
498 libspectrum_byte bits_in_last_byte; in tzx_read_raw_data() local
515 bits_in_last_byte = (*ptr)[4]; in tzx_read_raw_data()
522 if( bits_in_last_byte == 0 && length >= 1 ) { in tzx_read_raw_data()
523 bits_in_last_byte = 8; in tzx_read_raw_data()
527 if( bits_in_last_byte > 8 ) { in tzx_read_raw_data()
528 bits_in_last_byte = 8; in tzx_read_raw_data()
531 libspectrum_tape_block_set_bits_in_last_byte( block, bits_in_last_byte ); in tzx_read_raw_data()