Home
last modified time | relevance | path

Searched refs:test_codes (Results 1 – 3 of 3) sorted by relevance

/third_party/libsnd/src/
Dtest_ima_oki_adpcm.c28 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 …]
Dima_oki_adpcm.c161 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/
Dtest_pyexpat.py665 def test_codes(self): member in ErrorMessageTest