Home
last modified time | relevance | path

Searched refs:box2 (Results 1 – 25 of 55) sorted by relevance

123

/third_party/flutter/flutter/packages/flutter/test/rendering/
Dflex_test.dart140 final RenderDecoratedBox box2 = RenderDecoratedBox(decoration: const BoxDecoration());
141 … RenderFlex flex = RenderFlex(textDirection: TextDirection.ltr, children: <RenderBox>[box1, box2]);
147 expect(box2.size.width, equals(0.0));
148 expect(box2.size.height, equals(0.0));
150 final FlexParentData box2ParentData = box2.parentData;
156 expect(box2.size.width, equals(100.0));
157 expect(box2.size.height, equals(0.0));
162 final RenderDecoratedBox box2 = RenderDecoratedBox(decoration: const BoxDecoration());
164 flex.setupParentData(box2);
165 final FlexParentData box2ParentData = box2.parentData;
[all …]
/third_party/boost/boost/geometry/index/detail/algorithms/
Dintersection_content.hpp27 inline bool disjoint_box_box(Box const& box1, Box const& box2, Strategy const&) in disjoint_box_box() argument
29 return geometry::detail::disjoint::disjoint_box_box(box1, box2, in disjoint_box_box()
34 inline bool disjoint_box_box(Box const& box1, Box const& box2, default_strategy const& ) in disjoint_box_box() argument
37 return geometry::detail::disjoint::disjoint_box_box(box1, box2, strategy_type()); in disjoint_box_box()
44 …ontent_result<Box>::type intersection_content(Box const& box1, Box const& box2, Strategy const& st… in intersection_content() argument
46 bool const intersects = ! index::detail::disjoint_box_box(box1, box2, strategy); in intersection_content()
58 >::apply(box1, box2, 0, box_intersection, 0); in intersection_content()
68 …e typename default_content_result<Box>::type intersection_content(Box const& box1, Box const& box2) in intersection_content() argument
70 return intersection_content(box1, box2, default_strategy()); in intersection_content()
/third_party/boost/boost/geometry/strategies/cartesian/
Ddisjoint_box_box.hpp48 static inline bool apply(Box1 const& box1, Box2 const& box2) in apply()
50 if (get<max_corner, Dimension>(box1) < get<min_corner, Dimension>(box2)) in apply()
54 if (get<min_corner, Dimension>(box1) > get<max_corner, Dimension>(box2)) in apply()
62 >::apply(box1, box2); in apply()
83 static inline bool apply(Box1 const& box1, Box2 const& box2) in apply()
85 return detail::box_box<Box1, Box2>::apply(box1, box2); in apply()
Dbox_in_box.hpp239 static inline bool apply(Box1 const& box1, Box2 const& box2) in apply()
251 >::apply(box1, box2); in apply()
259 static inline bool apply(Box1 const& box1, Box2 const& box2) in apply()
266 >::apply(box1, box2); in apply()
273 static inline bool apply(Box1 const& box1, Box2 const& box2) in apply()
280 >::apply(box1, box2); in apply()
295 static inline bool apply(Box1 const& box1, Box2 const& box2) in apply()
302 >::apply(box1, box2); in apply()
309 static inline bool apply(Box1 const& box1, Box2 const& box2) in apply()
316 >::apply(box1, box2); in apply()
Ddistance_pythagoras_box_box.hpp50 static inline void apply(Box1 const& box1, Box2 const& box2, T& result) in apply()
58 boost::numeric_cast<T>(geometry::get<min_corner, I-1>(box2)); in apply()
60 boost::numeric_cast<T>(geometry::get<max_corner, I-1>(box2)); in apply()
73 compute_pythagoras_box_box<I-1>::apply(box1, box2, result); in apply()
118 apply(Box1 const& box1, Box2 const& box2) in apply() argument
135 >::apply(box1, box2, result); in apply()
185 apply(Box1 const& box1, Box2 const& box2) in apply() argument
198 >::apply(box1, box2) in apply()
/third_party/boost/boost/geometry/strategies/spherical/
Ddisjoint_box_box.hpp45 static inline bool apply(Box1 const& box1, Box2 const& box2) in apply()
57 calc_t const b2_min = get<min_corner, 0>(box2); in apply()
58 calc_t const b2_max = get<max_corner, 0>(box2); in apply()
90 >::apply(box1, box2); in apply()
101 static inline bool apply(Box1 const& box1, Box2 const& box2) in apply()
103 return detail::box_box_on_spheroid::apply(box1, box2); in apply()
Ddistance_cross_track_box_box.hpp81 Box2 const& box2, in apply() argument
98 geometry::detail::assign_box_corners(box2, in apply()
135 return apply(box2, box1, pp_strategy, ps_strategy); in apply()
332 apply(Box1 const& box1, Box2 const& box2) const in apply()
347 <return_type>::apply(box1, box2, in apply()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/cuda_impl/
Diou_impl.cu28 __global__ void IOUKernel(const size_t size, const T *box1, const T *box2, T *iou_results, const si… in IOUKernel() argument
38 location_coordinate[1][j] = static_cast<float>(box2[(i / input_len_0) * IOU_DIMENSION + j]); in IOUKernel()
65 void IOU(const size_t &size, const T *box1, const T *box2, T *iou_results, const size_t &mode, in IOU() argument
67 …IOUKernel<<<GET_BLOCKS(size), GET_THREADS, 0, cuda_stream>>>(size, box1, box2, iou_results, mode, … in IOU()
70 template void IOU(const size_t &size, const float *box1, const float *box2, float *iou_results, con…
72 template void IOU(const size_t &size, const half *box1, const half *box2, half *iou_results, const …
/third_party/boost/boost/geometry/algorithms/detail/disjoint/
Dbox_box.hpp47 inline bool disjoint_box_box(Box1 const& box1, Box2 const& box2, Strategy const&) in disjoint_box_box() argument
49 return Strategy::apply(box1, box2); in disjoint_box_box()
66 static inline bool apply(Box1 const& box1, Box2 const& box2, Strategy const&) in apply()
68 return Strategy::apply(box1, box2); in apply()
/third_party/boost/libs/geometry/test/algorithms/envelope_expand/
Dtest_envelope_expand_on_spheroid.hpp308 static inline bool apply(Box1 const& box1, Box2 const& box2, double tol) in apply()
311 bg::get<0, 0>(box2), bg::get<0, 1>(box2), 0.0, in apply()
312 bg::get<1, 0>(box2), bg::get<1, 1>(box2), 0.0, in apply()
320 static inline bool apply(Box1 const& box1, Box2 const& box2, double tol) in apply()
323 bg::get<0, 0>(box2), bg::get<0, 1>(box2), bg::get<0, 2>(box2), in apply()
324 bg::get<1, 0>(box2), bg::get<1, 1>(box2), bg::get<1, 2>(box2), in apply()
/third_party/boost/boost/geometry/algorithms/detail/overlay/
Dintersection_box_box.hpp40 Box2 const& box2, in apply()
48 ct min2 = get<min_corner, Dimension>(box2); in apply()
55 ct max2 = get<max_corner, Dimension>(box2); in apply()
68 ::apply(box1, box2, robust_policy, box_out, strategy); in apply()
/third_party/boost/boost/geometry/index/detail/rtree/quadratic/
Dredistribute_elements.hpp113 box_type & box2, in apply()
156 box2, strategy); in apply()
176 content_type content2 = index::detail::content(box2); in apply()
206 box1, box2, content1, content2, in apply()
236 index::detail::expand(box2, indexable, strategy); in apply()
237 content2 = index::detail::content(box2); in apply()
267 box_type const& box1, box_type const& box2, in pick_next()
288 box_type enlarged_box2(box2); in pick_next()
/third_party/flutter/flutter/packages/flutter/test/widgets/
Dcomposited_transform_test.dart78 final RenderBox box2 = key2.currentContext.findRenderObject();
80 final Offset position2 = box2.localToGlobal(Offset.zero);
133 final RenderBox box2 = key2.currentContext.findRenderObject();
135 final Offset position2 = box2.localToGlobal(Offset.zero);
172 final RenderBox box2 = key2.currentContext.findRenderObject();
173 expect(box2.size, const Size(10.0, 10.0));
Danimated_cross_fade_test.dart145 final RenderBox box2 = tester.renderObject(find.byKey(secondKey));
147 expect(box2.localToGlobal(Offset.zero), const Offset(275.0, 175.0));
203 final RenderBox box2 = tester.renderObject(find.byKey(secondKey));
205 expect(box2.localToGlobal(Offset.zero), const Offset(275.0, 175.0));
261 final RenderBox box2 = tester.renderObject(find.byKey(secondKey));
263 expect(box2.localToGlobal(Offset.zero), const Offset(325.0, 175.0));
/third_party/icu/tools/unicodetools/com/ibm/rbm/gui/
DBundleGroupEditDialog.java32 Box box2 = new Box(BoxLayout.X_AXIS); field in BundleGroupEditDialog
95 box2.add(commentLabel); box2.add(commentField); in initComponents()
130 mainBox.add(box2); in initComponents()
DBundleGroupCreationDialog.java32 Box box2 = new Box(BoxLayout.X_AXIS); field in BundleGroupCreationDialog
91 box2.add(commentLabel); box2.add(commentField); in initComponents()
128 mainBox.add(box2); in initComponents()
/third_party/boost/boost/geometry/algorithms/detail/distance/
Dbox_to_box.hpp45 apply(Box1 const& box1, Box2 const& box2, Strategy const& strategy) in apply()
48 return strategy.apply(box1, box2); in apply()
/third_party/boost/libs/geometry/test/algorithms/covered_by/
Dcovered_by.cpp145 box_type2 box2(P2(0, 0), P2(5, 5)); in test_mixed_of() local
152 BOOST_CHECK_EQUAL(bg::covered_by(p1, box2), true); in test_mixed_of()
153 BOOST_CHECK_EQUAL(bg::covered_by(box1, box2), true); in test_mixed_of()
154 BOOST_CHECK_EQUAL(bg::covered_by(box2, box1), false); in test_mixed_of()
/third_party/boost/boost/geometry/index/detail/rtree/linear/
Dredistribute_elements.hpp341 box_type & box2, in apply()
385 box2, strategy); in apply()
389 content_type content2 = index::detail::content(box2); in apply()
413 index::detail::expand(box2, indexable, strategy); in apply()
414 content2 = index::detail::content(box2); in apply()
421 box_type enlarged_box2(box2); in apply()
443 box2 = enlarged_box2; in apply()
/third_party/mindspore/mindspore/core/mindrt/src/actor/
Dmailbox.h37 …x(std::list<std::unique_ptr<MessageBase>> **box1, std::list<std::unique_ptr<MessageBase>> **box2) { in SwapMailBox() argument
39 *box1 = *box2; in SwapMailBox()
40 *box2 = tmp; in SwapMailBox()
/third_party/boost/libs/geometry/test/algorithms/distance/
Ddistance_se_geo_pl_ar.cpp461 std::string const box2 = "BOX(170 -60,400 80)"; in test_distance_point_box() local
464 tester::apply("pb2-1a", "POINT(160 0)", box2, in test_distance_point_box()
470 tester::apply("pb2-1b", "POINT(50 0)", box2, in test_distance_point_box()
476 tester::apply("pb2-3", "POINT(30 85)", box2, in test_distance_point_box()
482 tester::apply("pb2-4", "POINT(30 -75)", box2, in test_distance_point_box()
488 tester::apply("pb2-5", "POINT(30 0)", box2, 0, strategy_pb); in test_distance_point_box()
/third_party/boost/libs/geometry/test/algorithms/
Dcomparable_distance.cpp456 box_type box1, box2; in apply() local
458 bg::read_wkt("BOX(1 1,2 2)", box2); in apply()
460 variant_type v1 = box1, v2 = box2; in apply()
482 bg::comparable_distance(box1, box2)); in apply()
483 check_result<T>::apply(bg::comparable_distance(v1, box2), in apply()
484 bg::comparable_distance(box1, box2)); in apply()
486 bg::comparable_distance(box1, box2)); in apply()
/third_party/boost/libs/geometry/test/strategies/
Ddistance_default_result.cpp162 typedef typename bg::model::box<point2> box2; in test_distance_result_box() typedef
166 point1, box2, ExpectedResult, ExpectedComparableResult in test_distance_result_box()
176 box1, box2, ExpectedResult, ExpectedComparableResult in test_distance_result_box()
/third_party/boost/boost/geometry/index/detail/rtree/rstar/
Dredistribute_elements.hpp167 Box box2 = rtree::elements_box<Box>(elements_copy.begin() + i, elements_copy.end(), in apply() local
170 … sum_of_margins += index::detail::comparable_margin(box1) + index::detail::comparable_margin(box2); in apply()
172 content_type ovl = index::detail::intersection_content(box1, box2, strategy); in apply()
173 content_type con = index::detail::content(box1) + index::detail::content(box2); in apply()
422 box_type & box2, in apply()
487 box2 = rtree::elements_box<box_type>(elements2.begin(), elements2.end(), in apply()
/third_party/boost/boost/geometry/strategies/geographic/
Ddistance_cross_track_box_box.hpp101 apply(Box1 const& box1, Box2 const& box2) const in apply()
118 <return_type>::apply(box1, box2, in apply()

123