/third_party/boost/libs/algorithm/test/ |
D | search_test1.cpp | 227 void check_one ( const Container &haystack, const std::string &needle, int expected ) { in check_one() function 255 check_one ( haystack1, needle1, 26 ); in BOOST_AUTO_TEST_CASE() 256 check_one ( haystack1, needle2, 18 ); in BOOST_AUTO_TEST_CASE() 257 check_one ( haystack1, needle3, 9 ); in BOOST_AUTO_TEST_CASE() 258 check_one ( haystack1, needle4, 0 ); in BOOST_AUTO_TEST_CASE() 259 check_one ( haystack1, needle5, 33 ); in BOOST_AUTO_TEST_CASE() 260 check_one ( haystack1, needle6, -1 ); in BOOST_AUTO_TEST_CASE() 261 check_one ( haystack1, needle7, -1 ); in BOOST_AUTO_TEST_CASE() 263 check_one ( needle1, haystack1, -1 ); // cant find long pattern in short corpus in BOOST_AUTO_TEST_CASE() 264 check_one ( haystack1, haystack1, 0 ); // find something in itself in BOOST_AUTO_TEST_CASE() [all …]
|
D | search_test4.cpp | 65 void check_one ( const vec &haystack, const vec &needle, int expected ) { in check_one() function 116 check_one ( c1, p1b, 0 ); // Find it at position zero in BOOST_AUTO_TEST_CASE() 118 check_one ( c1, p1f, -2 ); // Don't know answer in BOOST_AUTO_TEST_CASE() 120 check_one ( c1, p1e, c1.size() - p1e.size ()); in BOOST_AUTO_TEST_CASE() 122 check_one ( c1, p1n, -1 ); // Not found in BOOST_AUTO_TEST_CASE()
|
D | search_test3.cpp | 88 void check_one ( const vec &haystack, const vec &needle, int expected ) { in check_one() function 146 check_one ( c1, p1b, 0 ); // Find it at position zero in BOOST_AUTO_TEST_CASE() 148 check_one ( c1, p1f, -2 ); // Don't know answer in BOOST_AUTO_TEST_CASE() 150 check_one ( c1, p1e, c1.size() - p1e.size ()); in BOOST_AUTO_TEST_CASE() 152 check_one ( c1, p1n, -1 ); // Not found in BOOST_AUTO_TEST_CASE()
|
D | search_test2.cpp | 88 void check_one ( const vec &haystack, const vec &needle, int expected ) { in check_one() function 146 check_one ( c1, p1b, 0 ); // Find it at position zero in BOOST_AUTO_TEST_CASE() 148 check_one ( c1, p1f, -2 ); // Don't know answer in BOOST_AUTO_TEST_CASE() 150 check_one ( c1, p1e, c1.size() - p1e.size ()); in BOOST_AUTO_TEST_CASE() 152 check_one ( c1, p1n, -1 ); // Not found in BOOST_AUTO_TEST_CASE()
|
/third_party/boost/libs/geometry/test/formulas/ |
D | test_formula.hpp | 32 void check_one(std::string const& name, double result, double expected) in check_one() function 64 void check_one(std::string const& name, in check_one() function 79 check_one(name, result, expected); in check_one() 91 void check_one(double result, double expected, double reference, double reference_error, in check_one() function 94 check_one("", result, expected, reference, reference_error, normalize, check_reference_only); in check_one()
|
D | inverse.cpp | 39 check_one(name + "_d " + ss.str(), in check_inverse() 41 check_one(name + "_a " + ss.str(), in check_inverse() 43 check_one(name + "_ra " + ss.str(), in check_inverse() 45 check_one(name + "_rl " + ss.str(), in check_inverse() 47 check_one(name + "_gs " + ss.str(), in check_inverse()
|
D | inverse_karney.cpp | 39 check_one(name + "_d " + ss.str(), in check_inverse() 41 check_one(name + "_a " + ss.str(), in check_inverse() 43 check_one(name + "_ra " + ss.str(), in check_inverse() 45 check_one(name + "_rl " + ss.str(), in check_inverse() 47 check_one(name + "_gs " + ss.str(), in check_inverse()
|
D | direct_meridian.cpp | 45 check_one("lon:" + ss.str(), result.lon2, expected.lon, reference.lon2, in check_meridian_direct() 47 check_one("lat:" + ss.str(), result.lat2, expected.lat, reference.lat2, in check_meridian_direct() 49 check_one("rev_az:" + ss.str(), result.reverse_azimuth, in check_meridian_direct() 51 check_one("red len:" + ss.str(), result.reduced_length, result.reduced_length, in check_meridian_direct() 53 check_one("geo scale:" + ss.str(), result.geodesic_scale, result.geodesic_scale, in check_meridian_direct()
|
D | direct.cpp | 55 …check_one(result.reduced_length, expected.reduced_length, reference.reduced_length, reference_erro… in check_direct() 56 …check_one(result.geodesic_scale, expected.geodesic_scale, reference.geodesic_scale, reference_erro… in check_direct() 63 …check_one(result.lon2, expected.lon2, reference.lon2, reference_error, true, check_reference_only); in check_direct_sph() 64 …check_one(result.lat2, expected.lat2, reference.lat2, reference_error, true, check_reference_only); in check_direct_sph() 65 …check_one(result.reverse_azimuth, expected.reverse_azimuth, reference.reverse_azimuth, reference_e… in check_direct_sph()
|
D | vertex_longitude.cpp | 138 check_one(res_an, results.andoyer * d2r, res_vi, 0.001); in test_all() 139 check_one(res_th, results.thomas * d2r, res_vi, 0.01);//in some tests thomas gives low accuracy in test_all() 140 check_one(res_vi, results.vincenty * d2r, res_vi, 0.0000001); in test_all() 141 check_one(res_sh, results.spherical * d2r, res_vi, 1); in test_all()
|
D | intersection.cpp | 34 … check_one(result.lon, expected.lon, reference.lon, reference_error, false, check_reference_only); in check_result() 35 … check_one(result.lat, expected.lat, reference.lat, reference_error, false, check_reference_only); in check_result() 183 check_one("issue 612", lon, -0.087266500535674751); in test_bugs() 184 check_one("issue 612", lat, 1.5892499139622920e-07); in test_bugs()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/aio_cancel/ |
D | 5-1.c | 53 static int check_one; in main() local 107 check_one = 0; in main() 123 check_one = 1; in main() 140 if (!check_one) in main()
|
/third_party/ltp/lib/ |
D | tst_bool_expr.c | 188 static inline int check_one(int op) in check_one() function 234 if (check_one(prev_op)) { in shunting_yard() 245 if (check_one(prev_op)) { in shunting_yard() 277 if (check_one(prev_op)) { in shunting_yard()
|
/third_party/boost/libs/geometry/test/algorithms/ |
D | is_valid.cpp | 1219 inline void check_one(Geometry const& geometry) in check_one() function 1267 check_one<coord_t>(p); in test_with_invalid_coordinate() 1274 check_one<coord_t>(s); in test_with_invalid_coordinate() 1281 check_one<coord_t>(b); in test_with_invalid_coordinate() 1288 check_one<coord_t>(ls); in test_with_invalid_coordinate() 1295 check_one<coord_t>(r); in test_with_invalid_coordinate() 1302 check_one<coord_t>(pgn); in test_with_invalid_coordinate() 1309 check_one<coord_t>(mp); in test_with_invalid_coordinate() 1316 check_one<coord_t>(mls); in test_with_invalid_coordinate() 1323 check_one<coord_t>(mpgn); in test_with_invalid_coordinate()
|
/third_party/grpc/test/core/iomgr/ |
D | combiner_test.cc | 65 static void check_one(void* a, grpc_error* /*error*/) { in check_one() function 81 args->lock->Run(GRPC_CLOSURE_CREATE(check_one, c, nullptr), in execute_many_loop()
|