Lines Matching refs:crc
75 FLAC__uint16 crc,expected_crcs[4] = { 0x5e4c, 0x7f6b, 0x2272, 0x42bf }; in test_bitreader() local
215 crc = FLAC__bitreader_get_read_crc16(br); in test_bitreader()
216 if(crc != expected_crcs[0]) { in test_bitreader()
217 printf("FAILED reported CRC 0x%04x does not match expected 0x%04x\n", crc, expected_crcs[0]); in test_bitreader()
227 crc = FLAC__bitreader_get_read_crc16(br); in test_bitreader()
228 if(crc != 0xFFFF) { in test_bitreader()
229 printf("FAILED reported CRC 0x%04x does not match expected 0xFFFF\n", crc); in test_bitreader()
234 crc = FLAC__bitreader_get_read_crc16(br); in test_bitreader()
235 if(crc != 0) { in test_bitreader()
236 printf("FAILED reported CRC 0x%04x does not match expected 0x0000\n", crc); in test_bitreader()
243 crc = FLAC__bitreader_get_read_crc16(br); in test_bitreader()
244 if(crc != expected_crcs[1]) { in test_bitreader()
245 printf("FAILED reported CRC 0x%04x does not match expected 0x%04x\n", crc, expected_crcs[1]); in test_bitreader()
266 crc = FLAC__bitreader_get_read_crc16(br); in test_bitreader()
267 if(crc != expected_crcs[2]) { in test_bitreader()
268 printf("FAILED reported CRC 0x%04x does not match expected 0x%04x\n", crc, expected_crcs[2]); in test_bitreader()
291 crc = FLAC__bitreader_get_read_crc16(br); in test_bitreader()
292 if(crc != expected_crcs[3]) { in test_bitreader()
293 printf("FAILED reported CRC 0x%04x does not match expected 0x%04x\n", crc, expected_crcs[3]); in test_bitreader()