Lines Matching refs:bitCount
69 int bitCount; in FSE_readNCount_body() local
92 bitCount = 4; in FSE_readNCount_body()
111 bitCount -= (int)(8 * (iend - 7 - ip)); in FSE_readNCount_body()
112 bitCount &= 31; in FSE_readNCount_body()
115 bitStream = MEM_readLE32(ip) >> bitCount; in FSE_readNCount_body()
120 bitCount += 2 * repeats; in FSE_readNCount_body()
125 bitCount += 2; in FSE_readNCount_body()
137 if (LIKELY(ip <= iend-7) || (ip + (bitCount>>3) <= iend-4)) { in FSE_readNCount_body()
138 assert((bitCount >> 3) <= 3); /* For first condition to work */ in FSE_readNCount_body()
139 ip += bitCount>>3; in FSE_readNCount_body()
140 bitCount &= 7; in FSE_readNCount_body()
142 bitCount -= (int)(8 * (iend - 4 - ip)); in FSE_readNCount_body()
143 bitCount &= 31; in FSE_readNCount_body()
146 bitStream = MEM_readLE32(ip) >> bitCount; in FSE_readNCount_body()
154 bitCount += nbBits-1; in FSE_readNCount_body()
158 bitCount += nbBits; in FSE_readNCount_body()
186 if (LIKELY(ip <= iend-7) || (ip + (bitCount>>3) <= iend-4)) { in FSE_readNCount_body()
187 ip += bitCount>>3; in FSE_readNCount_body()
188 bitCount &= 7; in FSE_readNCount_body()
190 bitCount -= (int)(8 * (iend - 4 - ip)); in FSE_readNCount_body()
191 bitCount &= 31; in FSE_readNCount_body()
194 bitStream = MEM_readLE32(ip) >> bitCount; in FSE_readNCount_body()
199 if (bitCount > 32) return ERROR(corruption_detected); in FSE_readNCount_body()
202 ip += (bitCount+7)>>3; in FSE_readNCount_body()