Lines Matching refs:test_codes
161 static const unsigned char test_codes [] = variable
198 for (i = 0 ; i < ARRAY_LEN (test_codes) ; i++) in test_oki_adpcm()
199 for (j = 0, code = test_codes [i] ; j < 2 ; j++, code <<= 4) in test_oki_adpcm()
214 if (code != test_codes [i / 2]) in test_oki_adpcm()
215 { printf ("\n\nFail at i = %d, %d should be %d\n\n", i, code, test_codes [i / 2]) ; in test_oki_adpcm()
234 if (ARRAY_LEN (adpcm.codes) < ARRAY_LEN (test_codes)) in test_oki_adpcm_block()
255 for (k = 0 ; k < ARRAY_LEN (test_codes) ; k++) in test_oki_adpcm_block()
256 if (adpcm.codes [k] != test_codes [k]) in test_oki_adpcm_block()
257 …\n\nLine %d : Fail at k = %d, %d should be %d\n\n", __LINE__, k, adpcm.codes [k], test_codes [k]) ; in test_oki_adpcm_block()
268 memcpy (adpcm.codes, test_codes, sizeof (adpcm.codes [0]) * ARRAY_LEN (test_codes)) ; in test_oki_adpcm_block()
269 adpcm.code_count = ARRAY_LEN (test_codes) ; in test_oki_adpcm_block()
274 if (adpcm.pcm_count != 2 * ARRAY_LEN (test_codes)) in test_oki_adpcm_block()
275 …{ printf ("\n\nLine %d : %d * 2 != %d\n\n", __LINE__, adpcm.pcm_count, 2 * ARRAY_LEN (test_codes))… in test_oki_adpcm_block()