Home
last modified time | relevance | path

Searched refs:mls (Results 1 – 25 of 128) sorted by relevance

123456

/third_party/boost/libs/geometry/test/algorithms/overlay/
Dget_turns_linear_linear_sph.cpp21 typedef bg::model::multi_linestring<ls> mls; in test_all() typedef
293 test_geometry<mls, mls>("MULTILINESTRING((0 0,10 0,30 0))", in test_all()
302 test_geometry<mls, mls>("MULTILINESTRING((0 0,10 0,5 0))", in test_all()
311 test_geometry<mls, mls>("MULTILINESTRING((0 0,10 0))", in test_all()
315 test_geometry<mls, mls>("MULTILINESTRING((1 0,1 1,2 1))", in test_all()
318 test_geometry<mls, mls>("MULTILINESTRING((1 0,1 1,2 1))", in test_all()
321 test_geometry<mls, mls>("MULTILINESTRING((0 0,1 0,0 0))", in test_all()
324 test_geometry<mls, mls>("MULTILINESTRING((1 0,1 1,2 1))", in test_all()
327 test_geometry<mls, mls>("MULTILINESTRING((1 0,1 1,2 1))", in test_all()
330 test_geometry<mls, mls>("MULTILINESTRING((1 0,1 1,2 1))", in test_all()
[all …]
Dget_turns_linear_linear.cpp31 typedef bg::model::multi_linestring<ls> mls; in test_all() typedef
387 test_geometry<mls, mls>("MULTILINESTRING((0 0,10 0,30 0))", in test_all()
396 test_geometry<mls, mls>("MULTILINESTRING((0 0,10 0,5 0))", in test_all()
405 test_geometry<mls, mls>("MULTILINESTRING((0 0,10 0))", in test_all()
409 test_geometry<mls, mls>("MULTILINESTRING((1 0,1 1,2 1))", in test_all()
412 test_geometry<mls, mls>("MULTILINESTRING((1 0,1 1,2 1))", in test_all()
415 test_geometry<mls, mls>("MULTILINESTRING((0 0,1 0,0 0))", in test_all()
418 test_geometry<mls, mls>("MULTILINESTRING((1 0,1 1,2 1))", in test_all()
421 test_geometry<mls, mls>("MULTILINESTRING((1 0,1 1,2 1))", in test_all()
424 test_geometry<mls, mls>("MULTILINESTRING((1 0,1 1,2 1))", in test_all()
[all …]
/third_party/boost/libs/geometry/test/algorithms/relate/
Drelate_linear_linear.cpp251 typedef bg::model::multi_linestring<ls> mls; in test_linestring_multi_linestring() typedef
254 …test_geometry<ls, mls>("LINESTRING(0 0,10 0)", "MULTILINESTRING((1 0,2 0),(1 1,2 1))", "101FF0102"… in test_linestring_multi_linestring()
256 …test_geometry<ls, mls>("LINESTRING(0 0,10 0)", "MULTILINESTRING((1 0,2 0),(1 1,2 1,2 2,1 1))", "10… in test_linestring_multi_linestring()
258 …test_geometry<ls, mls>("LINESTRING(0 0,10 0)", "MULTILINESTRING((1 0,2 0),(1 1,2 1,2 2),(1 1,2 2))… in test_linestring_multi_linestring()
260 test_geometry<ls, mls>("LINESTRING(0 0,10 0)", in test_linestring_multi_linestring()
265 test_geometry<ls, mls>("LINESTRING(0 0,5 0,5 5,0 5,0 0)", in test_linestring_multi_linestring()
268 test_geometry<ls, mls>("LINESTRING(0 0,5 0,5 5,0 5,0 0)", in test_linestring_multi_linestring()
272 test_geometry<ls, mls>("LINESTRING(0 0,5 0,5 5,0 5,0 0)", in test_linestring_multi_linestring()
275 test_geometry<ls, mls>("LINESTRING(0 0,5 0,5 5,0 5,0 0)", in test_linestring_multi_linestring()
290 test_geometry<ls, mls>("LINESTRING(0 0, 5 0)", // |--------------| in test_linestring_multi_linestring()
[all …]
Drelate_linear_linear_sph.cpp248 typedef bg::model::multi_linestring<ls> mls; in test_linestring_multi_linestring() typedef
251 …test_geometry<ls, mls>("LINESTRING(0 0,10 0)", "MULTILINESTRING((1 0,2 0),(1 1,2 1))", "101FF0102"… in test_linestring_multi_linestring()
253 …test_geometry<ls, mls>("LINESTRING(0 0,10 0)", "MULTILINESTRING((1 0,2 0),(1 1,2 1,2 2,1 1))", "10… in test_linestring_multi_linestring()
255 …test_geometry<ls, mls>("LINESTRING(0 0,10 0)", "MULTILINESTRING((1 0,2 0),(1 1,2 1,2 2),(1 1,2 2))… in test_linestring_multi_linestring()
257 test_geometry<ls, mls>("LINESTRING(0 0,10 0)", in test_linestring_multi_linestring()
262 test_geometry<ls, mls>("LINESTRING(0 0,5 0,5 5,0 5,0 0)", in test_linestring_multi_linestring()
265 test_geometry<ls, mls>("LINESTRING(0 0,5 0,5 5,0 5,0 0)", in test_linestring_multi_linestring()
269 test_geometry<ls, mls>("LINESTRING(0 0,5 0,5 5,0 5,0 0)", in test_linestring_multi_linestring()
272 test_geometry<ls, mls>("LINESTRING(0 0,5 0,5 5,0 5,0 0)", in test_linestring_multi_linestring()
287 test_geometry<ls, mls>("LINESTRING(0 0, 5 0)", // |--------------| in test_linestring_multi_linestring()
[all …]
Drelate_linear_areal_sph.cpp278 typedef bg::model::multi_linestring<ls> mls; in test_multi_linestring_polygon() typedef
283 test_geometry<mls, poly>("MULTILINESTRING((11 11, 20 20),(5 7, 4 1))", in test_multi_linestring_polygon()
286 test_geometry<mls, poly>("MULTILINESTRING((10 0, 18 12),(2 2,2 1))", in test_multi_linestring_polygon()
294 …test_geometry<mls, poly>("MULTILINESTRING((-0.59322033898305082 -8.0508474576271194,-2.88235294117… in test_multi_linestring_polygon()
297 …test_geometry<mls, poly>("MULTILINESTRING((-2.333333333333333 -8.6666666666666661,-4.3253012048192… in test_multi_linestring_polygon()
303 test_geometry<mls, poly>("MULTILINESTRING((6 6,15 15),(0 0, 7 7))", in test_multi_linestring_polygon()
306 test_geometry<mls, poly>("MULTILINESTRING((15 15,6 6),(0 0, 7 7))", in test_multi_linestring_polygon()
311 test_geometry<mls, ring>("MULTILINESTRING((15 15,6 6),(4 14,6 15.986412732589057))", in test_multi_linestring_polygon()
316 …test_geometry<mls, poly>("MULTILINESTRING((4 10.035925377760330, 3 10.031432746397092, 10 6),(5 0,… in test_multi_linestring_polygon()
321 …test_geometry<mls, poly>("MULTILINESTRING((3 10.031432746397092, 1 5, 1 10.013467818052765, 3 4, 7… in test_multi_linestring_polygon()
[all …]
Drelate_linear_areal.cpp384 typedef bg::model::multi_linestring<ls> mls; in test_multi_linestring_polygon() typedef
388 test_geometry<mls, poly>("MULTILINESTRING((11 11, 20 20),(5 7, 4 1))", in test_multi_linestring_polygon()
391 test_geometry<mls, poly>("MULTILINESTRING((10 0, 18 12),(2 2,2 1))", in test_multi_linestring_polygon()
399 …test_geometry<mls, poly>("MULTILINESTRING((-0.59322033898305082 -8.0508474576271194,-2.88235294117… in test_multi_linestring_polygon()
402 …test_geometry<mls, poly>("MULTILINESTRING((-2.333333333333333 -8.6666666666666661,-4.3253012048192… in test_multi_linestring_polygon()
408 test_geometry<mls, poly>("MULTILINESTRING((6 6,15 15),(0 0, 7 7))", in test_multi_linestring_polygon()
411 test_geometry<mls, poly>("MULTILINESTRING((15 15,6 6),(0 0, 7 7))", in test_multi_linestring_polygon()
415 test_geometry<mls, poly>("MULTILINESTRING((15 15,6 6),(4 14,6 16))", in test_multi_linestring_polygon()
420 test_geometry<mls, poly>("MULTILINESTRING((4 10, 3 10, 10 6),(5 0, 7 5, 9 10))", in test_multi_linestring_polygon()
425 test_geometry<mls, poly>("MULTILINESTRING((3 10, 1 5, 1 10, 3 4, 7 8, 6 10, 10 2))", in test_multi_linestring_polygon()
[all …]
Drelate_pointlike_geometry.cpp87 typedef bg::model::multi_linestring<ls> mls; in test_point_multilinestring() typedef
89 test_geometry<P, mls>("POINT(0 0)", "MULTILINESTRING((0 0, 2 0, 2 2),(0 0, 0 2))", "0FFFFF102"); in test_point_multilinestring()
90 …test_geometry<P, mls>("POINT(0 0)", "MULTILINESTRING((0 0, 2 0, 2 2),(0 0, 0 2, 2 2))", "0FFFFF1F2… in test_point_multilinestring()
91 …test_geometry<P, mls>("POINT(0 0)", "MULTILINESTRING((0 0, 2 0, 2 2),(0 0, 0 2, 2 2),(0 0, 1 1))",… in test_point_multilinestring()
93 …test_geometry<P, mls>("POINT(0 0)", "MULTILINESTRING((0 0,5 0),(0 0,0 5,5 0),(0 0,-5 0),(0 0,0 -5,… in test_point_multilinestring()
94 …test_geometry<P, mls>("POINT(5 0)", "MULTILINESTRING((0 0,5 0),(0 0,0 5,5 0),(0 0,-5 0),(0 0,0 -5,… in test_point_multilinestring()
95 …test_geometry<P, mls>("POINT(1 0)", "MULTILINESTRING((0 0,5 0),(0 0,0 5,5 0),(0 0,-5 0),(0 0,0 -5,… in test_point_multilinestring()
98 if (BOOST_GEOMETRY_CONDITION(is_nan_case_supported<mls>::value)) in test_point_multilinestring()
110 mls g2; in test_point_multilinestring()
148 typedef bg::model::multi_linestring<ls> mls; in test_multipoint_multilinestring() typedef
[all …]
/third_party/boost/libs/geometry/test/algorithms/crosses/
Dcrosses.cpp21 typedef bg::model::multi_linestring<ls> mls; in test_pl() typedef
27 …test_geometry<mpt, mls>("MULTIPOINT(0 0,3 0)", "MULTILINESTRING((0 0,0 1,1 1),(1 1,1 0,0 0))", tru… in test_pl()
28 …test_geometry<mpt, mls>("MULTIPOINT(0 0,1 1)", "MULTILINESTRING((0 0,0 1,1 1),(1 1,1 0,0 0))", fal… in test_pl()
50 typedef bg::model::multi_linestring<ls> mls; in test_ll() typedef
56 test_geometry<ls, mls>("LINESTRING(0 0,2 2,4 4)", "MULTILINESTRING((0 1,4 1),(0 2,4 2))", true); in test_ll()
57 test_geometry<mls, ls>("MULTILINESTRING((0 1,4 1),(0 2,4 2))", "LINESTRING(0 0,2 2,4 4)", true); in test_ll()
59 …test_geometry<mls, mls>("MULTILINESTRING((0 0,2 2,4 4),(3 0,3 4))", "MULTILINESTRING((0 1,4 1),(0 … in test_ll()
69 typedef bg::model::multi_linestring<ls> mls; in test_la() typedef
81 …test_geometry<mls, ring>("MULTILINESTRING((1 1, 5 5),(6 6,7 7))", "POLYGON((0 0,0 5,5 5,5 0,0 0))"… in test_la()
82 …test_geometry<mls, poly>("MULTILINESTRING((1 1, 5 5),(6 6,7 7))", "POLYGON((0 0,0 5,5 5,5 0,0 0))"… in test_la()
[all …]
Dcrosses_sph.cpp63 typedef bg::model::multi_linestring<ls> mls; in test_multi_linestring_polygon() typedef
65 test_geometry<mls, poly>("MULTILINESTRING((11 11, 20 20),(5 7, 4 1))", in test_multi_linestring_polygon()
69 test_geometry<mls, ring>("MULTILINESTRING((6 6,15 15),(0 0, 7 7))", in test_multi_linestring_polygon()
73 …test_geometry<mls, poly>("MULTILINESTRING((3 10.031432746397092, 1 5, 1 10.013467818052765, 3 4, 7… in test_multi_linestring_polygon()
83 typedef bg::model::multi_linestring<ls> mls; in test_multi_linestring_multi_polygon() typedef
86 test_geometry<mls, mpoly>("MULTILINESTRING((0 0,10 0,10 10,0 10,0 0),(2 2,5 5,2 8,2 2))", in test_multi_linestring_multi_polygon()
90 …test_geometry<mls, mpoly>("MULTILINESTRING((0 0,10 0,10 10),(10 10,0 10,0 0),(20 20,50 50,20 80,20… in test_multi_linestring_multi_polygon()
94 test_geometry<mls, mpoly>("MULTILINESTRING((5 -2,4 -2,5 0),(5 -2,6 -2,5 0))", in test_multi_linestring_multi_polygon()
/third_party/boost/libs/geometry/test/algorithms/within/
Dwithin_linear_areal.cpp27 typedef bg::model::multi_linestring<ls> mls; in test_l_a() typedef
69 test_geometry<mls, mpoly>("MULTILINESTRING((5 -2,4 -2,5 0),(5 -2,6 -2,5 0))", in test_l_a()
72 test_geometry<mls, mpoly>("MULTILINESTRING((0 0,0 1,5 0),(0 0,0 -1,5 0))", in test_l_a()
75 test_geometry<mls, mpoly>("MULTILINESTRING((5 -2,4 -2,5 0),(6 -2,5 0))", in test_l_a()
78 test_geometry<mls, mpoly>("MULTILINESTRING((0 0,0 1,5 0),(0 -1,5 0))", in test_l_a()
81 test_geometry<mls, mpoly>("MULTILINESTRING((0 0,5 0),(5 -2,5 0))", in test_l_a()
84 test_geometry<mls, mpoly>("MULTILINESTRING((5 -2,5 0),(0 0,5 0))", in test_l_a()
89 …test_geometry<mls, poly>("MULTILINESTRING((0 0,2 2),(2 2,3 3))", "POLYGON((0 0,0 5,5 5,5 0,0 0))",… in test_l_a()
91 …test_geometry<mls, poly>("MULTILINESTRING((1 1,2 2),(6 6,7 7))", "POLYGON((0 0,0 5,5 5,5 0,0 0))",… in test_l_a()
94 test_geometry<mls, mpoly>("MULTILINESTRING((1 1,5 5),(6 6,7 7))", in test_l_a()
[all …]
Dwithin_sph.cpp145 typedef bg::model::multi_linestring<ls> mls; in test_multi_linestring_polygon() typedef
149 test_geometry<mls, poly>("MULTILINESTRING((11 11, 20 20),(5 7, 4 1))", in test_multi_linestring_polygon()
153 test_geometry<mls, ring>("MULTILINESTRING((6 6,15 15),(0 0, 7 7))", in test_multi_linestring_polygon()
157 …test_geometry<mls, poly>("MULTILINESTRING((3 10.031432746397092, 1 5, 1 10.013467818052765, 3 4, 7… in test_multi_linestring_polygon()
167 typedef bg::model::multi_linestring<ls> mls; in test_multi_linestring_multi_polygon() typedef
170 test_geometry<mls, mpoly>("MULTILINESTRING((0 0,10 0,10 10,0 10,0 0),(2 2,5 5,2 8,2 2))", in test_multi_linestring_multi_polygon()
174 …test_geometry<mls, mpoly>("MULTILINESTRING((0 0,10 0,10 10),(10 10,0 10,0 0),(20 20,50 50,20 80,20… in test_multi_linestring_multi_polygon()
178 test_geometry<mls, mpoly>("MULTILINESTRING((5 -2,4 -2,5 0),(5 -2,6 -2,5 0))", in test_multi_linestring_multi_polygon()
197 typedef bg::model::multi_linestring<ls> mls; in test_linestring_multi_linestring() typedef
199 test_geometry<ls, mls>("LINESTRING(0 0,10 0)", in test_linestring_multi_linestring()
[all …]
/third_party/boost/libs/geometry/test/cs_undefined/
Dsetops.cpp185 ::set_id_ps(g.pt, g.mls, g.mpt); in test_main()
188 ::set_id_ps(g.mpt, g.mls, g.mpt); in test_main()
205 ::set_i_ss(g.ls, g.mls, g.mpt); // no difference nor sym_difference in test_main()
207 ::set_i_ss(g.mls, g.ls, g.mpt); // no difference nor sym_difference in test_main()
208 ::set_ids_ss(g.mls, g.mls, g.mpt); in test_main()
215 ::set_idsu_ss(g.ls, g.ls, g.mls); in test_main()
216 ::set_idsu_ss(g.ls, g.mls, g.mls); in test_main()
218 ::set_idsu_ss(g.mls, g.ls, g.mls); in test_main()
219 ::set_idsu_ss(g.mls, g.mls, g.mls); in test_main()
232 ::set_ids_ss(g.mls, g.r, g.mpt); in test_main()
[all …]
Drelops2.cpp22 ::rel_ss(g.ls, g.mls); in test_main()
24 ::rel_ss(g.mls, g.ls); in test_main()
25 ::rel_ss(g.mls, g.mls); in test_main()
29 ::rel_ss(g.mls, g.r); in test_main()
32 ::rel_ss(g.mls, g.po); in test_main()
35 ::rel_ss(g.mls, g.mpo); in test_main()
Ddistance.cpp30 bg::distance(g.pt, g.mls, bg::strategy::distance::projected_point<>()); in test_main()
31 bg::distance(g.pt, g.mls, bg::strategy::distance::cross_track<>()); in test_main()
32 bg::distance(g.pt, g.mls, bg::strategy::distance::geographic_cross_track<>()); in test_main()
36 bg::distance(g.mpt, g.mls, bg::strategy::distance::projected_point<>()); in test_main()
37 bg::distance(g.mpt, g.mls, bg::strategy::distance::cross_track<>()); in test_main()
38 bg::distance(g.mpt, g.mls, bg::strategy::distance::geographic_cross_track<>()); in test_main()
42 bg::distance(g.ls, g.mls, bg::strategy::distance::projected_point<>()); in test_main()
43 bg::distance(g.ls, g.mls, bg::strategy::distance::cross_track<>()); in test_main()
44 bg::distance(g.ls, g.mls, bg::strategy::distance::geographic_cross_track<>()); in test_main()
45 bg::distance(g.mls, g.mls, bg::strategy::distance::projected_point<>()); in test_main()
[all …]
/third_party/selinux/libsepol/src/
Dcontext_record.c22 char *mls; member
102 return con->mls; in sepol_context_get_mls()
107 sepol_context_t * con, const char *mls) in sepol_context_set_mls() argument
110 char *tmp_mls = strdup(mls); in sepol_context_set_mls()
113 "MLS fields to %s", mls); in sepol_context_set_mls()
116 free(con->mls); in sepol_context_set_mls()
117 con->mls = tmp_mls; in sepol_context_set_mls()
137 con->mls = NULL; in sepol_context_create()
167 if (con->mls && !(new_con->mls = strdup(con->mls))) in sepol_context_clone()
193 free(con->mls); in sepol_context_free()
[all …]
Dcontext.c158 const char *mls = sepol_context_get_mls(record); in context_from_record() local
195 if (mls && !policydb->mls) { in context_from_record()
197 mls); in context_from_record()
199 } else if (!mls && policydb->mls) { in context_from_record()
203 if (mls && (mls_from_string(handle, policydb, mls, scontext) < 0)) in context_from_record()
208 if (mls) { in context_from_record()
211 user, role, type, mls); in context_from_record()
249 char *mls = NULL; in context_to_record() local
269 if (policydb->mls) { in context_to_record()
270 if (mls_to_string(handle, policydb, context, &mls) < 0) in context_to_record()
[all …]
/third_party/boost/libs/geometry/test/algorithms/touches/
Dtouches_sph.cpp139 typedef bg::model::multi_linestring<ls> mls; in test_multi_linestring_polygon() typedef
141 test_geometry<mls, poly>("MULTILINESTRING((11 11, 20 20),(5 7, 4 1))", in test_multi_linestring_polygon()
145 test_geometry<mls, ring>("MULTILINESTRING((6 6,15 15),(0 0, 7 7))", in test_multi_linestring_polygon()
149 …test_geometry<mls, poly>("MULTILINESTRING((3 10.031432746397092, 1 5, 1 10.013467818052765, 3 4, 7… in test_multi_linestring_polygon()
159 typedef bg::model::multi_linestring<ls> mls; in test_multi_linestring_multi_polygon() typedef
162 test_geometry<mls, mpoly>("MULTILINESTRING((0 0,10 0,10 10,0 10,0 0),(2 2,5 5,2 8,2 2))", in test_multi_linestring_multi_polygon()
166 …test_geometry<mls, mpoly>("MULTILINESTRING((0 0,10 0,10 10),(10 10,0 10,0 0),(20 20,50 50,20 80,20… in test_multi_linestring_multi_polygon()
170 test_geometry<mls, mpoly>("MULTILINESTRING((5 -2,4 -2,5 0),(5 -2,6 -2,5 0))", in test_multi_linestring_multi_polygon()
189 typedef bg::model::multi_linestring<ls> mls; in test_linestring_multi_linestring() typedef
191 test_geometry<ls, mls>("LINESTRING(0 0,10 0)", in test_linestring_multi_linestring()
[all …]
/third_party/boost/libs/geometry/test/
Dminimal.cpp28 mlinestring mls; in test_main() local
34 bg::read_wkt("MULTILINESTRING((0 0,7 7,7 9),(7 9, 9 9))", mls); in test_main()
40 BOOST_CHECK_CLOSE(bg::length(mls), 13.899494936611665, 0.0001); in test_main()
43 BOOST_CHECK(!bg::crosses(ls, mls)); in test_main()
44 BOOST_CHECK(!bg::equals(ls, mls)); in test_main()
47 BOOST_CHECK(bg::relation(mls, mpo).str() == "101F00212"); in test_main()
49 BOOST_CHECK(!bg::touches(mls, po)); in test_main()
70 BOOST_CHECK_CLOSE(bg::distance(mls, mpo), 0.0, 0.0001); in test_main()
74 bg::envelope(mls, b); in test_main()
78 bg::convex_hull(mls, h); in test_main()
/third_party/boost/libs/geometry/test/algorithms/intersects/
Dintersects_sph.cpp143 typedef bg::model::multi_linestring<ls> mls; in test_multi_linestring_polygon() typedef
145 test_geometry<mls, poly>("MULTILINESTRING((11 11, 20 20),(5 7, 4 1))", in test_multi_linestring_polygon()
149 test_geometry<mls, ring>("MULTILINESTRING((6 6,15 15),(0 0, 7 7))", in test_multi_linestring_polygon()
153 …test_geometry<mls, poly>("MULTILINESTRING((3 10.031432746397092, 1 5, 1 10.013467818052765, 3 4, 7… in test_multi_linestring_polygon()
163 typedef bg::model::multi_linestring<ls> mls; in test_multi_linestring_multi_polygon() typedef
166 test_geometry<mls, mpoly>("MULTILINESTRING((0 0,10 0,10 10,0 10,0 0),(2 2,5 5,2 8,2 2))", in test_multi_linestring_multi_polygon()
170 …test_geometry<mls, mpoly>("MULTILINESTRING((0 0,10 0,10 10),(10 10,0 10,0 0),(20 20,50 50,20 80,20… in test_multi_linestring_multi_polygon()
174 test_geometry<mls, mpoly>("MULTILINESTRING((5 -2,4 -2,5 0),(5 -2,6 -2,5 0))", in test_multi_linestring_multi_polygon()
193 typedef bg::model::multi_linestring<ls> mls; in test_linestring_multi_linestring() typedef
195 test_geometry<ls, mls>("LINESTRING(0 0,10 0)", in test_linestring_multi_linestring()
[all …]
/third_party/boost/libs/geometry/test/algorithms/covered_by/
Dcovered_by_sph.cpp147 typedef bg::model::multi_linestring<ls> mls; in test_multi_linestring_polygon() typedef
149 test_geometry<mls, poly>("MULTILINESTRING((11 11, 20 20),(5 7, 4 1))", in test_multi_linestring_polygon()
153 test_geometry<mls, ring>("MULTILINESTRING((6 6,15 15),(0 0, 7 7))", in test_multi_linestring_polygon()
157 …test_geometry<mls, poly>("MULTILINESTRING((3 10.031432746397092, 1 5, 1 10.013467818052765, 3 4, 7… in test_multi_linestring_polygon()
167 typedef bg::model::multi_linestring<ls> mls; in test_multi_linestring_multi_polygon() typedef
170 test_geometry<mls, mpoly>("MULTILINESTRING((0 0,10 0,10 10,0 10,0 0),(2 2,5 5,2 8,2 2))", in test_multi_linestring_multi_polygon()
174 …test_geometry<mls, mpoly>("MULTILINESTRING((0 0,10 0,10 10),(10 10,0 10,0 0),(20 20,50 50,20 80,20… in test_multi_linestring_multi_polygon()
178 test_geometry<mls, mpoly>("MULTILINESTRING((5 -2,4 -2,5 0),(5 -2,6 -2,5 0))", in test_multi_linestring_multi_polygon()
197 typedef bg::model::multi_linestring<ls> mls; in test_linestring_multi_linestring() typedef
199 test_geometry<ls, mls>("LINESTRING(0 0,10 0)", in test_linestring_multi_linestring()
[all …]
/third_party/boost/libs/geometry/test/algorithms/disjoint/
Ddisjoint_sph.cpp145 typedef bg::model::multi_linestring<ls> mls; in test_multi_linestring_polygon() typedef
147 test_geometry<mls, poly>("MULTILINESTRING((11 11, 20 20),(5 7, 4 1))", in test_multi_linestring_polygon()
151 test_geometry<mls, ring>("MULTILINESTRING((6 6,15 15),(0 0, 7 7))", in test_multi_linestring_polygon()
155 …test_geometry<mls, poly>("MULTILINESTRING((3 10.031432746397092, 1 5, 1 10.013467818052765, 3 4, 7… in test_multi_linestring_polygon()
165 typedef bg::model::multi_linestring<ls> mls; in test_multi_linestring_multi_polygon() typedef
168 test_geometry<mls, mpoly>("MULTILINESTRING((0 0,10 0,10 10,0 10,0 0),(2 2,5 5,2 8,2 2))", in test_multi_linestring_multi_polygon()
172 …test_geometry<mls, mpoly>("MULTILINESTRING((0 0,10 0,10 10),(10 10,0 10,0 0),(20 20,50 50,20 80,20… in test_multi_linestring_multi_polygon()
176 test_geometry<mls, mpoly>("MULTILINESTRING((5 -2,4 -2,5 0),(5 -2,6 -2,5 0))", in test_multi_linestring_multi_polygon()
210 typedef bg::model::multi_linestring<ls> mls; in test_linestring_multi_linestring() typedef
212 test_geometry<ls, mls>("LINESTRING(0 0,10 0)", in test_linestring_multi_linestring()
[all …]
/third_party/boost/libs/geometry/test/algorithms/equals/
Dequals.cpp104 typedef bgm::multi_linestring<ls> mls; in test_linestring_multilinestring() typedef
106 … test_geometry<ls, mls>("ls_mls_1", "LINESTRING(0 0,1 0,2 0)", "MULTILINESTRING((0 0,2 0))", true); in test_linestring_multilinestring()
107 …test_geometry<ls, mls>("ls_mls_1", "LINESTRING(0 0,1 0,2 0)", "MULTILINESTRING((0 0,1 0),(1 0,2 0)… in test_linestring_multilinestring()
108 …test_geometry<ls, mls>("ls_mls_1", "LINESTRING(0 0,2 0,4 0)", "MULTILINESTRING((0 0,2 0),(2 0,3 0)… in test_linestring_multilinestring()
109 …test_geometry<ls, mls>("ls_mls_1", "LINESTRING(0 0,2 0,4 0)", "MULTILINESTRING((0 0,2 0),(2 0,3 0)… in test_linestring_multilinestring()
110 …test_geometry<ls, mls>("ls_mls_1", "LINESTRING(0 0,2 0,4 0)", "MULTILINESTRING((0 0,2 0),(3 0,4 0)… in test_linestring_multilinestring()
112 …test_geometry<ls, mls>("ls_mls_spike", "LINESTRING(0 0,2 0,2 2,2 0,4 0)", "MULTILINESTRING((0 0,4 … in test_linestring_multilinestring()
113 …test_geometry<ls, mls>("ls_mls_spike", "LINESTRING(0 0,2 0,2 2,2 0,4 0)", "MULTILINESTRING((0 0,4 … in test_linestring_multilinestring()
115 …test_geometry<ls, mls>("ls_mls_ring1", "LINESTRING(0 0,5 0,5 5,0 5,0 0)", "MULTILINESTRING((5 5,0 … in test_linestring_multilinestring()
116 …test_geometry<ls, mls>("ls_mls_ring2", "LINESTRING(0 0,5 0,5 5,0 5,0 0)", "MULTILINESTRING((5 5,5 … in test_linestring_multilinestring()
[all …]
/third_party/boost/libs/geometry/doc/src/examples/algorithms/
Dis_empty.cpp28 > mls; in main() local
29 boost::geometry::read_wkt("MULTILINESTRING((0 0,0 10,10 0),(1 1,8 1,1 8))", mls); in main()
30 std::cout << "Is empty? " << (boost::geometry::is_empty(mls) ? "yes" : "no") << std::endl; in main()
31 boost::geometry::clear(mls); in main()
32 …std::cout << "Is empty (after clearing)? " << (boost::geometry::is_empty(mls) ? "yes" : "no") << s… in main()
/third_party/selinux/libsepol/tests/
Dtest-downgrade.c127 int do_downgrade_test(int mls) in do_downgrade_test() argument
138 fprintf(stderr, "error reading %spolicy binary\n", mls ? "mls " : ""); in do_downgrade_test()
144 policydb.mls = mls ? 1 : 0; in do_downgrade_test()
162 if (mls && lo < POLICYDB_VERSION_MLS) in do_downgrade_test()
165 …fprintf(stderr, "error writing %spolicy binary, version %d (downgraded from %d)\n", mls ? "mls " :… in do_downgrade_test()
177 …fprintf(stderr, "error reading %spolicy binary, version %d (downgraded from %d)\n", mls ? "mls " :… in do_downgrade_test()
/third_party/selinux/libsepol/cil/src/
Dcil_policy.c272 static void cil_context_to_policy(FILE *out, struct cil_context *context, int mls) in cil_context_to_policy() argument
277 if (mls) { in cil_context_to_policy()
1368 static void cil_block_te_rules_to_policy(FILE *out, struct cil_tree_node *start, int mls) in cil_block_te_rules_to_policy() argument
1412 if (mls == CIL_TRUE) { in cil_block_te_rules_to_policy()
1421 int mls; member
1450 cil_block_te_rules_to_policy(args->out, n, args->mls); in __cil_te_rules_to_policy_helper()
1456 cil_block_te_rules_to_policy(args->out, n, args->mls); in __cil_te_rules_to_policy_helper()
1469 static void cil_te_rules_to_policy(FILE *out, struct cil_tree_node *head, int mls) in cil_te_rules_to_policy() argument
1474 args.mls = mls; in cil_te_rules_to_policy()
1476 cil_block_te_rules_to_policy(out, head, mls); in cil_te_rules_to_policy()
[all …]

123456