Searched refs:test_codes (Results 1 – 3 of 3) sorted by relevance
/third_party/libsnd/src/ |
D | test_ima_oki_adpcm.c | 28 static const unsigned char test_codes [] = variable 64 for (i = 0 ; i < ARRAY_LEN (test_codes) ; i++) in test_oki_adpcm() 65 for (j = 0, code = test_codes [i] ; j < 2 ; j++, code <<= 4) in test_oki_adpcm() 79 if (code != test_codes [i / 2]) in test_oki_adpcm() 80 { printf ("\n\nFail at i = %d, %d should be %d\n\n", i, code, test_codes [i / 2]) ; in test_oki_adpcm() 99 if (ARRAY_LEN (adpcm.codes) < ARRAY_LEN (test_codes)) in test_oki_adpcm_block() 119 for (k = 0 ; k < ARRAY_LEN (test_codes) ; k++) in test_oki_adpcm_block() 120 if (adpcm.codes [k] != test_codes [k]) in test_oki_adpcm_block() 121 …\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() 131 memcpy (adpcm.codes, test_codes, sizeof (adpcm.codes [0]) * ARRAY_LEN (test_codes)) ; in test_oki_adpcm_block() [all …]
|
D | ima_oki_adpcm.c | 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() [all …]
|
/third_party/python/Lib/test/ |
D | test_pyexpat.py | 665 def test_codes(self): member in ErrorMessageTest
|