Searched refs:bitshift (Results 1 – 6 of 6) sorted by relevance
75 #define left_shift64(x, bitshift, numofbits) \ argument76 ((uint64_t)(x) << (bitshift))78 #define left_shift64_mask(x, bitshift, numofbits) \ argument79 (((uint64_t)(x) & ((1ULL << (numofbits)) - 1)) << (bitshift))
585 int8_t bitshift; in get_bitshift() local589 bitshift = (int8_t)((bytes - i)*BYTE_SIZE); in get_bitshift()591 if (bitshift < 0) in get_bitshift()592 bitshift = 0; in get_bitshift()593 entry_ind = entry_ind | ip[i-1] << bitshift; in get_bitshift()
579 int8_t bitshift; in get_bitshift() local583 bitshift = (int8_t)((bytes - i)*BYTE_SIZE); in get_bitshift()585 if (bitshift < 0) in get_bitshift()586 bitshift = 0; in get_bitshift()587 entry_ind = entry_ind | ip[i-1] << bitshift; in get_bitshift()
237 uint8_t bitshift; in get_idx() local240 bitshift = (int8_t)(((first_byte + bytes - 1) - i)*BYTE_SIZE); in get_idx()241 idx |= ip[i] << bitshift; in get_idx()
125 #define extract_bits(x, bitshift, bitcnt) \ argument126 (((unsigned long long)x >> bitshift) & ((1ULL << bitcnt) - 1))
673 + Don't bitshift by negative amounts when encoding/decoding run sizes in