Home
last modified time | relevance | path

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

/external/libopus/tests/
Dtest_opus_api.c106 if(((c==1||c==2)&&(i<=2048||i>1<<16))||((c!=1&&c!=2)&&i!=0))test_failed(); in test_dec_api()
128 if(err!=OPUS_BAD_ARG || dec!=NULL)test_failed(); in test_dec_api()
131 if(dec!=NULL)test_failed(); in test_dec_api()
134 if(dec==NULL)test_failed(); in test_dec_api()
136 if(err!=OPUS_BAD_ARG)test_failed(); in test_dec_api()
144 if(err!=OPUS_OK || dec==NULL)test_failed(); in test_dec_api()
152 if(err != OPUS_BAD_ARG)test_failed(); in test_dec_api()
155 if(err!=OPUS_OK)test_failed(); in test_dec_api()
161 if(err!=OPUS_UNIMPLEMENTED)test_failed(); in test_dec_api()
166 if(err != OPUS_BAD_ARG)test_failed(); in test_dec_api()
[all …]
Dtest_opus_encode.c104 if(fout==NULL)test_failed();
138 test_failed(); in get_frame_size_enum()
217 if(err!=OPUS_OK || dec==NULL)test_failed(); in fuzz_encoder_settings()
220 if(err!=OPUS_OK || enc==NULL)test_failed(); in fuzz_encoder_settings()
240 if(opus_encoder_ctl(enc, OPUS_SET_BITRATE(bitrate)) != OPUS_OK) test_failed(); in fuzz_encoder_settings()
241 if(opus_encoder_ctl(enc, OPUS_SET_FORCE_CHANNELS(force_channel)) != OPUS_OK) test_failed(); in fuzz_encoder_settings()
242 if(opus_encoder_ctl(enc, OPUS_SET_VBR(vbr)) != OPUS_OK) test_failed(); in fuzz_encoder_settings()
243 … if(opus_encoder_ctl(enc, OPUS_SET_VBR_CONSTRAINT(vbr_constraint)) != OPUS_OK) test_failed(); in fuzz_encoder_settings()
244 if(opus_encoder_ctl(enc, OPUS_SET_COMPLEXITY(complexity)) != OPUS_OK) test_failed(); in fuzz_encoder_settings()
245 if(opus_encoder_ctl(enc, OPUS_SET_MAX_BANDWIDTH(max_bw)) != OPUS_OK) test_failed(); in fuzz_encoder_settings()
[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_projection.c112 test_failed(); in test_simple_matrix()
140 test_failed(); in test_simple_matrix()
153 test_failed(); in test_simple_matrix()
167 test_failed(); in test_simple_matrix()
180 test_failed(); in test_simple_matrix()
218 test_failed(); in test_creation_arguments()
245 test_failed(); in test_creation_arguments()
315 test_failed(); in test_encode_decode()
371 test_failed(); in test_encode_decode()
Dtest_opus_padding.c70 test_failed(); in test_overflow()
85 if (!oversion) test_failed(); in main()
Dtest_opus_common.h83 #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/webrtc/modules/audio_coding/neteq/tools/
Dneteq_rtpplay_test.sh46 test_failed () { function
53 test_failed "Cannot compare hash values: file(s) not found."
61 test_failed "$1 differs from $2"
69 test_failed "$1 does not exist"
77 test_failed "$1 did not return 0"
83 test_failed "$1 returned 0"
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_sigmask/
D7-1.c27 int i, j, test_failed = 0; in a_thread_func() local
53 test_failed = 1; in a_thread_func()
59 test_failed = 1; in a_thread_func()
65 if (test_failed != 0) { in a_thread_func()
/external/mesa3d/src/amd/compiler/tests/
Dmain.cpp68 bool test_failed = false; variable
81 if (output_offset == output_size && !test_skipped && !test_failed) in write_test()
91 if (test_failed || test_skipped) { in write_test()
92 const char *res = test_failed ? "failed" : "skipped"; in write_test()
112 test_failed = false; in set_variant()
126 test_failed = true; in fail_test()
149 test_failed = false; in run_test()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigemptyset/
D1-1.c39 int i, test_failed = 0; in main() local
52 test_failed = 1; in main()
56 if (test_failed == 1) { in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigfillset/
D1-1.c22 int i, test_failed = 0; in main() local
50 test_failed = 1; in main()
54 if (test_failed == 1) { in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigprocmask/
D7-1.c27 int i, j, test_failed = 0; in main() local
52 test_failed = 1; in main()
58 if (test_failed != 0) { in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigqueue/
D7-1.c35 static volatile int test_failed; variable
42 test_failed = 1; in myhandler()
80 if (test_failed == 1) { in main()
/external/jsmn/test/
Dtest.h5 static int test_failed = 0; variable
26 test_failed++; in test()
Dtests.c357 printf("\nPASSED: %d\nFAILED: %d\n", test_passed, test_failed); in main()
358 return (test_failed > 0); in main()
/external/deqp/external/openglcts/modules/glesext/geometry_shader/
DesextcGeometryShaderLayeredRenderingFBONoAttachment.cpp332 glw::GLboolean test_failed = false; in iterate() local
336 for (unsigned int n_test_iteration = 0; n_test_iteration < 2 && !test_failed; ++n_test_iteration) in iterate()
373 for (int n_layer = 0; n_layer < m_n_layers && !test_failed; ++n_layer) in iterate()
410 test_failed = true; in iterate()
421 if (test_failed) in iterate()
/external/deqp/external/openglcts/modules/glesext/gpu_shader5/
DesextcGPUShader5SSBOArrayIndexing.cpp187 bool test_failed = false; in iterate() local
204 test_failed = true; in iterate()
211 if (test_failed) in iterate()
DesextcGPUShader5PreciseQualifier.cpp281 glw::GLboolean test_failed = false; in iterate() local
342 test_failed = true; in iterate()
347 if (test_failed) in iterate()
DesextcGPUShader5FmaPrecision.cpp346 glw::GLboolean test_failed = true; in iterate() local
348 for (glw::GLuint roundingMode = 0; test_failed && roundingMode < 2; ++roundingMode) in iterate()
382 test_failed = false; in iterate()
387 if (test_failed) in iterate()
/external/deqp/external/openglcts/modules/glesext/tessellation_shader/
DesextcTessellationShaderMaxPatchVertices.cpp666 bool test_failed = false; in compareResults() local
681 test_failed = true; in compareResults()
689 return !test_failed; in compareResults()
715 bool test_failed = false; in compareResults() local
729 test_failed = true; in compareResults()
737 return !test_failed; in compareResults()
/external/ltp/testcases/kernel/syscalls/utimensat/
Dutimensat_tests.sh119 test_failed() function
150 test_failed
185 test_failed
/external/linux-kselftest/tools/testing/selftests/networking/timestamping/
Dtxtimestamp.c78 static bool test_failed; variable
101 test_failed = true; in validate_key()
118 test_failed = true; in validate_timestamp()
776 return test_failed; in main()