Home
last modified time | relevance | path

Searched refs:TS (Results 1 – 25 of 328) sorted by relevance

12345678910>>...14

/external/opencv3/modules/videoio/test/
Dtest_basic_props.cpp63 const string src_dir = TS::ptr()->get_data_path(); in TEST()
65TS::ptr()->printf(cvtest::TS::LOG, "\n\nSource files directory: %s\n", (src_dir+"video/").c_str()); in TEST()
73TS::ptr()->printf(cvtest::TS::LOG, "\nFile information (video %d): \n\nName: big_buck_bunny.%s\nFA… in TEST()
74 TS::ptr()->printf(cvtest::TS::LOG, "Error: cannot read source video file.\n"); in TEST()
75 TS::ptr()->set_failed_test_info(cvtest::TS::FAIL_INVALID_TEST_DATA); in TEST()
87 const string src_dir = TS::ptr()->get_data_path(); in TEST()
89TS::ptr()->printf(cvtest::TS::LOG, "\n\nSource files directory: %s\n", (src_dir+"video/").c_str()); in TEST()
97TS::ptr()->printf(cvtest::TS::LOG, "\nFile information (video %d): \n\nName: big_buck_bunny.%s\nFA… in TEST()
98 TS::ptr()->printf(cvtest::TS::LOG, "Error: cannot read source video file.\n"); in TEST()
99 TS::ptr()->set_failed_test_info(cvtest::TS::FAIL_INVALID_TEST_DATA); in TEST()
[all …]
Dtest_positioning.cpp123 ts->printf(cvtest::TS::LOG, "\n\nSource files directory: %s\n", (src_dir+"video/").c_str()); in run_test()
138 ts->printf(cvtest::TS::LOG, "\nReading video file in %s...\n", file_path.c_str()); in run_test()
144 …ts->printf(cvtest::TS::LOG, "\nFile information (video %d): \n\nName: big_buck_bunny.%s\nFAILED\n\… in run_test()
145 ts->printf(cvtest::TS::LOG, "Error: cannot read source video file.\n"); in run_test()
146 ts->set_failed_test_info(cvtest::TS::FAIL_INVALID_TEST_DATA); in run_test()
182 …ts->printf(cvtest::TS::LOG, "\nFile information (video %d): \n\nName: big_buck_bunny.%s\n", i+1, e… in run_test()
187 ts->printf(cvtest::TS::LOG, "\nIteration: %d\n", j); in run_test()
189 ts->printf(cvtest::TS::LOG, "Required pos: %d\nReturned pos: %d\n", idx.at(j), val); in run_test()
190 … ts->printf(cvtest::TS::LOG, "Error: required and returned positions are not matched.\n"); in run_test()
191 ts->set_failed_test_info(cvtest::TS::FAIL_INVALID_OUTPUT); in run_test()
[all …]
Dtest_framecount.cpp66 ts->printf(cvtest::TS::LOG, "\n\nSource files directory: %s\n", (src_dir+"video/").c_str()); in run()
77 …ts->printf(cvtest::TS::LOG, "\nFile information (video %d): \n\nName: big_buck_bunny.%s\nFAILED\n\… in run()
78 ts->printf(cvtest::TS::LOG, "Error: cannot read source video file.\n"); in run()
79 ts->set_failed_test_info(cvtest::TS::FAIL_INVALID_TEST_DATA); in run()
96 ts->printf(cvtest::TS::LOG, "\nFile information (video %d): \n"\ in run()
105 ts->printf(cvtest::TS::LOG, "FAILED\n"); in run()
106 …ts->printf(cvtest::TS::LOG, "\nError: actual frame count and returned frame count are not matched.… in run()
107 ts->set_failed_test_info(cvtest::TS::FAIL_INVALID_OUTPUT); in run()
/external/tcpdump/tests/
Dmptcp.out1 IP 10.2.1.2.35961 > 10.1.1.2.22: Flags [S], seq 2912457561, win 14600, options [mss 1460,sackOK,TS
2 …s [S.], seq 125971326, ack 2912457562, win 14280, options [mss 1460,sackOK,TS val 4294943467 ecr 4…
3 IP 10.2.1.2.35961 > 10.1.1.2.22: Flags [.], ack 1, win 229, options [nop,nop,TS val 4294943152 ecr …
4 IP 10.1.1.2.22 > 10.2.1.2.35961: Flags [P.], seq 1:42, ack 1, win 447, options [nop,nop,TS val 4294…
5 IP 10.2.1.2.35961 > 10.1.1.2.22: Flags [.], ack 42, win 229, options [nop,nop,TS val 4294943168 ecr…
6 IP 10.2.1.2.35961 > 10.1.1.2.22: Flags [P.], seq 1:42, ack 42, win 229, options [nop,nop,TS val 429…
7 IP 10.1.1.2.22 > 10.2.1.2.35961: Flags [.], ack 42, win 447, options [nop,nop,TS val 4294943474 ecr…
8 IP 10.2.1.2.41221 > 10.1.2.2.22: Flags [S], seq 1863826096, win 14600, options [mss 1460,sackOK,TS
9 … [S.], seq 1704897135, ack 1863826097, win 14280, options [mss 1460,sackOK,TS val 4294943474 ecr 4…
10 IP 10.2.1.2.41221 > 10.1.2.2.22: Flags [.], ack 1, win 229, options [nop,nop,TS val 4294943168 ecr …
[all …]
Dgeneve-tcp.out1 …30.0.0.1.22: Flags [S], seq 397610159, win 14600, options [mss 1460,sackOK,TS val 2876069566 ecr 0…
2 …s [S.], seq 2910871522, ack 397610160, win 28960, options [mss 1460,sackOK,TS val 84248969 ecr 287…
3 … 30.0.0.2.51225 > 30.0.0.1.22: Flags [.], ack 1, win 115, options [nop,nop,TS val 2876069566 ecr 8…
4 …2 > 30.0.0.2.51225: Flags [P.], seq 1:40, ack 1, win 227, options [nop,nop,TS val 84248971 ecr 287…
5 …30.0.0.2.51225 > 30.0.0.1.22: Flags [.], ack 40, win 115, options [nop,nop,TS val 2876069573 ecr 8…
6 …225 > 30.0.0.1.22: Flags [P.], seq 1:22, ack 40, win 115, options [nop,nop,TS val 2876069573 ecr 8…
7 …30.0.0.1.22 > 30.0.0.2.51225: Flags [.], ack 22, win 227, options [nop,nop,TS val 84248971 ecr 287…
8 …5 > 30.0.0.1.22: Flags [P.], seq 22:814, ack 40, win 115, options [nop,nop,TS val 2876069573 ecr 8…
9 …0.0.0.1.22 > 30.0.0.2.51225: Flags [.], ack 814, win 239, options [nop,nop,TS val 84248971 ecr 287…
10 …0.0.0.2.51225: Flags [P.], seq 40:1024, ack 814, win 239, options [nop,nop,TS val 84248971 ecr 287…
[all …]
Dgeneve-vni.out2 …30.0.0.1.22: Flags [S], seq 397610159, win 14600, options [mss 1460,sackOK,TS val 2876069566 ecr 0…
3 ….51225 > 30.0.0.1.22: Flags [.], ack 2910871523, win 115, options [nop,nop,TS val 2876069566 ecr 8…
4 …30.0.0.2.51225 > 30.0.0.1.22: Flags [.], ack 40, win 115, options [nop,nop,TS val 2876069573 ecr 8…
5 …225 > 30.0.0.1.22: Flags [P.], seq 0:21, ack 40, win 115, options [nop,nop,TS val 2876069573 ecr 8…
6 …5 > 30.0.0.1.22: Flags [P.], seq 21:813, ack 40, win 115, options [nop,nop,TS val 2876069573 ecr 8…
7 … 30.0.0.1.22: Flags [P.], seq 813:837, ack 1024, win 130, options [nop,nop,TS val 2876069574 ecr 8…
8 … 30.0.0.1.22: Flags [P.], seq 837:981, ack 1176, win 145, options [nop,nop,TS val 2876069577 ecr 8…
9 … 30.0.0.1.22: Flags [P.], seq 981:997, ack 1896, win 161, options [nop,nop,TS val 2876069583 ecr 8…
10 …30.0.0.1.22: Flags [P.], seq 997:1045, ack 1896, win 161, options [nop,nop,TS val 2876069620 ecr 8…
11 …0.0.0.1.22: Flags [P.], seq 1045:1109, ack 1944, win 161, options [nop,nop,TS val 2876069621 ecr 8…
[all …]
Dmptcp-fclose.out3 …2.1.2.2002: Flags [S], seq 1895673170, win 14600, options [mss 1460,sackOK,TS val 38230 ecr 0,nop,…
4 … [S.], seq 2868811558, ack 1895673171, win 14280, options [mss 1460,sackOK,TS val 4294943148 ecr 3…
5 IP 10.1.1.2.37479 > 10.2.1.2.2002: Flags [.], ack 1, win 229, options [nop,nop,TS val 38230 ecr 429…
6 IP 10.1.1.2.37479 > 10.2.1.2.2002: Flags [P.], seq 1:2, ack 1, win 229, options [nop,nop,TS val 382…
7 IP 10.2.1.2.2002 > 10.1.1.2.37479: Flags [.], ack 2, win 224, options [nop,nop,TS val 4294943148 ec…
8 IP 10.2.1.2.2002 > 10.1.1.2.37479: Flags [P.], seq 1:2, ack 2, win 224, options [nop,nop,TS val 429…
9 IP 10.1.1.2.37479 > 10.2.1.2.2002: Flags [.], ack 2, win 229, options [nop,nop,TS val 38334 ecr 429…
10 IP 10.1.1.2.37479 > 10.2.1.2.2002: Flags [.], ack 2, win 229, options [nop,nop,TS val 38734 ecr 429…
11 IP 10.2.1.2.2002 > 10.1.1.2.37479: Flags [R.], seq 2, ack 2, win 224, options [nop,nop,TS val 42949…
/external/opencv3/modules/ts/src/
Dts.cpp80 TS::FailureCode code = TS::FAIL_EXCEPTION; in SEHTranslator()
89 code = TS::FAIL_MEMORY_EXCEPTION; in SEHTranslator()
99 code = TS::FAIL_ARITHM_EXCEPTION; in SEHTranslator()
107 code = TS::FAIL_EXCEPTION; in SEHTranslator()
124 TS::FailureCode code = TS::FAIL_EXCEPTION;
128 code = TS::FAIL_ARITHM_EXCEPTION;
132 code = TS::FAIL_ARITHM_EXCEPTION;
135 code = TS::FAIL_EXCEPTION;
169 ts = TS::ptr(); in BaseTest()
219 throw TS::FailureCode(_code); in safe_run()
[all …]
/external/opencv3/modules/features2d/test/
Dtest_matchers_algorithmic.cpp95 … ts->printf( cvtest::TS::LOG, "match() on empty descriptors must not generate exception (1).\n" ); in emptyDataTest()
96 ts->set_failed_test_info( cvtest::TS::FAIL_INVALID_OUTPUT ); in emptyDataTest()
105 …ts->printf( cvtest::TS::LOG, "knnMatch() on empty descriptors must not generate exception (1).\n" … in emptyDataTest()
106 ts->set_failed_test_info( cvtest::TS::FAIL_INVALID_OUTPUT ); in emptyDataTest()
115 …ts->printf( cvtest::TS::LOG, "radiusMatch() on empty descriptors must not generate exception (1).\… in emptyDataTest()
116 ts->set_failed_test_info( cvtest::TS::FAIL_INVALID_OUTPUT ); in emptyDataTest()
125 ts->printf( cvtest::TS::LOG, "add() on empty descriptors must not generate exception.\n" ); in emptyDataTest()
126 ts->set_failed_test_info( cvtest::TS::FAIL_INVALID_OUTPUT ); in emptyDataTest()
135 … ts->printf( cvtest::TS::LOG, "match() on empty descriptors must not generate exception (2).\n" ); in emptyDataTest()
136 ts->set_failed_test_info( cvtest::TS::FAIL_INVALID_OUTPUT ); in emptyDataTest()
[all …]
Dtest_detectors_regression.cpp86 ts->printf( cvtest::TS::LOG, "detect() on empty image must not generate exception (1).\n" ); in emptyDataTest()
87 ts->set_failed_test_info( cvtest::TS::FAIL_INVALID_OUTPUT ); in emptyDataTest()
92 …ts->printf( cvtest::TS::LOG, "detect() on empty image must return empty keypoints vector (1).\n" ); in emptyDataTest()
93 ts->set_failed_test_info( cvtest::TS::FAIL_INVALID_OUTPUT ); in emptyDataTest()
106 …ts->printf( cvtest::TS::LOG, "detect() on empty image vector must not generate exception (2).\n" ); in emptyDataTest()
107 ts->set_failed_test_info( cvtest::TS::FAIL_INVALID_OUTPUT ); in emptyDataTest()
135 … ts->printf( cvtest::TS::LOG, "Bad keypoints count ratio (validCount = %d, calcCount = %d).\n", in compareKeypointSets()
137 ts->set_failed_test_info( cvtest::TS::FAIL_INVALID_OUTPUT ); in compareKeypointSets()
163 ts->printf( cvtest::TS::LOG, "badPointCount = %d; validPointCount = %d; calcPointCount = %d\n", in compareKeypointSets()
167 ts->printf( cvtest::TS::LOG, " - Bad accuracy!\n" ); in compareKeypointSets()
[all …]
Dtest_descriptors_regression.cpp117 …ts->printf(cvtest::TS::LOG, "Valid and computed descriptors matrices must have the same size and t… in compareDescriptors()
118 ts->set_failed_test_info( cvtest::TS::FAIL_INVALID_TEST_DATA ); in compareDescriptors()
140 ts->set_failed_test_info( cvtest::TS::FAIL_BAD_ACCURACY ); in compareDescriptors()
142 ts->printf(cvtest::TS::LOG, ss.str().c_str() ); in compareDescriptors()
160 …ts->printf( cvtest::TS::LOG, "compute() on empty image and empty keypoints must not generate excep… in emptyDataTest()
161 ts->set_failed_test_info( cvtest::TS::FAIL_INVALID_TEST_DATA ); in emptyDataTest()
171 …ts->printf( cvtest::TS::LOG, "compute() on nonempty image and empty keypoints must not generate ex… in emptyDataTest()
172 ts->set_failed_test_info( cvtest::TS::FAIL_INVALID_TEST_DATA ); in emptyDataTest()
185 …ts->printf( cvtest::TS::LOG, "compute() on empty images and empty keypoints collection must not ge… in emptyDataTest()
186 ts->set_failed_test_info( cvtest::TS::FAIL_INVALID_TEST_DATA ); in emptyDataTest()
[all …]
Dtest_keypoints.cpp72 ts->printf(cvtest::TS::LOG, "Image %s can not be read.\n", imgFilename.c_str()); in run()
73 ts->set_failed_test_info(cvtest::TS::FAIL_INVALID_TEST_DATA); in run()
82 ts->printf(cvtest::TS::LOG, "Detector can't find keypoints in image.\n"); in run()
83 ts->set_failed_test_info(cvtest::TS::FAIL_INVALID_OUTPUT); in run()
94 … ts->printf(cvtest::TS::LOG, "KeyPoint::pt is out of image (x=%f, y=%f).\n", kp.pt.x, kp.pt.y); in run()
95 ts->set_failed_test_info(cvtest::TS::FAIL_INVALID_OUTPUT); in run()
101 ts->printf(cvtest::TS::LOG, "KeyPoint::size is not positive (%f).\n", kp.size); in run()
102 ts->set_failed_test_info(cvtest::TS::FAIL_INVALID_OUTPUT); in run()
108 … ts->printf(cvtest::TS::LOG, "KeyPoint::angle is out of range [0, 360). It's %f.\n", kp.angle); in run()
109 ts->set_failed_test_info(cvtest::TS::FAIL_INVALID_OUTPUT); in run()
[all …]
Dtest_nearestneighbors.cpp78 return cvtest::TS::OK; in checkGetPoins()
83 return cvtest::TS::OK; in checkFindBoxed()
88 int code = cvtest::TS::OK; in checkFind()
107 if( code == cvtest::TS::OK ) in checkFind()
119 ts->printf( cvtest::TS::LOG, "correct_perc = %d\n", correctPerc ); in checkFind()
120 code = cvtest::TS::FAIL_BAD_ACCURACY; in checkFind()
128 int code = cvtest::TS::OK, tempCode; in run()
135 if( tempCode != cvtest::TS::OK ) in run()
137 ts->printf( cvtest::TS::LOG, "bad accuracy of GetPoints \n" ); in run()
142 if( tempCode != cvtest::TS::OK ) in run()
[all …]
/external/opencv3/modules/ml/test/
Dtest_gbttest.cpp80 int code = cvtest::TS::OK;
96 …ts->printf( cvtest::TS::LOG, "Bad test_num value in CV_GBTreesTest::TestTrainPredict(..) function.…
97 return cvtest::TS::FAIL_BAD_ARG_CHECK;
109 ts->printf( cvtest::TS::LOG, "File reading error." );
110 return cvtest::TS::FAIL_INVALID_TEST_DATA;
142 ts->printf( cvtest::TS::LOG, "Model training was failed.");
143 return cvtest::TS::FAIL_INVALID_OUTPUT;
156 return cvtest::TS::FAIL_GENERIC;
167 ts->printf( cvtest::TS::LOG, "Test error is out of range:\n"
170 return cvtest::TS::FAIL_BAD_ACCURACY;
[all …]
Dtest_emknearestkmeans.cpp240 int code = cvtest::TS::OK; in run()
247 ts->printf( cvtest::TS::LOG, "Bad output labels if flag==KMEANS_PP_CENTERS.\n" ); in run()
248 code = cvtest::TS::FAIL_INVALID_OUTPUT; in run()
252 ts->printf( cvtest::TS::LOG, "Bad accuracy (%f) if flag==KMEANS_PP_CENTERS.\n", err ); in run()
253 code = cvtest::TS::FAIL_BAD_ACCURACY; in run()
260 ts->printf( cvtest::TS::LOG, "Bad output labels if flag==KMEANS_RANDOM_CENTERS.\n" ); in run()
261 code = cvtest::TS::FAIL_INVALID_OUTPUT; in run()
265 ts->printf( cvtest::TS::LOG, "Bad accuracy (%f) if flag==KMEANS_RANDOM_CENTERS.\n", err ); in run()
266 code = cvtest::TS::FAIL_BAD_ACCURACY; in run()
277 ts->printf( cvtest::TS::LOG, "Bad output labels if flag==KMEANS_USE_INITIAL_LABELS.\n" ); in run()
[all …]
Dtest_lr.cpp112 int test_code = cvtest::TS::OK; in run()
116 ts->printf(cvtest::TS::LOG, "Bad prediction labels\n" ); in run()
117 test_code = cvtest::TS::FAIL_INVALID_OUTPUT; in run()
121 ts->printf(cvtest::TS::LOG, "Bad accuracy of (%f)\n", error); in run()
122 test_code = cvtest::TS::FAIL_BAD_ACCURACY; in run()
148 int code = cvtest::TS::OK; in run()
175 ts->printf(cvtest::TS::LOG, "Crash in write method.\n" ); in run()
176 ts->set_failed_test_info(cvtest::TS::FAIL_EXCEPTION); in run()
188 ts->printf(cvtest::TS::LOG, "Crash in write method.\n" ); in run()
189 ts->set_failed_test_info(cvtest::TS::FAIL_EXCEPTION); in run()
[all …]
Dtest_mltests.cpp54 int code = cvtest::TS::OK; in run_test_case()
57 if (code == cvtest::TS::OK) in run_test_case()
107 …ts->printf( cvtest::TS::LOG, "Test case = %d; test error = %f; mean error = %f (diff=%f), %d*sigma… in validate_test_results()
111 …ts->printf( cvtest::TS::LOG, "abs(%f - %f) > %f - OUT OF RANGE!\n", curErr, mean, coeff*sigma, coe… in validate_test_results()
112 return cvtest::TS::FAIL_BAD_ACCURACY; in validate_test_results()
115 ts->printf( cvtest::TS::LOG, ".\n" ); in validate_test_results()
120 ts->printf( cvtest::TS::LOG, "validation info is not suitable" ); in validate_test_results()
121 return cvtest::TS::FAIL_INVALID_TEST_DATA; in validate_test_results()
123 return cvtest::TS::OK; in validate_test_results()
/external/opencv3/modules/core/test/
Dtest_mat.cpp121 return cvtest::TS::OK; in checkOp()
159 ts->printf( cvtest::TS::LOG, msg ); in checkOp()
160 return cvtest::TS::FAIL_BAD_ACCURACY; in checkOp()
162 return cvtest::TS::OK; in checkOp()
167 int code = cvtest::TS::OK, tempCode; in checkCase()
192 code = tempCode != cvtest::TS::OK ? tempCode : code; in checkCase()
196 code = tempCode != cvtest::TS::OK ? tempCode : code; in checkCase()
200 code = tempCode != cvtest::TS::OK ? tempCode : code; in checkCase()
204 code = tempCode != cvtest::TS::OK ? tempCode : code; in checkCase()
211 int code = cvtest::TS::OK, tempCode; in checkDim()
[all …]
/external/opencv3/modules/video/test/
Dtest_optflowpyrlk.cpp60 int code = cvtest::TS::OK; in run()
87 ts->printf( cvtest::TS::LOG, "could not read %s\n", filename ); in run()
88 code = cvtest::TS::FAIL_MISSING_TEST_DATA; in run()
97 ts->printf( cvtest::TS::LOG, "could not read %s\n", filename ); in run()
98 code = cvtest::TS::FAIL_MISSING_TEST_DATA; in run()
105 ts->printf( cvtest::TS::LOG, "the loaded matrices of points are not valid\n" ); in run()
106 code = cvtest::TS::FAIL_MISSING_TEST_DATA; in run()
125 ts->printf( cvtest::TS::LOG, "could not read %s\n", filename ); in run()
126 code = cvtest::TS::FAIL_MISSING_TEST_DATA; in run()
137 ts->printf( cvtest::TS::LOG, "could not read %s\n", filename ); in run()
[all …]
Dtest_ecc.cpp120 ts->set_failed_test_info(cvtest::TS::FAIL_INVALID_TEST_DATA); in testTranslation()
149 ts->set_failed_test_info(cvtest::TS::FAIL_INVALID_OUTPUT); in testTranslation()
154 ts->set_failed_test_info(cvtest::TS::FAIL_BAD_ACCURACY); in testTranslation()
170 ts->set_failed_test_info(cvtest::TS::OK); in run()
195 ts->set_failed_test_info(cvtest::TS::FAIL_INVALID_TEST_DATA); in testEuclidean()
224 ts->set_failed_test_info(cvtest::TS::FAIL_INVALID_OUTPUT); in testEuclidean()
229 ts->set_failed_test_info(cvtest::TS::FAIL_BAD_ACCURACY); in testEuclidean()
246 ts->set_failed_test_info(cvtest::TS::OK); in run()
269 ts->set_failed_test_info(cvtest::TS::FAIL_INVALID_TEST_DATA); in testAffine()
299 ts->set_failed_test_info(cvtest::TS::FAIL_INVALID_OUTPUT); in testAffine()
[all …]
/external/opencv3/modules/calib3d/test/
Dtest_cameracalibration_artificial.cpp113 ts->printf( cvtest::TS::LOG, "Bad shape of camera matrix returned \n"); in compareCameraMatrs()
114 ts->set_failed_test_info(cvtest::TS::FAIL_MISMATCH); in compareCameraMatrs()
130 ts->set_failed_test_info(cvtest::TS::FAIL_BAD_ACCURACY); in compareCameraMatrs()
132 …ts->printf( cvtest::TS::LOG, "%d) Expected [Fx Fy Cx Cy] = [%.3f %.3f %.3f %.3f]\n", r, fx, fy, c… in compareCameraMatrs()
133 …ts->printf( cvtest::TS::LOG, "%d) Estimated [Fx Fy Cx Cy] = [%.3f %.3f %.3f %.3f]\n", r, fx_e, fy_… in compareCameraMatrs()
160 …ts->printf( cvtest::TS::LOG, "%d) DistCoeff exp=(%.2f, %.2f, %.4f, %.4f %.2f)\n", r, k1, k2, p1, p… in compareDistCoeffs()
161 …ts->printf( cvtest::TS::LOG, "%d) DistCoeff est=(%.2f, %.2f, %.4f, %.4f %.2f)\n", r, k1_e, k2_e, p… in compareDistCoeffs()
162 …ts->printf( cvtest::TS::LOG, "%d) AbsError = [%.5f %.5f %.5f %.5f %.5f]\n", r, fabs(k1-k1_e), fabs… in compareDistCoeffs()
182 ts->printf( cvtest::TS::LOG, "%d) ...\n", r); in compareShiftVecs()
185 … ts->printf( cvtest::TS::LOG, "%d) Bad accuracy in returned tvecs. Index = %d\n", r, i); in compareShiftVecs()
[all …]
Dtest_cornerssubpix.cpp122 int code = cvtest::TS::OK; in run()
161 … ts->printf(cvtest::TS::LOG, "Warning: chessboard was not detected! Writing image to test.png\n"); in run()
162 ts->printf(cvtest::TS::LOG, "Size = %d, %d\n", pattern_size.width, pattern_size.height); in run()
163 ts->printf(cvtest::TS::LOG, "Intrinsic params: fx = %f, fy = %f, cx = %f, cy = %f\n", in run()
166 ts->printf(cvtest::TS::LOG, "Distortion matrix: %f, %f, %f, %f, %f\n", in run()
180 … ts->printf(cvtest::TS::LOG, "findChessboardCorners returns invalid corner coordinates!\n"); in run()
181 code = cvtest::TS::FAIL_INVALID_OUTPUT; in run()
194 ts->printf(cvtest::TS::LOG, "findCornerSubpix returns invalid corner coordinates!\n"); in run()
195 code = cvtest::TS::FAIL_INVALID_OUTPUT; in run()
199 … ts->printf(cvtest::TS::LOG, "Error after findChessboardCorners: %f, after findCornerSubPix: %f\n", in run()
[all …]
Dtest_chesscorners_timing.cpp62 int code = cvtest::TS::OK; in run()
86 … ts->printf( cvtest::TS::LOG, "chessboard_timing_list.dat can not be readed or is not valid" ); in run()
87 code = cvtest::TS::FAIL_MISSING_TEST_DATA; in run()
115 … ts->printf( cvtest::TS::LOG, "one of chessboard images can't be read: %s\n", filename.c_str() ); in run()
118 code = cvtest::TS::FAIL_MISSING_TEST_DATA; in run()
124 ts->printf(cvtest::TS::LOG, "%s: chessboard %d:\n", imgname, is_chessboard); in run()
149 ts->printf( cvtest::TS::LOG, "Error: chessboard was %sdetected in the image %s\n", in run()
151 code = cvtest::TS::FAIL_INVALID_OUTPUT; in run()
156 …ts->printf( cvtest::TS::LOG, "Warning: results differ cvCheckChessboard %d, cvFindChessboardCorner… in run()
162 ts->printf(cvtest::TS::LOG, " cvCheckChessboard time s: %f, us per pixel: %f\n", in run()
[all …]
/external/opencv3/modules/imgcodecs/test/
Dtest_grfmt.cpp103 const string folder = string(cvtest::TS::ptr()->get_data_path()) + "/readwrite/"; in TEST()
124 const string folder = string(cvtest::TS::ptr()->get_data_path()) + "/readwrite/"; in TEST()
140 ts->printf(cvtest::TS::LOG, "start reading big image\n"); in run()
142 ts->printf(cvtest::TS::LOG, "finish reading big image\n"); in run()
143 if (img.empty()) ts->set_failed_test_info(cvtest::TS::FAIL_INVALID_TEST_DATA); in run()
144 ts->printf(cvtest::TS::LOG, "start writing big image\n"); in run()
146 ts->printf(cvtest::TS::LOG, "finish writing big image\n"); in run()
150 ts->set_failed_test_info(cvtest::TS::FAIL_EXCEPTION); in run()
152 ts->set_failed_test_info(cvtest::TS::OK); in run()
298 ts->set_failed_test_info(cvtest::TS::FAIL_BAD_ACCURACY); in run()
[all …]
/external/llvm/lib/Fuzzer/
DFuzzerTraceState.cpp348 static TraceState *TS; variable
351 if (!TS) return; in StartTraceRecording()
355 TS->StartTraceRecording(); in StartTraceRecording()
359 if (!TS) return 0; in StopTraceRecording()
360 return TS->StopTraceRecording(USF.GetRand()); in StopTraceRecording()
364 assert(TS); in ApplyTraceBasedMutation()
365 TS->ApplyTraceBasedMutation(Idx, U); in ApplyTraceBasedMutation()
370 TS = new TraceState(Options, CurrentUnit); in InitializeTraceState()
392 using fuzzer::TS;
398 if (!TS) return; in __dfsw___sanitizer_cov_trace_cmp()
[all …]

12345678910>>...14