Searched refs:RectBlink (Results 1 – 5 of 5) sorted by relevance
/external/libchrome/mojo/public/cpp/bindings/tests/ |
D | rect_blink.h | 16 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) {
|
D | rect_blink_traits.h | 15 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) {
|
D | wtf_map_unittest.cc | 28 map.insert(blink::ContainsHashable::New(RectBlink(1, 2, 3, 4)), 123); in TEST() 31 blink::ContainsHashable::New(RectBlink(1, 2, 3, 4)); in TEST()
|
D | struct_traits_unittest.cc | 90 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()
|
D | rect_blink.typemap | 16 "mojo.test.TypemappedRect=mojo::test::RectBlink[hashable]",
|