Lines Matching refs:bitCount
70 int bitCount; in FSE_readNCount_body() local
93 bitCount = 4; in FSE_readNCount_body()
112 bitCount -= (int)(8 * (iend - 7 - ip)); in FSE_readNCount_body()
113 bitCount &= 31; in FSE_readNCount_body()
116 bitStream = MEM_readLE32(ip) >> bitCount; in FSE_readNCount_body()
121 bitCount += 2 * repeats; in FSE_readNCount_body()
126 bitCount += 2; in FSE_readNCount_body()
138 if (LIKELY(ip <= iend-7) || (ip + (bitCount>>3) <= iend-4)) { in FSE_readNCount_body()
139 assert((bitCount >> 3) <= 3); /* For first condition to work */ in FSE_readNCount_body()
140 ip += bitCount>>3; in FSE_readNCount_body()
141 bitCount &= 7; in FSE_readNCount_body()
143 bitCount -= (int)(8 * (iend - 4 - ip)); in FSE_readNCount_body()
144 bitCount &= 31; in FSE_readNCount_body()
147 bitStream = MEM_readLE32(ip) >> bitCount; in FSE_readNCount_body()
155 bitCount += nbBits-1; in FSE_readNCount_body()
159 bitCount += nbBits; in FSE_readNCount_body()
187 if (LIKELY(ip <= iend-7) || (ip + (bitCount>>3) <= iend-4)) { in FSE_readNCount_body()
188 ip += bitCount>>3; in FSE_readNCount_body()
189 bitCount &= 7; in FSE_readNCount_body()
191 bitCount -= (int)(8 * (iend - 4 - ip)); in FSE_readNCount_body()
192 bitCount &= 31; in FSE_readNCount_body()
195 bitStream = MEM_readLE32(ip) >> bitCount; in FSE_readNCount_body()
200 if (bitCount > 32) return ERROR(corruption_detected); in FSE_readNCount_body()
203 ip += (bitCount+7)>>3; in FSE_readNCount_body()