Home
last modified time | relevance | path

Searched refs:mls1 (Results 1 – 7 of 7) sorted by relevance

/third_party/boost/libs/geometry/doc/src/examples/geometries/
Dmulti_linestring.cpp26 mlinestring_t mls1; /*< Default-construct a multi_linestring. >*/ in main() local
36 mls1.resize(2); /*< Resize a multi_linestring, store two linestrings. >*/ in main()
38 bg::append(mls1[0], point_t(0.0, 0.0)); /*< Append point to the first linestring. >*/ in main()
39 bg::append(mls1[0], point_t(0.0, 1.0)); in main()
40 bg::append(mls1[0], point_t(2.0, 1.0)); in main()
42 bg::append(mls1[1], point_t(1.0, 0.0)); /*< Append point to the second linestring. >*/ in main()
43 bg::append(mls1[1], point_t(2.0, 0.0)); in main()
45 double l = bg::length(mls1); in main()
/third_party/boost/libs/geometry/test/algorithms/set_operations/
Dtest_set_ops_linear_linear.hpp196 MultiLinestring1 mls1 = multilinestring1; in apply() local
199 std::sort(boost::begin(mls1), boost::end(mls1), linestring_less()); in apply()
202 unique<MultiLinestring1, EnableUnique>()(mls1, tolerance); in apply()
205 if (boost::size(mls1) != boost::size(mls2)) in apply()
210 ls1_iterator it1 = boost::begin(mls1); in apply()
212 for (; it1 != boost::end(mls1); ++it1, ++it2) in apply()
/third_party/boost/libs/geometry/test/algorithms/within/
Dwithin_linear_linear.cpp27 typedef bg::model::multi_linestring<ls1> mls1; in test_l_l() typedef
80 … test_geometry<mls1, ls2>("MULTILINESTRING((0 0, 2 2),(3 3, 4 4))", "LINESTRING(0 0, 5 5)", true); in test_l_l()
82 …test_geometry<mls1, mls2>("MULTILINESTRING((1 1, 2 2),(3 3, 4 4))", "MULTILINESTRING((1 1, 2 2),(2… in test_l_l()
/third_party/boost/libs/geometry/test/geometries/
Dinitialization.cpp142 mls mls1 = {{{0, 0}, {1, 0}, {2, 0}}, {{3, 0}, {4, 0}}}; in test_initializer_list_2d() local
143 BOOST_CHECK(bg::num_geometries(mls1) == 2); in test_initializer_list_2d()
144 BOOST_CHECK(bg::num_points(mls1) == 5); in test_initializer_list_2d()
146 mls1 = {{{0, 0}, {1, 0}, {2, 0}}, {{3, 0}, {4, 0}, {5, 0}}}; in test_initializer_list_2d()
147 BOOST_CHECK(bg::num_points(mls1) == 6); in test_initializer_list_2d()
/third_party/selinux/libsepol/include/sepol/
Dcontext.h24 const char *mls1,
/third_party/boost/libs/geometry/test/algorithms/set_operations/difference/
Ddifference_linear_linear.cpp1197 ML mls1, mls2, mls_out; in BOOST_AUTO_TEST_CASE() local
1198 bg::read_wkt(wkt1, mls1); in BOOST_AUTO_TEST_CASE()
1202 tester::apply(mls1, mls2, mls_out, "mlmldf26", 1e-10); in BOOST_AUTO_TEST_CASE()
1210 ML mls1, mls2, mls_out; in BOOST_AUTO_TEST_CASE() local
1211 bg::read_wkt(wkt1, mls1); in BOOST_AUTO_TEST_CASE()
1215 tester::apply(mls1, mls2, mls_out, "mlmldf27"); in BOOST_AUTO_TEST_CASE()
/third_party/selinux/libsepol/src/
Dmls.c669 const char *mls1, const char *mls2, int *response) in sepol_mls_contains() argument
680 if (mls_from_string(handle, &policydb->p, mls1, ctx1) < 0) in sepol_mls_contains()
698 mls1, mls2); in sepol_mls_contains()