Lines Matching refs:bitCount
53 int bitCount; in FSE_readNCount_body() local
76 bitCount = 4; in FSE_readNCount_body()
95 bitCount -= (int)(8 * (iend - 7 - ip)); in FSE_readNCount_body()
96 bitCount &= 31; in FSE_readNCount_body()
99 bitStream = MEM_readLE32(ip) >> bitCount; in FSE_readNCount_body()
104 bitCount += 2 * repeats; in FSE_readNCount_body()
109 bitCount += 2; in FSE_readNCount_body()
121 if (LIKELY(ip <= iend-7) || (ip + (bitCount>>3) <= iend-4)) { in FSE_readNCount_body()
122 assert((bitCount >> 3) <= 3); /* For first condition to work */ in FSE_readNCount_body()
123 ip += bitCount>>3; in FSE_readNCount_body()
124 bitCount &= 7; in FSE_readNCount_body()
126 bitCount -= (int)(8 * (iend - 4 - ip)); in FSE_readNCount_body()
127 bitCount &= 31; in FSE_readNCount_body()
130 bitStream = MEM_readLE32(ip) >> bitCount; in FSE_readNCount_body()
138 bitCount += nbBits-1; in FSE_readNCount_body()
142 bitCount += nbBits; in FSE_readNCount_body()
170 if (LIKELY(ip <= iend-7) || (ip + (bitCount>>3) <= iend-4)) { in FSE_readNCount_body()
171 ip += bitCount>>3; in FSE_readNCount_body()
172 bitCount &= 7; in FSE_readNCount_body()
174 bitCount -= (int)(8 * (iend - 4 - ip)); in FSE_readNCount_body()
175 bitCount &= 31; in FSE_readNCount_body()
178 bitStream = MEM_readLE32(ip) >> bitCount; in FSE_readNCount_body()
183 if (bitCount > 32) return ERROR(corruption_detected); in FSE_readNCount_body()
186 ip += (bitCount+7)>>3; in FSE_readNCount_body()