Home
last modified time | relevance | path

Searched refs:test_failed (Results 1 – 8 of 8) sorted by relevance

/external/libopus/tests/
Dtest_opus_api.c105 if(((c==1||c==2)&&(i<=2048||i>1<<16))||((c!=1&&c!=2)&&i!=0))test_failed(); in test_dec_api()
127 if(err!=OPUS_BAD_ARG || dec!=NULL)test_failed(); in test_dec_api()
130 if(dec!=NULL)test_failed(); in test_dec_api()
133 if(dec==NULL)test_failed(); in test_dec_api()
135 if(err!=OPUS_BAD_ARG)test_failed(); in test_dec_api()
143 if(err!=OPUS_OK || dec==NULL)test_failed(); in test_dec_api()
151 if(err != OPUS_BAD_ARG)test_failed(); in test_dec_api()
154 if(err!=OPUS_OK)test_failed(); in test_dec_api()
160 if(err!=OPUS_UNIMPLEMENTED)test_failed(); in test_dec_api()
165 if(err != OPUS_BAD_ARG)test_failed(); in test_dec_api()
[all …]
Dtest_opus_encode.c104 if(fout==NULL)test_failed();
145 if(err != OPUS_OK || enc==NULL)test_failed(); in run_test1()
152 if((ret_err && *ret_err != OPUS_BAD_ARG) || MSenc!=NULL)test_failed(); in run_test1()
155 if((ret_err && *ret_err != OPUS_BAD_ARG) || MSenc!=NULL)test_failed(); in run_test1()
158 if((ret_err && *ret_err != OPUS_BAD_ARG) || MSenc!=NULL)test_failed(); in run_test1()
161 if((ret_err && *ret_err != OPUS_BAD_ARG) || MSenc!=NULL)test_failed(); in run_test1()
164 if((ret_err && *ret_err != OPUS_BAD_ARG) || MSenc!=NULL)test_failed(); in run_test1()
167 if((ret_err && *ret_err != OPUS_BAD_ARG) || MSenc!=NULL)test_failed(); in run_test1()
171 if(err != OPUS_OK || MSenc==NULL)test_failed(); in run_test1()
174 if(opus_multistream_encoder_ctl(MSenc, OPUS_GET_BITRATE(&i))!=OPUS_OK)test_failed(); in run_test1()
[all …]
Dtest_opus_decode.c70 if(packet==NULL)test_failed(); in test_decoder_code0()
83 if(err!=OPUS_OK || dec[t]==NULL)test_failed(); in test_decoder_code0()
89 if(dec2==NULL)test_failed(); in test_decoder_code0()
100 if(decbak==NULL)test_failed(); in test_decoder_code0()
110 if(out_samples!=120/factor)test_failed(); in test_decoder_code0()
111 if(opus_decoder_ctl(dec[t], OPUS_GET_LAST_PACKET_DURATION(&dur))!=OPUS_OK)test_failed(); in test_decoder_code0()
112 if(dur!=120/factor)test_failed(); in test_decoder_code0()
116 if(out_samples!=OPUS_BAD_ARG)test_failed(); in test_decoder_code0()
120 if(out_samples!=120/factor)test_failed(); in test_decoder_code0()
122 if(out_samples!=120/factor)test_failed(); in test_decoder_code0()
[all …]
Dtest_opus_padding.c70 test_failed(); in test_overflow()
85 if (!oversion) test_failed(); in main()
Dtest_opus_common.h78 #define test_failed() _test_failed(__FILE__, __LINE__); macro
/external/libxml2/
Dcheck-xinclude-test-suite.py22 test_failed = 0 variable
57 global test_failed
133 test_failed = test_failed + 1
143 test_failed = test_failed + 1
209 old_test_failed = test_failed
214 test_failed - old_test_failed, test_error - old_test_error)
221 test_nr, test_succeed, test_failed, test_error, time.time() - start)
Dcheck-xml-test-suite.py11 test_failed = 0 variable
290 global test_failed
341 test_failed = test_failed + 1
397 old_test_failed = test_failed
402 test_failed - old_test_failed, test_error - old_test_error)
409 test_nr, test_succeed, test_failed, test_error, time.time() - start)
/external/jsmn/
Djsmn_test.c6 static int test_failed = 0; variable
23 test_failed++; in test()
621 printf("\nPASSED: %d\nFAILED: %d\n", test_passed, test_failed); in main()