Home
last modified time | relevance | path

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

/external/libchrome/ui/gfx/geometry/
Dbox_unittest.cc52 BoxF box2(0.f, 0.f, 0.f, 4.f, 6.f, 8.f); in TEST() local
58 EXPECT_EQ(box2.ToString(), UnionBoxes(empty_box, box2).ToString()); in TEST()
59 EXPECT_EQ(box2.ToString(), UnionBoxes(box2, empty_box).ToString()); in TEST()
64 EXPECT_EQ(box2.ToString(), UnionBoxes(box1, box2).ToString()); in TEST()
65 EXPECT_EQ(box2.ToString(), UnionBoxes(box2, box1).ToString()); in TEST()
75 UnionBoxes(box2, box3).ToString()); in TEST()
77 UnionBoxes(box3, box2).ToString()); in TEST()
82 BoxF box2(0.f, 0.f, 0.f, 1.f, 1.f, 1.f); in TEST() local
91 BoxF expected2_1 = box2; in TEST()
102 box2.ExpandTo(point1); in TEST()
[all …]
/external/armnn/python/pyarmnn/examples/object_detection/
Dyolo.py12 def iou(box1: list, box2: list):
25 area_box2 = (box2[2] - box2[0]) * (box2[3] - box2[1])
30 y_min_intersection = max(box1[1], box2[1])
31 x_min_intersection = max(box1[0], box2[0])
32 y_max_intersection = min(box1[3], box2[3])
33 x_max_intersection = min(box1[2], box2[2])
/external/armnn/tests/TfLiteYoloV3Big-Armnn/
DNMS.cpp29 float iou(const Box& box1, const Box& box2) in iou() argument
32 const float area2 = (box2.xmax - box2.xmin) * (box2.ymax - box2.ymin); in iou()
40 const auto y_min_intersection = std::max<float>(box1.ymin, box2.ymin); in iou()
41 const auto x_min_intersection = std::max<float>(box1.xmin, box2.xmin); in iou()
42 const auto y_max_intersection = std::min<float>(box1.ymax, box2.ymax); in iou()
43 const auto x_max_intersection = std::min<float>(box1.xmax, box2.xmax); in iou()
141 const Box& box2 = detections[b].box; in nms() local
142 if (iou(box1, box2) > config.iou_threshold) in nms()
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rjsmin/docs/apidoc/
Depydoc.js226 var box2 = document.createElement("div");
227 box2.style.position = "relative";
228 box2.style.border = "1px solid #a0a0a0";
229 box2.style.left = "-.2em";
230 box2.style.top = "-.2em";
231 box2.style.background = "white";
232 box2.style.padding = ".3em .4em .3em .4em";
233 box2.style.fontStyle = "normal";
234 box2.onmouseout=auto_kill_doclink;
235 box2.parentID = id;
[all …]
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rcssmin/docs/apidoc/
Depydoc.js226 var box2 = document.createElement("div");
227 box2.style.position = "relative";
228 box2.style.border = "1px solid #a0a0a0";
229 box2.style.left = "-.2em";
230 box2.style.top = "-.2em";
231 box2.style.background = "white";
232 box2.style.padding = ".3em .4em .3em .4em";
233 box2.style.fontStyle = "normal";
234 box2.onmouseout=auto_kill_doclink;
235 box2.parentID = id;
[all …]
/external/python/google-api-python-client/docs/epy/
Depydoc.js226 var box2 = document.createElement("div");
227 box2.style.position = "relative";
228 box2.style.border = "1px solid #a0a0a0";
229 box2.style.left = "-.2em";
230 box2.style.top = "-.2em";
231 box2.style.background = "white";
232 box2.style.padding = ".3em .4em .3em .4em";
233 box2.style.fontStyle = "normal";
234 box2.onmouseout=auto_kill_doclink;
235 box2.parentID = id;
[all …]
/external/clang/test/Analysis/inlining/
Dfalse-positive-suppression.cpp86 int *&box2 = m.getValue(i); in testMap() local
87 box2 = 0; in testMap()
88 *box2 = 1; // expected-warning {{Dereference of null pointer}} in testMap()
/external/cronet/buildtools/third_party/libc++/trunk/test/libcxx/ranges/range.adaptors/range.copy.wrap/
Dtypes.h147 std::ranges::__copyable_box<ThrowsOnCopy> box2(std::in_place, THROW_WHEN_COPIED_FROM); in create_empty_box()
149 box1 = box2; // throws during assignment, which is implemented as a call to the copy ctor in create_empty_box()
/external/eigen/test/
Dgeo_alignedbox.cpp68 BoxType box2(VectorType::Random(dim)); in alignedbox() local
69 box2.extend(VectorType::Random(dim)); in alignedbox()
71 VERIFY(box1.intersects(box2) == !box1.intersection(box2).isEmpty()); in alignedbox()
/external/rust/cxx/tests/ffi/
Dtests.cc68 rust::Box<Shared> box2(*box); // copy from another Box in c_return_box() local
/external/ImageMagick/coders/
Dpng.c1617 static MngBox mng_minimum_box(MngBox box1,MngBox box2) in mng_minimum_box() argument
1623 if (box.left < box2.left) in mng_minimum_box()
1624 box.left=box2.left; in mng_minimum_box()
1626 if (box.top < box2.top) in mng_minimum_box()
1627 box.top=box2.top; in mng_minimum_box()
1629 if (box.right > box2.right) in mng_minimum_box()
1630 box.right=box2.right; in mng_minimum_box()
1632 if (box.bottom > box2.bottom) in mng_minimum_box()
1633 box.bottom=box2.bottom; in mng_minimum_box()
/external/e2fsprogs/doc/
Dtexinfo.tex3899 % box0 will be the left-hand column, box2 the right.
3907 % followed by the two boxes we just split, in box0 and box2.
3913 \hbox to\pagewidth{\box0\hfil\box2}%
/external/e2fsprogs/lib/et/
Dtexinfo.tex3899 % box0 will be the left-hand column, box2 the right.
3907 % followed by the two boxes we just split, in box0 and box2.
3913 \hbox to\pagewidth{\box0\hfil\box2}%
/external/libffi/
Dtexinfo.tex5146 % box0 will be the left-hand column, box2 the right.
5154 % followed by the two boxes we just split, in box0 and box2.
5160 \hbox to\pagewidth{\box0\hfil\box2}%
/external/libconfig/aux-build/
Dtexinfo.tex5146 % box0 will be the left-hand column, box2 the right.
5154 % followed by the two boxes we just split, in box0 and box2.
5160 \hbox to\pagewidth{\box0\hfil\box2}%
/external/python/cpython2/Modules/_ctypes/libffi/
Dtexinfo.tex5146 % box0 will be the left-hand column, box2 the right.
5154 % followed by the two boxes we just split, in box0 and box2.
5160 \hbox to\pagewidth{\box0\hfil\box2}%
/external/mtools/
Dtexinfo.tex5824 % box0 will be the left-hand column, box2 the right.
5833 % followed by the two boxes we just split, in box0 and box2.
5839 \hbox to\txipagewidth{\box0\hfil\box2}%