Lines Matching refs:bitCount
80 int bitCount; in FSE_readNCount_body() local
103 bitCount = 4; in FSE_readNCount_body()
122 bitCount -= (int)(8 * (iend - 7 - ip)); in FSE_readNCount_body()
123 bitCount &= 31; in FSE_readNCount_body()
126 bitStream = MEM_readLE32(ip) >> bitCount; in FSE_readNCount_body()
131 bitCount += 2 * repeats; in FSE_readNCount_body()
136 bitCount += 2; in FSE_readNCount_body()
148 if (LIKELY(ip <= iend-7) || (ip + (bitCount>>3) <= iend-4)) { in FSE_readNCount_body()
149 assert((bitCount >> 3) <= 3); /* For first condition to work */ in FSE_readNCount_body()
150 ip += bitCount>>3; in FSE_readNCount_body()
151 bitCount &= 7; in FSE_readNCount_body()
153 bitCount -= (int)(8 * (iend - 4 - ip)); in FSE_readNCount_body()
154 bitCount &= 31; in FSE_readNCount_body()
157 bitStream = MEM_readLE32(ip) >> bitCount; in FSE_readNCount_body()
165 bitCount += nbBits-1; in FSE_readNCount_body()
169 bitCount += nbBits; in FSE_readNCount_body()
197 if (LIKELY(ip <= iend-7) || (ip + (bitCount>>3) <= iend-4)) { in FSE_readNCount_body()
198 ip += bitCount>>3; in FSE_readNCount_body()
199 bitCount &= 7; in FSE_readNCount_body()
201 bitCount -= (int)(8 * (iend - 4 - ip)); in FSE_readNCount_body()
202 bitCount &= 31; in FSE_readNCount_body()
205 bitStream = MEM_readLE32(ip) >> bitCount; in FSE_readNCount_body()
210 if (bitCount > 32) return ERROR(corruption_detected); in FSE_readNCount_body()
213 ip += (bitCount+7)>>3; in FSE_readNCount_body()