/dports/devel/py-bitstring/bitstring-3.1.9/ |
H A D | bitstring.py | 319 bits_in_last_byte = (s.offset + s.bitlength) % 8 320 if not bits_in_last_byte: 321 bits_in_last_byte = 8 322 if bits_in_last_byte > shiftleft: 329 bits_in_last_byte = (s.offset + s.bitlength) % 8 330 if not bits_in_last_byte: 331 bits_in_last_byte = 8 332 if bits_in_last_byte + shiftright > 8:
|
/dports/emulators/libspectrum/libspectrum-1.5.0/ |
H A D | pzx_read.c | 235 size_t bits_in_last_byte; in read_data_block() local 256 bits_in_last_byte = in read_data_block() 301 libspectrum_tape_block_set_bits_in_last_byte( block, bits_in_last_byte ); in read_data_block()
|
H A D | tape.c | 741 state->bits_through_byte = 8 - block->bits_in_last_byte; in turbo_next_bit() 850 state->bits_through_byte = 8 - block->bits_in_last_byte; in libspectrum_tape_pure_data_next_bit() 915 block->bits_in_last_byte : 8; in libspectrum_tape_raw_data_next_bit() 1169 state->bits_through_byte = 8 - block->bits_in_last_byte; in libspectrum_tape_data_block_next_bit()
|
H A D | tape_accessors.c | 86 case LIBSPECTRUM_TAPE_BLOCK_DATA_BLOCK: return block->types.data_block.bits_in_last_byte; in libspectrum_tape_block_bits_in_last_byte() 87 case LIBSPECTRUM_TAPE_BLOCK_PURE_DATA: return block->types.pure_data.bits_in_last_byte; in libspectrum_tape_block_bits_in_last_byte() 88 case LIBSPECTRUM_TAPE_BLOCK_RAW_DATA: return block->types.raw_data.bits_in_last_byte; in libspectrum_tape_block_bits_in_last_byte() 89 case LIBSPECTRUM_TAPE_BLOCK_TURBO: return block->types.turbo.bits_in_last_byte; in libspectrum_tape_block_bits_in_last_byte()
|
H A D | tape_block.c | 605 turbo->bits_in_last_byte ); in turbo_block_length() 619 turbo->bits_in_last_byte ); in turbo_block_length() 644 pure_data->bits_in_last_byte ); in pure_data_block_length() 658 pure_data->bits_in_last_byte ); in pure_data_block_length() 670 ( LIBSPECTRUM_BITS_IN_BYTE - raw_data->bits_in_last_byte ) ) * in raw_data_block_length() 737 data_block->bits_in_last_byte ); in data_block_length() 765 data_block->bits_in_last_byte ); in data_block_length()
|
H A D | tape_block.h | 66 size_t bits_in_last_byte; /* How many bits are in the last byte? */ member 132 size_t bits_in_last_byte; /* How many bits are in the last byte? */ member 160 size_t bits_in_last_byte; /* How many bits are in the last byte? */ member 397 size_t bits_in_last_byte; /* How many bits are in the last byte? */ member
|
H A D | tape_set.c | 88 …pectrum_tape_block_set_bits_in_last_byte( libspectrum_tape_block *block, size_t bits_in_last_byte ) in libspectrum_tape_block_set_bits_in_last_byte() argument 92 …IBSPECTRUM_TAPE_BLOCK_DATA_BLOCK: block->types.data_block.bits_in_last_byte = bits_in_last_byte; b… in libspectrum_tape_block_set_bits_in_last_byte() 93 … LIBSPECTRUM_TAPE_BLOCK_PURE_DATA: block->types.pure_data.bits_in_last_byte = bits_in_last_byte; b… in libspectrum_tape_block_set_bits_in_last_byte() 94 …se LIBSPECTRUM_TAPE_BLOCK_RAW_DATA: block->types.raw_data.bits_in_last_byte = bits_in_last_byte; b… in libspectrum_tape_block_set_bits_in_last_byte() 95 …case LIBSPECTRUM_TAPE_BLOCK_TURBO: block->types.turbo.bits_in_last_byte = bits_in_last_byte; break; in libspectrum_tape_block_set_bits_in_last_byte()
|
H A D | tzx_read.c | 333 bits_in_last_byte = **ptr; 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() 464 bits_in_last_byte = **ptr; 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() 523 bits_in_last_byte = 8; in tzx_read_raw_data() 527 if( bits_in_last_byte > 8 ) { in tzx_read_raw_data() [all …]
|
/dports/emulators/libspectrum/libspectrum-1.5.0/test/ |
H A D | complete-tzx.pl | 60 $zero_length, $one_length, $data, $bits_in_last_byte, $pause ) = @_; 69 write_byte( $bits_in_last_byte ); 98 my( $zero_length, $one_length, $data, $bits_in_last_byte, $pause ) = @_; 103 write_byte( $bits_in_last_byte );
|
/dports/emulators/mame/mame-mame0226/src/lib/formats/ |
H A D | tzx_cas.cpp | 229 …ize, int pilot, int pilot_length, int sync1, int sync2, int bit0, int bit1, int bits_in_last_byte ) in tzx_cas_handle_block() argument 267 int bits_to_go = (data_index == (data_size - 1)) ? bits_in_last_byte : 8; in tzx_cas_handle_block() 294 …t16_t **buffer, const uint8_t *bytes, int pause, int data_size, int tstates, int bits_in_last_byte) in tzx_handle_direct() argument 303 int bits_to_go = (data_index == (data_size - 1)) ? bits_in_last_byte : 8; in tzx_handle_direct() 516 int bit0, bit1, bits_in_last_byte; in tzx_cas_do_work() local 540 bits_in_last_byte = cur_block[13]; in tzx_cas_do_work() 543 …lock[19], pause_time, data_size, pilot, pilot_length, sync1, sync2, bit0, bit1, bits_in_last_byte); in tzx_cas_do_work() 563 bits_in_last_byte = cur_block[5]; in tzx_cas_do_work() 566 …le_block(buffer, &cur_block[11], pause_time, data_size, 0, 0, 0, 0, bit0, bit1, bits_in_last_byte); in tzx_cas_do_work() 696 bits_in_last_byte = cur_block[5]; in tzx_cas_do_work() [all …]
|
/dports/emulators/mess/mame-mame0226/src/lib/formats/ |
H A D | tzx_cas.cpp | 229 …ize, int pilot, int pilot_length, int sync1, int sync2, int bit0, int bit1, int bits_in_last_byte ) in tzx_cas_handle_block() argument 267 int bits_to_go = (data_index == (data_size - 1)) ? bits_in_last_byte : 8; in tzx_cas_handle_block() 294 …t16_t **buffer, const uint8_t *bytes, int pause, int data_size, int tstates, int bits_in_last_byte) in tzx_handle_direct() argument 303 int bits_to_go = (data_index == (data_size - 1)) ? bits_in_last_byte : 8; in tzx_handle_direct() 516 int bit0, bit1, bits_in_last_byte; in tzx_cas_do_work() local 540 bits_in_last_byte = cur_block[13]; in tzx_cas_do_work() 543 …lock[19], pause_time, data_size, pilot, pilot_length, sync1, sync2, bit0, bit1, bits_in_last_byte); in tzx_cas_do_work() 563 bits_in_last_byte = cur_block[5]; in tzx_cas_do_work() 566 …le_block(buffer, &cur_block[11], pause_time, data_size, 0, 0, 0, 0, bit0, bit1, bits_in_last_byte); in tzx_cas_do_work() 696 bits_in_last_byte = cur_block[5]; in tzx_cas_do_work() [all …]
|
/dports/finance/electrum/Electrum-4.1.5/packages/ |
H A D | bitstring.py | 317 bits_in_last_byte = (s.offset + s.bitlength) % 8 318 if not bits_in_last_byte: 319 bits_in_last_byte = 8 320 if bits_in_last_byte > shiftleft: 328 bits_in_last_byte = (s.offset + s.bitlength) % 8 329 if not bits_in_last_byte: 330 bits_in_last_byte = 8 331 if bits_in_last_byte + shiftright > 8:
|
/dports/games/libretro-fuse/fuse-libretro-8b51f87/libspectrum/ |
H A D | pzx_read.c | 256 size_t bits_in_last_byte = in read_data_block() local 303 libspectrum_tape_block_set_bits_in_last_byte( block, bits_in_last_byte ); in read_data_block()
|
H A D | tape.c | 712 state->bits_through_byte = 8 - block->bits_in_last_byte; in turbo_next_bit() 821 state->bits_through_byte = 8 - block->bits_in_last_byte; in libspectrum_tape_pure_data_next_bit() 887 state->bits_through_byte = 8 - block->bits_in_last_byte; in libspectrum_tape_raw_data_next_bit() 1141 state->bits_through_byte = 8 - block->bits_in_last_byte; in libspectrum_tape_data_block_next_bit()
|
H A D | tape_accessors.c | 86 case LIBSPECTRUM_TAPE_BLOCK_DATA_BLOCK: return block->types.data_block.bits_in_last_byte; in libspectrum_tape_block_bits_in_last_byte() 87 case LIBSPECTRUM_TAPE_BLOCK_PURE_DATA: return block->types.pure_data.bits_in_last_byte; in libspectrum_tape_block_bits_in_last_byte() 88 case LIBSPECTRUM_TAPE_BLOCK_RAW_DATA: return block->types.raw_data.bits_in_last_byte; in libspectrum_tape_block_bits_in_last_byte() 89 case LIBSPECTRUM_TAPE_BLOCK_TURBO: return block->types.turbo.bits_in_last_byte; in libspectrum_tape_block_bits_in_last_byte()
|
H A D | tape_block.c | 587 turbo->bits_in_last_byte ); in turbo_block_length() 601 turbo->bits_in_last_byte ); in turbo_block_length() 626 pure_data->bits_in_last_byte ); in pure_data_block_length() 640 pure_data->bits_in_last_byte ); in pure_data_block_length() 652 ( LIBSPECTRUM_BITS_IN_BYTE - raw_data->bits_in_last_byte ) ) * in raw_data_block_length() 719 data_block->bits_in_last_byte ); in data_block_length() 747 data_block->bits_in_last_byte ); in data_block_length()
|
H A D | tape_block.h | 68 size_t bits_in_last_byte; /* How many bits are in the last byte? */ member 134 size_t bits_in_last_byte; /* How many bits are in the last byte? */ member 162 size_t bits_in_last_byte; /* How many bits are in the last byte? */ member 399 size_t bits_in_last_byte; /* How many bits are in the last byte? */ member
|
H A D | tape_set.c | 88 …pectrum_tape_block_set_bits_in_last_byte( libspectrum_tape_block *block, size_t bits_in_last_byte ) in libspectrum_tape_block_set_bits_in_last_byte() argument 92 …IBSPECTRUM_TAPE_BLOCK_DATA_BLOCK: block->types.data_block.bits_in_last_byte = bits_in_last_byte; b… in libspectrum_tape_block_set_bits_in_last_byte() 93 … LIBSPECTRUM_TAPE_BLOCK_PURE_DATA: block->types.pure_data.bits_in_last_byte = bits_in_last_byte; b… in libspectrum_tape_block_set_bits_in_last_byte() 94 …se LIBSPECTRUM_TAPE_BLOCK_RAW_DATA: block->types.raw_data.bits_in_last_byte = bits_in_last_byte; b… in libspectrum_tape_block_set_bits_in_last_byte() 95 …case LIBSPECTRUM_TAPE_BLOCK_TURBO: block->types.turbo.bits_in_last_byte = bits_in_last_byte; break; in libspectrum_tape_block_set_bits_in_last_byte()
|
/dports/games/libretro-fuse/fuse-libretro-8b51f87/libspectrum/test/ |
H A D | complete-tzx.pl | 60 $zero_length, $one_length, $data, $bits_in_last_byte, $pause ) = @_; 69 write_byte( $bits_in_last_byte ); 98 my( $zero_length, $one_length, $data, $bits_in_last_byte, $pause ) = @_; 103 write_byte( $bits_in_last_byte );
|
/dports/games/libretro-fuse/fuse-libretro-8b51f87/src/ |
H A D | libspectrum.h | 1052 …ectrum_tape_block_set_bits_in_last_byte( libspectrum_tape_block *block, size_t bits_in_last_byte );
|
/dports/graphics/tgif/tgif-QPL-4.2.5/ |
H A D | raster.c | 1341 int bits_in_last_byte=(w & 0x07); local 1344 switch (bits_in_last_byte) { 1391 int bits_in_last_byte=(w & 0x07); local 1392 int multiple_of_8=(bits_in_last_byte == 0); 1397 switch (bits_in_last_byte) {
|
/dports/multimedia/jmref/JM/lencod/src/ |
H A D | sei.c | 308 int bits_in_last_byte; in AppendTmpbits2Buf() local 330 bits_in_last_byte = 8-source->bits_to_go; in AppendTmpbits2Buf() 331 if ( bits_in_last_byte > 0 ) in AppendTmpbits2Buf() 333 mask = (byte) (1 << (bits_in_last_byte-1)); in AppendTmpbits2Buf() 334 for (j=0; j<bits_in_last_byte; j++) in AppendTmpbits2Buf()
|
/dports/net-p2p/vuze/vuze-5.7.4.0_2/org/gudy/azureus2/core3/peer/impl/transport/ |
H A D | PEPeerTransportProtocol.java | 1705 int bits_in_last_byte = num_pieces - last_byte_start_bit; in sendBitField() local 1706 if (bits_in_last_byte == 0) in sendBitField() 1708 bits_in_last_byte = 8; in sendBitField() 1719 int last_byte_entry = last_byte_start_bit + rnd.nextInt(bits_in_last_byte); in sendBitField()
|
/dports/net/exabgp4/exabgp-4.2.13/lib/exabgp/vendoring/ |
H A D | bitstring.py | 274 bits_in_last_byte = (s.offset + s.bitlength) % 8 275 if not bits_in_last_byte: 276 bits_in_last_byte = 8 277 if bits_in_last_byte > shiftleft: 284 bits_in_last_byte = (s.offset + s.bitlength) % 8 285 if not bits_in_last_byte: 286 bits_in_last_byte = 8 287 if bits_in_last_byte + shiftright > 8:
|
/dports/security/john/john-1.9.0-jumbo-1/src/ |
H A D | groestl.h | 35 int bits_in_last_byte; /* no. of message bits in last byte of data buffer */ member
|