Home
last modified time | relevance | path

Searched refs:RectBlink (Results 1 – 5 of 5) sorted by relevance

/external/libchrome/mojo/public/cpp/bindings/tests/
Drect_blink.h16 class RectBlink {
18 RectBlink() {} in RectBlink() function
19 RectBlink(int x, int y, int width, int height) : in RectBlink() function
26 ~RectBlink() {} in ~RectBlink()
54 bool operator==(const RectBlink& other) const {
58 bool operator!=(const RectBlink& other) const { return !(*this == other); }
73 struct hash<mojo::test::RectBlink> {
74 size_t operator()(const mojo::test::RectBlink& value) {
Drect_blink_traits.h15 struct StructTraits<test::TypemappedRectDataView, test::RectBlink> {
16 static int x(const test::RectBlink& r) { return r.x(); }
17 static int y(const test::RectBlink& r) { return r.y(); }
18 static int width(const test::RectBlink& r) { return r.width(); }
19 static int height(const test::RectBlink& r) { return r.height(); }
21 static bool Read(test::TypemappedRectDataView r, test::RectBlink* out) {
Dwtf_map_unittest.cc28 map.insert(blink::ContainsHashable::New(RectBlink(1, 2, 3, 4)), 123); in TEST()
31 blink::ContainsHashable::New(RectBlink(1, 2, 3, 4)); in TEST()
Dstruct_traits_unittest.cc90 void AddRect(const RectBlink& r) override { in AddRect()
109 RectBlink largest_rect_;
261 blink_proxy->AddRect(RectBlink(1, 1, 4, 5)); in TEST_F()
262 blink_proxy->AddRect(RectBlink(10, 10, 20, 20)); in TEST_F()
264 ExpectResult(RectBlink(10, 10, 20, 20), loop.QuitClosure())); in TEST_F()
281 blink_proxy->AddRect(RectBlink(1, 1, 4, 5)); in TEST_F()
282 blink_proxy->AddRect(RectBlink(10, 10, 2, 2)); in TEST_F()
284 ExpectResult(RectBlink(1, 1, 4, 5), loop.QuitClosure())); in TEST_F()
Drect_blink.typemap16 "mojo.test.TypemappedRect=mojo::test::RectBlink[hashable]",