Lines Matching refs:crc0
110 FLAC__uint8 crc0,crc1; in test_crc8() local
114 crc0 = 0; in test_crc8()
117 if (crc1 != crc0) { in test_crc8()
123 crc0 = crc8_update_ref(data[i], crc0); in test_crc8()
126 if (crc1 != crc0) { in test_crc8()
140 FLAC__uint16 crc0,crc1; in test_crc16() local
144 crc0 = 0; in test_crc16()
147 if (crc1 != crc0) { in test_crc16()
153 crc0 = crc16_update_ref(data[i], crc0); in test_crc16()
156 if (crc1 != crc0) { in test_crc16()
170 FLAC__uint16 crc0,crc1; in test_crc16_update() local
174 crc0 = 0; in test_crc16_update()
178 crc0 = crc16_update_ref(data[i], crc0); in test_crc16_update()
181 if (crc1 != crc0) { in test_crc16_update()
195 FLAC__uint16 crc0,crc1; in test_crc16_32bit_words() local
200 crc0 = 0; in test_crc16_32bit_words()
205 crc0 = crc16_update_ref( words[i + k] >> 24, crc0); in test_crc16_32bit_words()
206 crc0 = crc16_update_ref((words[i + k] >> 16) & 0xFF, crc0); in test_crc16_32bit_words()
207 crc0 = crc16_update_ref((words[i + k] >> 8) & 0xFF, crc0); in test_crc16_32bit_words()
208 crc0 = crc16_update_ref( words[i + k] & 0xFF, crc0); in test_crc16_32bit_words()
213 if (crc1 != crc0) { in test_crc16_32bit_words()
221 if (crc1 != crc0) { in test_crc16_32bit_words()
235 FLAC__uint16 crc0,crc1; in test_crc16_64bit_words() local
240 crc0 = 0; in test_crc16_64bit_words()
245 crc0 = crc16_update_ref( words[i + k] >> 56, crc0); in test_crc16_64bit_words()
246 crc0 = crc16_update_ref((words[i + k] >> 48) & 0xFF, crc0); in test_crc16_64bit_words()
247 crc0 = crc16_update_ref((words[i + k] >> 40) & 0xFF, crc0); in test_crc16_64bit_words()
248 crc0 = crc16_update_ref((words[i + k] >> 32) & 0xFF, crc0); in test_crc16_64bit_words()
249 crc0 = crc16_update_ref((words[i + k] >> 24) & 0xFF, crc0); in test_crc16_64bit_words()
250 crc0 = crc16_update_ref((words[i + k] >> 16) & 0xFF, crc0); in test_crc16_64bit_words()
251 crc0 = crc16_update_ref((words[i + k] >> 8) & 0xFF, crc0); in test_crc16_64bit_words()
252 crc0 = crc16_update_ref( words[i + k] & 0xFF, crc0); in test_crc16_64bit_words()
257 if (crc1 != crc0) { in test_crc16_64bit_words()
265 if (crc1 != crc0) { in test_crc16_64bit_words()