Searched refs:bitoffset (Results 1 – 6 of 6) sorted by relevance
129 getstreambits (uint8_t *in, int32_t bitoffset, int32_t numbits) in getstreambits() argument132 uint32_t byteoffset = bitoffset / 8 ; in getstreambits()139 if ((numbits + (bitoffset & 0x7)) > 32) in getstreambits()143 result = load1 << (bitoffset & 0x7) ; in getstreambits()145 load2shift = (8 - (numbits + (bitoffset & 0x7) - 32)) ; in getstreambits()152 result = load1 >> (32 - numbits - (bitoffset & 7)) ; in getstreambits()
221 int bitoffset, in read_bits() argument225 ptr += bitoffset >> 3; in read_bits()226 bitoffset &= 7; in read_bits()228 value >>= bitoffset; in read_bits()
27 int bitoffset, in read_bits() argument31 ptr += bitoffset >> 3; in read_bits()32 bitoffset &= 7; in read_bits()34 value >>= bitoffset; in read_bits()
366 bits2graph(uint32_t value, unsigned bitoffset) in bits2graph() argument368 int c = (value >> bitoffset) & 0xff; in bits2graph()
353 unsigned bitoffset) in si_init_exec_from_input() argument357 LLVMConstInt(ctx->ac.i32, bitoffset, 0), in si_init_exec_from_input()
184 // thread_count = (input >> bitoffset) & 0x7f;