Lines Matching refs:bitCount
66 int bitCount; in FSE_readNCount_body() local
89 bitCount = 4; in FSE_readNCount_body()
108 bitCount -= (int)(8 * (iend - 7 - ip)); in FSE_readNCount_body()
109 bitCount &= 31; in FSE_readNCount_body()
112 bitStream = MEM_readLE32(ip) >> bitCount; in FSE_readNCount_body()
117 bitCount += 2 * repeats; in FSE_readNCount_body()
122 bitCount += 2; in FSE_readNCount_body()
134 if (LIKELY(ip <= iend-7) || (ip + (bitCount>>3) <= iend-4)) { in FSE_readNCount_body()
135 assert((bitCount >> 3) <= 3); /* For first condition to work */ in FSE_readNCount_body()
136 ip += bitCount>>3; in FSE_readNCount_body()
137 bitCount &= 7; in FSE_readNCount_body()
139 bitCount -= (int)(8 * (iend - 4 - ip)); in FSE_readNCount_body()
140 bitCount &= 31; in FSE_readNCount_body()
143 bitStream = MEM_readLE32(ip) >> bitCount; in FSE_readNCount_body()
151 bitCount += nbBits-1; in FSE_readNCount_body()
155 bitCount += nbBits; in FSE_readNCount_body()
183 if (LIKELY(ip <= iend-7) || (ip + (bitCount>>3) <= iend-4)) { in FSE_readNCount_body()
184 ip += bitCount>>3; in FSE_readNCount_body()
185 bitCount &= 7; in FSE_readNCount_body()
187 bitCount -= (int)(8 * (iend - 4 - ip)); in FSE_readNCount_body()
188 bitCount &= 31; in FSE_readNCount_body()
191 bitStream = MEM_readLE32(ip) >> bitCount; in FSE_readNCount_body()
196 if (bitCount > 32) return ERROR(corruption_detected); in FSE_readNCount_body()
199 ip += (bitCount+7)>>3; in FSE_readNCount_body()