OLD | NEW |
1 // WARNING: DO NOT EDIT. This file was generated by a program. | 1 // WARNING: DO NOT EDIT. This file was generated by a program. |
2 // See $MOJO_SDK/tools/bindings/mojom_bindings_generator.py. | 2 // See $MOJO_SDK/tools/bindings/mojom_bindings_generator.py. |
3 | 3 |
4 library test_structs_mojom; | 4 library test_structs_mojom; |
5 import 'dart:async'; | 5 import 'dart:async'; |
6 import 'dart:collection'; | 6 import 'dart:collection'; |
7 import 'dart:convert'; | 7 import 'dart:convert'; |
8 import 'dart:io'; | 8 import 'dart:io'; |
9 import 'dart:typed_data'; | 9 import 'dart:typed_data'; |
10 import 'package:mojo/bindings.dart' as bindings; | 10 import 'package:mojo/bindings.dart' as bindings; |
11 import 'package:mojo/core.dart' as core; | 11 import 'package:mojo/core.dart' as core; |
12 import 'package:mojo/mojo/bindings/types/mojom_types.mojom.dart' as mojom_types; | 12 import 'package:mojo/mojo/bindings/types/mojom_types.mojom.dart' as mojom_types; |
13 import 'package:mojo/mojo/bindings/types/service_describer.mojom.dart' as servic
e_describer; | 13 import 'package:mojo/mojo/bindings/types/service_describer.mojom.dart' as servic
e_describer; |
14 import 'package:_mojo_for_test_only/mojo/test/rect.mojom.dart' as rect_mojom; | 14 import 'package:_mojo_for_test_only/mojo/test/rect.mojom.dart' as rect_mojom; |
15 | 15 |
16 | 16 |
17 | 17 |
18 class StructOfStructs extends bindings.Struct { | 18 class StructOfStructs extends bindings.Struct { |
19 static const List<bindings.StructDataHeader> kVersions = const [ | 19 static const List<bindings.StructDataHeader> kVersions = const [ |
20 const bindings.StructDataHeader(48, 0) | 20 const bindings.StructDataHeader(48, 0) |
21 ]; | 21 ]; |
22 NamedRegion nr = null; | 22 NamedRegion nr = null; |
23 List<NamedRegion> aNr = null; | 23 List<NamedRegion> aNr = null; |
24 List<RectPair> aRp = null; | 24 List<RectPair> aRp = null; |
25 Map<int, NoDefaultFieldValues> mNdfv = null; | 25 Map<int, NoDefaultFieldValues> mNdfv = null; |
26 Map<int, HandleStruct> mHs = null; | 26 Map<int, HandleStruct> mHs = null; |
27 | 27 |
28 StructOfStructs() : super(kVersions.last.size); | 28 StructOfStructs() : super(kVersions.last.size); |
29 | 29 |
| 30 StructOfStructs.init( |
| 31 NamedRegion this.nr, |
| 32 List<NamedRegion> this.aNr, |
| 33 List<RectPair> this.aRp, |
| 34 Map<int, NoDefaultFieldValues> this.mNdfv, |
| 35 Map<int, HandleStruct> this.mHs |
| 36 ) : super(kVersions.last.size); |
| 37 |
30 static StructOfStructs deserialize(bindings.Message message) { | 38 static StructOfStructs deserialize(bindings.Message message) { |
31 var decoder = new bindings.Decoder(message); | 39 var decoder = new bindings.Decoder(message); |
32 var result = decode(decoder); | 40 var result = decode(decoder); |
33 if (decoder.excessHandles != null) { | 41 if (decoder.excessHandles != null) { |
34 decoder.excessHandles.forEach((h) => h.close()); | 42 decoder.excessHandles.forEach((h) => h.close()); |
35 } | 43 } |
36 return result; | 44 return result; |
37 } | 45 } |
38 | 46 |
39 static StructOfStructs decode(bindings.Decoder decoder0) { | 47 static StructOfStructs decode(bindings.Decoder decoder0) { |
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
249 | 257 |
250 class NamedRegion extends bindings.Struct { | 258 class NamedRegion extends bindings.Struct { |
251 static const List<bindings.StructDataHeader> kVersions = const [ | 259 static const List<bindings.StructDataHeader> kVersions = const [ |
252 const bindings.StructDataHeader(24, 0) | 260 const bindings.StructDataHeader(24, 0) |
253 ]; | 261 ]; |
254 String name = null; | 262 String name = null; |
255 List<rect_mojom.Rect> rects = null; | 263 List<rect_mojom.Rect> rects = null; |
256 | 264 |
257 NamedRegion() : super(kVersions.last.size); | 265 NamedRegion() : super(kVersions.last.size); |
258 | 266 |
| 267 NamedRegion.init( |
| 268 String this.name, |
| 269 List<rect_mojom.Rect> this.rects |
| 270 ) : super(kVersions.last.size); |
| 271 |
259 static NamedRegion deserialize(bindings.Message message) { | 272 static NamedRegion deserialize(bindings.Message message) { |
260 var decoder = new bindings.Decoder(message); | 273 var decoder = new bindings.Decoder(message); |
261 var result = decode(decoder); | 274 var result = decode(decoder); |
262 if (decoder.excessHandles != null) { | 275 if (decoder.excessHandles != null) { |
263 decoder.excessHandles.forEach((h) => h.close()); | 276 decoder.excessHandles.forEach((h) => h.close()); |
264 } | 277 } |
265 return result; | 278 return result; |
266 } | 279 } |
267 | 280 |
268 static NamedRegion decode(bindings.Decoder decoder0) { | 281 static NamedRegion decode(bindings.Decoder decoder0) { |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
353 | 366 |
354 class RectPair extends bindings.Struct { | 367 class RectPair extends bindings.Struct { |
355 static const List<bindings.StructDataHeader> kVersions = const [ | 368 static const List<bindings.StructDataHeader> kVersions = const [ |
356 const bindings.StructDataHeader(24, 0) | 369 const bindings.StructDataHeader(24, 0) |
357 ]; | 370 ]; |
358 rect_mojom.Rect first = null; | 371 rect_mojom.Rect first = null; |
359 rect_mojom.Rect second = null; | 372 rect_mojom.Rect second = null; |
360 | 373 |
361 RectPair() : super(kVersions.last.size); | 374 RectPair() : super(kVersions.last.size); |
362 | 375 |
| 376 RectPair.init( |
| 377 rect_mojom.Rect this.first, |
| 378 rect_mojom.Rect this.second |
| 379 ) : super(kVersions.last.size); |
| 380 |
363 static RectPair deserialize(bindings.Message message) { | 381 static RectPair deserialize(bindings.Message message) { |
364 var decoder = new bindings.Decoder(message); | 382 var decoder = new bindings.Decoder(message); |
365 var result = decode(decoder); | 383 var result = decode(decoder); |
366 if (decoder.excessHandles != null) { | 384 if (decoder.excessHandles != null) { |
367 decoder.excessHandles.forEach((h) => h.close()); | 385 decoder.excessHandles.forEach((h) => h.close()); |
368 } | 386 } |
369 return result; | 387 return result; |
370 } | 388 } |
371 | 389 |
372 static RectPair decode(bindings.Decoder decoder0) { | 390 static RectPair decode(bindings.Decoder decoder0) { |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
439 } | 457 } |
440 | 458 |
441 | 459 |
442 class EmptyStruct extends bindings.Struct { | 460 class EmptyStruct extends bindings.Struct { |
443 static const List<bindings.StructDataHeader> kVersions = const [ | 461 static const List<bindings.StructDataHeader> kVersions = const [ |
444 const bindings.StructDataHeader(8, 0) | 462 const bindings.StructDataHeader(8, 0) |
445 ]; | 463 ]; |
446 | 464 |
447 EmptyStruct() : super(kVersions.last.size); | 465 EmptyStruct() : super(kVersions.last.size); |
448 | 466 |
| 467 EmptyStruct.init( |
| 468 ) : super(kVersions.last.size); |
| 469 |
449 static EmptyStruct deserialize(bindings.Message message) { | 470 static EmptyStruct deserialize(bindings.Message message) { |
450 var decoder = new bindings.Decoder(message); | 471 var decoder = new bindings.Decoder(message); |
451 var result = decode(decoder); | 472 var result = decode(decoder); |
452 if (decoder.excessHandles != null) { | 473 if (decoder.excessHandles != null) { |
453 decoder.excessHandles.forEach((h) => h.close()); | 474 decoder.excessHandles.forEach((h) => h.close()); |
454 } | 475 } |
455 return result; | 476 return result; |
456 } | 477 } |
457 | 478 |
458 static EmptyStruct decode(bindings.Decoder decoder0) { | 479 static EmptyStruct decode(bindings.Decoder decoder0) { |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
499 | 520 |
500 class HandleStruct extends bindings.Struct { | 521 class HandleStruct extends bindings.Struct { |
501 static const List<bindings.StructDataHeader> kVersions = const [ | 522 static const List<bindings.StructDataHeader> kVersions = const [ |
502 const bindings.StructDataHeader(24, 0) | 523 const bindings.StructDataHeader(24, 0) |
503 ]; | 524 ]; |
504 core.MojoMessagePipeEndpoint h = null; | 525 core.MojoMessagePipeEndpoint h = null; |
505 List<core.MojoMessagePipeEndpoint> arrayH = null; | 526 List<core.MojoMessagePipeEndpoint> arrayH = null; |
506 | 527 |
507 HandleStruct() : super(kVersions.last.size); | 528 HandleStruct() : super(kVersions.last.size); |
508 | 529 |
| 530 HandleStruct.init( |
| 531 core.MojoMessagePipeEndpoint this.h, |
| 532 List<core.MojoMessagePipeEndpoint> this.arrayH |
| 533 ) : super(kVersions.last.size); |
| 534 |
509 static HandleStruct deserialize(bindings.Message message) { | 535 static HandleStruct deserialize(bindings.Message message) { |
510 var decoder = new bindings.Decoder(message); | 536 var decoder = new bindings.Decoder(message); |
511 var result = decode(decoder); | 537 var result = decode(decoder); |
512 if (decoder.excessHandles != null) { | 538 if (decoder.excessHandles != null) { |
513 decoder.excessHandles.forEach((h) => h.close()); | 539 decoder.excessHandles.forEach((h) => h.close()); |
514 } | 540 } |
515 return result; | 541 return result; |
516 } | 542 } |
517 | 543 |
518 static HandleStruct decode(bindings.Decoder decoder0) { | 544 static HandleStruct decode(bindings.Decoder decoder0) { |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
583 | 609 |
584 class NullableHandleStruct extends bindings.Struct { | 610 class NullableHandleStruct extends bindings.Struct { |
585 static const List<bindings.StructDataHeader> kVersions = const [ | 611 static const List<bindings.StructDataHeader> kVersions = const [ |
586 const bindings.StructDataHeader(16, 0) | 612 const bindings.StructDataHeader(16, 0) |
587 ]; | 613 ]; |
588 core.MojoMessagePipeEndpoint h = null; | 614 core.MojoMessagePipeEndpoint h = null; |
589 int data = 1234; | 615 int data = 1234; |
590 | 616 |
591 NullableHandleStruct() : super(kVersions.last.size); | 617 NullableHandleStruct() : super(kVersions.last.size); |
592 | 618 |
| 619 NullableHandleStruct.init( |
| 620 core.MojoMessagePipeEndpoint this.h, |
| 621 int this.data |
| 622 ) : super(kVersions.last.size); |
| 623 |
593 static NullableHandleStruct deserialize(bindings.Message message) { | 624 static NullableHandleStruct deserialize(bindings.Message message) { |
594 var decoder = new bindings.Decoder(message); | 625 var decoder = new bindings.Decoder(message); |
595 var result = decode(decoder); | 626 var result = decode(decoder); |
596 if (decoder.excessHandles != null) { | 627 if (decoder.excessHandles != null) { |
597 decoder.excessHandles.forEach((h) => h.close()); | 628 decoder.excessHandles.forEach((h) => h.close()); |
598 } | 629 } |
599 return result; | 630 return result; |
600 } | 631 } |
601 | 632 |
602 static NullableHandleStruct decode(bindings.Decoder decoder0) { | 633 static NullableHandleStruct decode(bindings.Decoder decoder0) { |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
694 core.MojoSharedBuffer f22 = null; | 725 core.MojoSharedBuffer f22 = null; |
695 List<String> f23 = null; | 726 List<String> f23 = null; |
696 List<String> f24 = null; | 727 List<String> f24 = null; |
697 List<String> f25 = null; | 728 List<String> f25 = null; |
698 List<String> f26 = null; | 729 List<String> f26 = null; |
699 EmptyStruct f27 = null; | 730 EmptyStruct f27 = null; |
700 EmptyStruct f28 = null; | 731 EmptyStruct f28 = null; |
701 | 732 |
702 NoDefaultFieldValues() : super(kVersions.last.size); | 733 NoDefaultFieldValues() : super(kVersions.last.size); |
703 | 734 |
| 735 NoDefaultFieldValues.init( |
| 736 bool this.f0, |
| 737 int this.f1, |
| 738 int this.f2, |
| 739 int this.f3, |
| 740 int this.f4, |
| 741 int this.f5, |
| 742 int this.f6, |
| 743 int this.f7, |
| 744 int this.f8, |
| 745 double this.f9, |
| 746 core.MojoMessagePipeEndpoint this.f13, |
| 747 double this.f10, |
| 748 String this.f11, |
| 749 String this.f12, |
| 750 core.MojoDataPipeConsumer this.f14, |
| 751 core.MojoDataPipeProducer this.f15, |
| 752 core.MojoMessagePipeEndpoint this.f16, |
| 753 core.MojoDataPipeConsumer this.f17, |
| 754 core.MojoDataPipeProducer this.f18, |
| 755 core.MojoHandle this.f19, |
| 756 core.MojoHandle this.f20, |
| 757 core.MojoSharedBuffer this.f21, |
| 758 core.MojoSharedBuffer this.f22, |
| 759 List<String> this.f23, |
| 760 List<String> this.f24, |
| 761 List<String> this.f25, |
| 762 List<String> this.f26, |
| 763 EmptyStruct this.f27, |
| 764 EmptyStruct this.f28 |
| 765 ) : super(kVersions.last.size); |
| 766 |
704 static NoDefaultFieldValues deserialize(bindings.Message message) { | 767 static NoDefaultFieldValues deserialize(bindings.Message message) { |
705 var decoder = new bindings.Decoder(message); | 768 var decoder = new bindings.Decoder(message); |
706 var result = decode(decoder); | 769 var result = decode(decoder); |
707 if (decoder.excessHandles != null) { | 770 if (decoder.excessHandles != null) { |
708 decoder.excessHandles.forEach((h) => h.close()); | 771 decoder.excessHandles.forEach((h) => h.close()); |
709 } | 772 } |
710 return result; | 773 return result; |
711 } | 774 } |
712 | 775 |
713 static NoDefaultFieldValues decode(bindings.Decoder decoder0) { | 776 static NoDefaultFieldValues decode(bindings.Decoder decoder0) { |
(...skipping 470 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1184 double f10 = 100.0; | 1247 double f10 = 100.0; |
1185 double f11 = 100; | 1248 double f11 = 100; |
1186 double f12 = 100.0; | 1249 double f12 = 100.0; |
1187 String f13 = "foo"; | 1250 String f13 = "foo"; |
1188 String f14 = "foo"; | 1251 String f14 = "foo"; |
1189 rect_mojom.Rect f15 = new rect_mojom.Rect(); | 1252 rect_mojom.Rect f15 = new rect_mojom.Rect(); |
1190 rect_mojom.Rect f16 = new rect_mojom.Rect(); | 1253 rect_mojom.Rect f16 = new rect_mojom.Rect(); |
1191 | 1254 |
1192 DefaultFieldValues() : super(kVersions.last.size); | 1255 DefaultFieldValues() : super(kVersions.last.size); |
1193 | 1256 |
| 1257 DefaultFieldValues.init( |
| 1258 bool this.f0, |
| 1259 int this.f1, |
| 1260 int this.f2, |
| 1261 int this.f3, |
| 1262 int this.f4, |
| 1263 int this.f5, |
| 1264 int this.f6, |
| 1265 int this.f7, |
| 1266 int this.f8, |
| 1267 double this.f9, |
| 1268 double this.f10, |
| 1269 double this.f11, |
| 1270 double this.f12, |
| 1271 String this.f13, |
| 1272 String this.f14, |
| 1273 rect_mojom.Rect this.f15, |
| 1274 rect_mojom.Rect this.f16 |
| 1275 ) : super(kVersions.last.size); |
| 1276 |
1194 static DefaultFieldValues deserialize(bindings.Message message) { | 1277 static DefaultFieldValues deserialize(bindings.Message message) { |
1195 var decoder = new bindings.Decoder(message); | 1278 var decoder = new bindings.Decoder(message); |
1196 var result = decode(decoder); | 1279 var result = decode(decoder); |
1197 if (decoder.excessHandles != null) { | 1280 if (decoder.excessHandles != null) { |
1198 decoder.excessHandles.forEach((h) => h.close()); | 1281 decoder.excessHandles.forEach((h) => h.close()); |
1199 } | 1282 } |
1200 return result; | 1283 return result; |
1201 } | 1284 } |
1202 | 1285 |
1203 static DefaultFieldValues decode(bindings.Decoder decoder0) { | 1286 static DefaultFieldValues decode(bindings.Decoder decoder0) { |
(...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1547 ScopedConstantsEType f0 = new ScopedConstantsEType(0); | 1630 ScopedConstantsEType f0 = new ScopedConstantsEType(0); |
1548 ScopedConstantsEType f1 = new ScopedConstantsEType(1); | 1631 ScopedConstantsEType f1 = new ScopedConstantsEType(1); |
1549 ScopedConstantsEType f2 = new ScopedConstantsEType(10); | 1632 ScopedConstantsEType f2 = new ScopedConstantsEType(10); |
1550 ScopedConstantsEType f3 = new ScopedConstantsEType(10); | 1633 ScopedConstantsEType f3 = new ScopedConstantsEType(10); |
1551 ScopedConstantsEType f4 = new ScopedConstantsEType(11); | 1634 ScopedConstantsEType f4 = new ScopedConstantsEType(11); |
1552 int f5 = 10; | 1635 int f5 = 10; |
1553 int f6 = 10; | 1636 int f6 = 10; |
1554 | 1637 |
1555 ScopedConstants() : super(kVersions.last.size); | 1638 ScopedConstants() : super(kVersions.last.size); |
1556 | 1639 |
| 1640 ScopedConstants.init( |
| 1641 ScopedConstantsEType this.f0, |
| 1642 ScopedConstantsEType this.f1, |
| 1643 ScopedConstantsEType this.f2, |
| 1644 ScopedConstantsEType this.f3, |
| 1645 ScopedConstantsEType this.f4, |
| 1646 int this.f5, |
| 1647 int this.f6 |
| 1648 ) : super(kVersions.last.size); |
| 1649 |
1557 static ScopedConstants deserialize(bindings.Message message) { | 1650 static ScopedConstants deserialize(bindings.Message message) { |
1558 var decoder = new bindings.Decoder(message); | 1651 var decoder = new bindings.Decoder(message); |
1559 var result = decode(decoder); | 1652 var result = decode(decoder); |
1560 if (decoder.excessHandles != null) { | 1653 if (decoder.excessHandles != null) { |
1561 decoder.excessHandles.forEach((h) => h.close()); | 1654 decoder.excessHandles.forEach((h) => h.close()); |
1562 } | 1655 } |
1563 return result; | 1656 return result; |
1564 } | 1657 } |
1565 | 1658 |
1566 static ScopedConstants decode(bindings.Decoder decoder0) { | 1659 static ScopedConstants decode(bindings.Decoder decoder0) { |
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1728 Map<int, int> f5 = null; | 1821 Map<int, int> f5 = null; |
1729 Map<int, int> f6 = null; | 1822 Map<int, int> f6 = null; |
1730 Map<int, int> f7 = null; | 1823 Map<int, int> f7 = null; |
1731 Map<int, int> f8 = null; | 1824 Map<int, int> f8 = null; |
1732 Map<double, double> f9 = null; | 1825 Map<double, double> f9 = null; |
1733 Map<double, double> f10 = null; | 1826 Map<double, double> f10 = null; |
1734 Map<String, String> f11 = null; | 1827 Map<String, String> f11 = null; |
1735 | 1828 |
1736 MapKeyTypes() : super(kVersions.last.size); | 1829 MapKeyTypes() : super(kVersions.last.size); |
1737 | 1830 |
| 1831 MapKeyTypes.init( |
| 1832 Map<bool, bool> this.f0, |
| 1833 Map<int, int> this.f1, |
| 1834 Map<int, int> this.f2, |
| 1835 Map<int, int> this.f3, |
| 1836 Map<int, int> this.f4, |
| 1837 Map<int, int> this.f5, |
| 1838 Map<int, int> this.f6, |
| 1839 Map<int, int> this.f7, |
| 1840 Map<int, int> this.f8, |
| 1841 Map<double, double> this.f9, |
| 1842 Map<double, double> this.f10, |
| 1843 Map<String, String> this.f11 |
| 1844 ) : super(kVersions.last.size); |
| 1845 |
1738 static MapKeyTypes deserialize(bindings.Message message) { | 1846 static MapKeyTypes deserialize(bindings.Message message) { |
1739 var decoder = new bindings.Decoder(message); | 1847 var decoder = new bindings.Decoder(message); |
1740 var result = decode(decoder); | 1848 var result = decode(decoder); |
1741 if (decoder.excessHandles != null) { | 1849 if (decoder.excessHandles != null) { |
1742 decoder.excessHandles.forEach((h) => h.close()); | 1850 decoder.excessHandles.forEach((h) => h.close()); |
1743 } | 1851 } |
1744 return result; | 1852 return result; |
1745 } | 1853 } |
1746 | 1854 |
1747 static MapKeyTypes decode(bindings.Decoder decoder0) { | 1855 static MapKeyTypes decode(bindings.Decoder decoder0) { |
(...skipping 510 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2258 Map<String, List<List<String>>> f5 = null; | 2366 Map<String, List<List<String>>> f5 = null; |
2259 Map<String, rect_mojom.Rect> f6 = null; | 2367 Map<String, rect_mojom.Rect> f6 = null; |
2260 Map<String, Map<String, String>> f7 = null; | 2368 Map<String, Map<String, String>> f7 = null; |
2261 Map<String, List<Map<String, String>>> f8 = null; | 2369 Map<String, List<Map<String, String>>> f8 = null; |
2262 Map<String, core.MojoHandle> f9 = null; | 2370 Map<String, core.MojoHandle> f9 = null; |
2263 Map<String, List<core.MojoHandle>> f10 = null; | 2371 Map<String, List<core.MojoHandle>> f10 = null; |
2264 Map<String, Map<String, core.MojoHandle>> f11 = null; | 2372 Map<String, Map<String, core.MojoHandle>> f11 = null; |
2265 | 2373 |
2266 MapValueTypes() : super(kVersions.last.size); | 2374 MapValueTypes() : super(kVersions.last.size); |
2267 | 2375 |
| 2376 MapValueTypes.init( |
| 2377 Map<String, List<String>> this.f0, |
| 2378 Map<String, List<String>> this.f1, |
| 2379 Map<String, List<String>> this.f2, |
| 2380 Map<String, List<String>> this.f3, |
| 2381 Map<String, List<List<String>>> this.f4, |
| 2382 Map<String, List<List<String>>> this.f5, |
| 2383 Map<String, rect_mojom.Rect> this.f6, |
| 2384 Map<String, Map<String, String>> this.f7, |
| 2385 Map<String, List<Map<String, String>>> this.f8, |
| 2386 Map<String, core.MojoHandle> this.f9, |
| 2387 Map<String, List<core.MojoHandle>> this.f10, |
| 2388 Map<String, Map<String, core.MojoHandle>> this.f11 |
| 2389 ) : super(kVersions.last.size); |
| 2390 |
2268 static MapValueTypes deserialize(bindings.Message message) { | 2391 static MapValueTypes deserialize(bindings.Message message) { |
2269 var decoder = new bindings.Decoder(message); | 2392 var decoder = new bindings.Decoder(message); |
2270 var result = decode(decoder); | 2393 var result = decode(decoder); |
2271 if (decoder.excessHandles != null) { | 2394 if (decoder.excessHandles != null) { |
2272 decoder.excessHandles.forEach((h) => h.close()); | 2395 decoder.excessHandles.forEach((h) => h.close()); |
2273 } | 2396 } |
2274 return result; | 2397 return result; |
2275 } | 2398 } |
2276 | 2399 |
2277 static MapValueTypes decode(bindings.Decoder decoder0) { | 2400 static MapValueTypes decode(bindings.Decoder decoder0) { |
(...skipping 1065 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3343 ]; | 3466 ]; |
3344 List<int> f0 = null; | 3467 List<int> f0 = null; |
3345 List<int> f1 = null; | 3468 List<int> f1 = null; |
3346 List<int> f2 = null; | 3469 List<int> f2 = null; |
3347 List<int> f3 = null; | 3470 List<int> f3 = null; |
3348 List<double> f4 = null; | 3471 List<double> f4 = null; |
3349 List<double> f5 = null; | 3472 List<double> f5 = null; |
3350 | 3473 |
3351 ArrayValueTypes() : super(kVersions.last.size); | 3474 ArrayValueTypes() : super(kVersions.last.size); |
3352 | 3475 |
| 3476 ArrayValueTypes.init( |
| 3477 List<int> this.f0, |
| 3478 List<int> this.f1, |
| 3479 List<int> this.f2, |
| 3480 List<int> this.f3, |
| 3481 List<double> this.f4, |
| 3482 List<double> this.f5 |
| 3483 ) : super(kVersions.last.size); |
| 3484 |
3353 static ArrayValueTypes deserialize(bindings.Message message) { | 3485 static ArrayValueTypes deserialize(bindings.Message message) { |
3354 var decoder = new bindings.Decoder(message); | 3486 var decoder = new bindings.Decoder(message); |
3355 var result = decode(decoder); | 3487 var result = decode(decoder); |
3356 if (decoder.excessHandles != null) { | 3488 if (decoder.excessHandles != null) { |
3357 decoder.excessHandles.forEach((h) => h.close()); | 3489 decoder.excessHandles.forEach((h) => h.close()); |
3358 } | 3490 } |
3359 return result; | 3491 return result; |
3360 } | 3492 } |
3361 | 3493 |
3362 static ArrayValueTypes decode(bindings.Decoder decoder0) { | 3494 static ArrayValueTypes decode(bindings.Decoder decoder0) { |
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3499 double f3 = double.INFINITY; | 3631 double f3 = double.INFINITY; |
3500 double f4 = double.NEGATIVE_INFINITY; | 3632 double f4 = double.NEGATIVE_INFINITY; |
3501 double f5 = double.NAN; | 3633 double f5 = double.NAN; |
3502 double f6 = 0.0; | 3634 double f6 = 0.0; |
3503 double f7 = 1234567890.123; | 3635 double f7 = 1234567890.123; |
3504 double f8 = 1.2e+20; | 3636 double f8 = 1.2e+20; |
3505 double f9 = -1.2e+20; | 3637 double f9 = -1.2e+20; |
3506 | 3638 |
3507 FloatNumberValues() : super(kVersions.last.size); | 3639 FloatNumberValues() : super(kVersions.last.size); |
3508 | 3640 |
| 3641 FloatNumberValues.init( |
| 3642 double this.f0, |
| 3643 double this.f1, |
| 3644 double this.f2, |
| 3645 double this.f3, |
| 3646 double this.f4, |
| 3647 double this.f5, |
| 3648 double this.f6, |
| 3649 double this.f7, |
| 3650 double this.f8, |
| 3651 double this.f9 |
| 3652 ) : super(kVersions.last.size); |
| 3653 |
3509 static FloatNumberValues deserialize(bindings.Message message) { | 3654 static FloatNumberValues deserialize(bindings.Message message) { |
3510 var decoder = new bindings.Decoder(message); | 3655 var decoder = new bindings.Decoder(message); |
3511 var result = decode(decoder); | 3656 var result = decode(decoder); |
3512 if (decoder.excessHandles != null) { | 3657 if (decoder.excessHandles != null) { |
3513 decoder.excessHandles.forEach((h) => h.close()); | 3658 decoder.excessHandles.forEach((h) => h.close()); |
3514 } | 3659 } |
3515 return result; | 3660 return result; |
3516 } | 3661 } |
3517 | 3662 |
3518 static FloatNumberValues decode(bindings.Decoder decoder0) { | 3663 static FloatNumberValues decode(bindings.Decoder decoder0) { |
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3727 int f13 = 1234567890; | 3872 int f13 = 1234567890; |
3728 int f14 = 2147483647; | 3873 int f14 = 2147483647; |
3729 int f15 = -9007199254740991; | 3874 int f15 = -9007199254740991; |
3730 int f16 = -1; | 3875 int f16 = -1; |
3731 int f17 = 0; | 3876 int f17 = 0; |
3732 int f18 = 1234567890123456; | 3877 int f18 = 1234567890123456; |
3733 int f19 = 9007199254740991; | 3878 int f19 = 9007199254740991; |
3734 | 3879 |
3735 IntegerNumberValues() : super(kVersions.last.size); | 3880 IntegerNumberValues() : super(kVersions.last.size); |
3736 | 3881 |
| 3882 IntegerNumberValues.init( |
| 3883 int this.f0, |
| 3884 int this.f1, |
| 3885 int this.f2, |
| 3886 int this.f3, |
| 3887 int this.f4, |
| 3888 int this.f5, |
| 3889 int this.f6, |
| 3890 int this.f7, |
| 3891 int this.f8, |
| 3892 int this.f9, |
| 3893 int this.f10, |
| 3894 int this.f11, |
| 3895 int this.f12, |
| 3896 int this.f13, |
| 3897 int this.f14, |
| 3898 int this.f15, |
| 3899 int this.f16, |
| 3900 int this.f17, |
| 3901 int this.f18, |
| 3902 int this.f19 |
| 3903 ) : super(kVersions.last.size); |
| 3904 |
3737 static IntegerNumberValues deserialize(bindings.Message message) { | 3905 static IntegerNumberValues deserialize(bindings.Message message) { |
3738 var decoder = new bindings.Decoder(message); | 3906 var decoder = new bindings.Decoder(message); |
3739 var result = decode(decoder); | 3907 var result = decode(decoder); |
3740 if (decoder.excessHandles != null) { | 3908 if (decoder.excessHandles != null) { |
3741 decoder.excessHandles.forEach((h) => h.close()); | 3909 decoder.excessHandles.forEach((h) => h.close()); |
3742 } | 3910 } |
3743 return result; | 3911 return result; |
3744 } | 3912 } |
3745 | 3913 |
3746 static IntegerNumberValues decode(bindings.Decoder decoder0) { | 3914 static IntegerNumberValues decode(bindings.Decoder decoder0) { |
(...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4069 int f5 = 65535; | 4237 int f5 = 65535; |
4070 int f6 = 0; | 4238 int f6 = 0; |
4071 int f7 = 1234567890; | 4239 int f7 = 1234567890; |
4072 int f8 = 4294967295; | 4240 int f8 = 4294967295; |
4073 int f9 = 0; | 4241 int f9 = 0; |
4074 int f10 = 1234567890123456; | 4242 int f10 = 1234567890123456; |
4075 int f11 = 9007199254740991; | 4243 int f11 = 9007199254740991; |
4076 | 4244 |
4077 UnsignedNumberValues() : super(kVersions.last.size); | 4245 UnsignedNumberValues() : super(kVersions.last.size); |
4078 | 4246 |
| 4247 UnsignedNumberValues.init( |
| 4248 int this.f0, |
| 4249 int this.f1, |
| 4250 int this.f2, |
| 4251 int this.f3, |
| 4252 int this.f4, |
| 4253 int this.f5, |
| 4254 int this.f6, |
| 4255 int this.f7, |
| 4256 int this.f8, |
| 4257 int this.f9, |
| 4258 int this.f10, |
| 4259 int this.f11 |
| 4260 ) : super(kVersions.last.size); |
| 4261 |
4079 static UnsignedNumberValues deserialize(bindings.Message message) { | 4262 static UnsignedNumberValues deserialize(bindings.Message message) { |
4080 var decoder = new bindings.Decoder(message); | 4263 var decoder = new bindings.Decoder(message); |
4081 var result = decode(decoder); | 4264 var result = decode(decoder); |
4082 if (decoder.excessHandles != null) { | 4265 if (decoder.excessHandles != null) { |
4083 decoder.excessHandles.forEach((h) => h.close()); | 4266 decoder.excessHandles.forEach((h) => h.close()); |
4084 } | 4267 } |
4085 return result; | 4268 return result; |
4086 } | 4269 } |
4087 | 4270 |
4088 static UnsignedNumberValues decode(bindings.Decoder decoder0) { | 4271 static UnsignedNumberValues decode(bindings.Decoder decoder0) { |
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4290 List<bool> f0 = null; | 4473 List<bool> f0 = null; |
4291 List<bool> f1 = null; | 4474 List<bool> f1 = null; |
4292 List<bool> f2 = null; | 4475 List<bool> f2 = null; |
4293 List<bool> f3 = null; | 4476 List<bool> f3 = null; |
4294 List<List<bool>> f4 = null; | 4477 List<List<bool>> f4 = null; |
4295 List<List<bool>> f5 = null; | 4478 List<List<bool>> f5 = null; |
4296 List<List<bool>> f6 = null; | 4479 List<List<bool>> f6 = null; |
4297 | 4480 |
4298 BitArrayValues() : super(kVersions.last.size); | 4481 BitArrayValues() : super(kVersions.last.size); |
4299 | 4482 |
| 4483 BitArrayValues.init( |
| 4484 List<bool> this.f0, |
| 4485 List<bool> this.f1, |
| 4486 List<bool> this.f2, |
| 4487 List<bool> this.f3, |
| 4488 List<List<bool>> this.f4, |
| 4489 List<List<bool>> this.f5, |
| 4490 List<List<bool>> this.f6 |
| 4491 ) : super(kVersions.last.size); |
| 4492 |
4300 static BitArrayValues deserialize(bindings.Message message) { | 4493 static BitArrayValues deserialize(bindings.Message message) { |
4301 var decoder = new bindings.Decoder(message); | 4494 var decoder = new bindings.Decoder(message); |
4302 var result = decode(decoder); | 4495 var result = decode(decoder); |
4303 if (decoder.excessHandles != null) { | 4496 if (decoder.excessHandles != null) { |
4304 decoder.excessHandles.forEach((h) => h.close()); | 4497 decoder.excessHandles.forEach((h) => h.close()); |
4305 } | 4498 } |
4306 return result; | 4499 return result; |
4307 } | 4500 } |
4308 | 4501 |
4309 static BitArrayValues decode(bindings.Decoder decoder0) { | 4502 static BitArrayValues decode(bindings.Decoder decoder0) { |
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4496 int fInt32 = 0; | 4689 int fInt32 = 0; |
4497 core.MojoMessagePipeEndpoint fMessagePipe = null; | 4690 core.MojoMessagePipeEndpoint fMessagePipe = null; |
4498 rect_mojom.Rect fRect = null; | 4691 rect_mojom.Rect fRect = null; |
4499 String fString = null; | 4692 String fString = null; |
4500 List<int> fArray = null; | 4693 List<int> fArray = null; |
4501 bool fBool = false; | 4694 bool fBool = false; |
4502 int fInt16 = 0; | 4695 int fInt16 = 0; |
4503 | 4696 |
4504 MultiVersionStruct() : super(kVersions.last.size); | 4697 MultiVersionStruct() : super(kVersions.last.size); |
4505 | 4698 |
| 4699 MultiVersionStruct.init( |
| 4700 int this.fInt32, |
| 4701 core.MojoMessagePipeEndpoint this.fMessagePipe, |
| 4702 rect_mojom.Rect this.fRect, |
| 4703 String this.fString, |
| 4704 List<int> this.fArray, |
| 4705 bool this.fBool, |
| 4706 int this.fInt16 |
| 4707 ) : super(kVersions.last.size); |
| 4708 |
4506 static MultiVersionStruct deserialize(bindings.Message message) { | 4709 static MultiVersionStruct deserialize(bindings.Message message) { |
4507 var decoder = new bindings.Decoder(message); | 4710 var decoder = new bindings.Decoder(message); |
4508 var result = decode(decoder); | 4711 var result = decode(decoder); |
4509 if (decoder.excessHandles != null) { | 4712 if (decoder.excessHandles != null) { |
4510 decoder.excessHandles.forEach((h) => h.close()); | 4713 decoder.excessHandles.forEach((h) => h.close()); |
4511 } | 4714 } |
4512 return result; | 4715 return result; |
4513 } | 4716 } |
4514 | 4717 |
4515 static MultiVersionStruct decode(bindings.Decoder decoder0) { | 4718 static MultiVersionStruct decode(bindings.Decoder decoder0) { |
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4640 | 4843 |
4641 | 4844 |
4642 class MultiVersionStructV0 extends bindings.Struct { | 4845 class MultiVersionStructV0 extends bindings.Struct { |
4643 static const List<bindings.StructDataHeader> kVersions = const [ | 4846 static const List<bindings.StructDataHeader> kVersions = const [ |
4644 const bindings.StructDataHeader(16, 0) | 4847 const bindings.StructDataHeader(16, 0) |
4645 ]; | 4848 ]; |
4646 int fInt32 = 0; | 4849 int fInt32 = 0; |
4647 | 4850 |
4648 MultiVersionStructV0() : super(kVersions.last.size); | 4851 MultiVersionStructV0() : super(kVersions.last.size); |
4649 | 4852 |
| 4853 MultiVersionStructV0.init( |
| 4854 int this.fInt32 |
| 4855 ) : super(kVersions.last.size); |
| 4856 |
4650 static MultiVersionStructV0 deserialize(bindings.Message message) { | 4857 static MultiVersionStructV0 deserialize(bindings.Message message) { |
4651 var decoder = new bindings.Decoder(message); | 4858 var decoder = new bindings.Decoder(message); |
4652 var result = decode(decoder); | 4859 var result = decode(decoder); |
4653 if (decoder.excessHandles != null) { | 4860 if (decoder.excessHandles != null) { |
4654 decoder.excessHandles.forEach((h) => h.close()); | 4861 decoder.excessHandles.forEach((h) => h.close()); |
4655 } | 4862 } |
4656 return result; | 4863 return result; |
4657 } | 4864 } |
4658 | 4865 |
4659 static MultiVersionStructV0 decode(bindings.Decoder decoder0) { | 4866 static MultiVersionStructV0 decode(bindings.Decoder decoder0) { |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4714 class MultiVersionStructV1 extends bindings.Struct { | 4921 class MultiVersionStructV1 extends bindings.Struct { |
4715 static const List<bindings.StructDataHeader> kVersions = const [ | 4922 static const List<bindings.StructDataHeader> kVersions = const [ |
4716 const bindings.StructDataHeader(16, 0), | 4923 const bindings.StructDataHeader(16, 0), |
4717 const bindings.StructDataHeader(24, 1) | 4924 const bindings.StructDataHeader(24, 1) |
4718 ]; | 4925 ]; |
4719 int fInt32 = 0; | 4926 int fInt32 = 0; |
4720 rect_mojom.Rect fRect = null; | 4927 rect_mojom.Rect fRect = null; |
4721 | 4928 |
4722 MultiVersionStructV1() : super(kVersions.last.size); | 4929 MultiVersionStructV1() : super(kVersions.last.size); |
4723 | 4930 |
| 4931 MultiVersionStructV1.init( |
| 4932 int this.fInt32, |
| 4933 rect_mojom.Rect this.fRect |
| 4934 ) : super(kVersions.last.size); |
| 4935 |
4724 static MultiVersionStructV1 deserialize(bindings.Message message) { | 4936 static MultiVersionStructV1 deserialize(bindings.Message message) { |
4725 var decoder = new bindings.Decoder(message); | 4937 var decoder = new bindings.Decoder(message); |
4726 var result = decode(decoder); | 4938 var result = decode(decoder); |
4727 if (decoder.excessHandles != null) { | 4939 if (decoder.excessHandles != null) { |
4728 decoder.excessHandles.forEach((h) => h.close()); | 4940 decoder.excessHandles.forEach((h) => h.close()); |
4729 } | 4941 } |
4730 return result; | 4942 return result; |
4731 } | 4943 } |
4732 | 4944 |
4733 static MultiVersionStructV1 decode(bindings.Decoder decoder0) { | 4945 static MultiVersionStructV1 decode(bindings.Decoder decoder0) { |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4804 const bindings.StructDataHeader(16, 0), | 5016 const bindings.StructDataHeader(16, 0), |
4805 const bindings.StructDataHeader(24, 1), | 5017 const bindings.StructDataHeader(24, 1), |
4806 const bindings.StructDataHeader(32, 3) | 5018 const bindings.StructDataHeader(32, 3) |
4807 ]; | 5019 ]; |
4808 int fInt32 = 0; | 5020 int fInt32 = 0; |
4809 rect_mojom.Rect fRect = null; | 5021 rect_mojom.Rect fRect = null; |
4810 String fString = null; | 5022 String fString = null; |
4811 | 5023 |
4812 MultiVersionStructV3() : super(kVersions.last.size); | 5024 MultiVersionStructV3() : super(kVersions.last.size); |
4813 | 5025 |
| 5026 MultiVersionStructV3.init( |
| 5027 int this.fInt32, |
| 5028 rect_mojom.Rect this.fRect, |
| 5029 String this.fString |
| 5030 ) : super(kVersions.last.size); |
| 5031 |
4814 static MultiVersionStructV3 deserialize(bindings.Message message) { | 5032 static MultiVersionStructV3 deserialize(bindings.Message message) { |
4815 var decoder = new bindings.Decoder(message); | 5033 var decoder = new bindings.Decoder(message); |
4816 var result = decode(decoder); | 5034 var result = decode(decoder); |
4817 if (decoder.excessHandles != null) { | 5035 if (decoder.excessHandles != null) { |
4818 decoder.excessHandles.forEach((h) => h.close()); | 5036 decoder.excessHandles.forEach((h) => h.close()); |
4819 } | 5037 } |
4820 return result; | 5038 return result; |
4821 } | 5039 } |
4822 | 5040 |
4823 static MultiVersionStructV3 decode(bindings.Decoder decoder0) { | 5041 static MultiVersionStructV3 decode(bindings.Decoder decoder0) { |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4909 const bindings.StructDataHeader(32, 3), | 5127 const bindings.StructDataHeader(32, 3), |
4910 const bindings.StructDataHeader(40, 5) | 5128 const bindings.StructDataHeader(40, 5) |
4911 ]; | 5129 ]; |
4912 int fInt32 = 0; | 5130 int fInt32 = 0; |
4913 rect_mojom.Rect fRect = null; | 5131 rect_mojom.Rect fRect = null; |
4914 String fString = null; | 5132 String fString = null; |
4915 List<int> fArray = null; | 5133 List<int> fArray = null; |
4916 | 5134 |
4917 MultiVersionStructV5() : super(kVersions.last.size); | 5135 MultiVersionStructV5() : super(kVersions.last.size); |
4918 | 5136 |
| 5137 MultiVersionStructV5.init( |
| 5138 int this.fInt32, |
| 5139 rect_mojom.Rect this.fRect, |
| 5140 String this.fString, |
| 5141 List<int> this.fArray |
| 5142 ) : super(kVersions.last.size); |
| 5143 |
4919 static MultiVersionStructV5 deserialize(bindings.Message message) { | 5144 static MultiVersionStructV5 deserialize(bindings.Message message) { |
4920 var decoder = new bindings.Decoder(message); | 5145 var decoder = new bindings.Decoder(message); |
4921 var result = decode(decoder); | 5146 var result = decode(decoder); |
4922 if (decoder.excessHandles != null) { | 5147 if (decoder.excessHandles != null) { |
4923 decoder.excessHandles.forEach((h) => h.close()); | 5148 decoder.excessHandles.forEach((h) => h.close()); |
4924 } | 5149 } |
4925 return result; | 5150 return result; |
4926 } | 5151 } |
4927 | 5152 |
4928 static MultiVersionStructV5 decode(bindings.Decoder decoder0) { | 5153 static MultiVersionStructV5 decode(bindings.Decoder decoder0) { |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5030 ]; | 5255 ]; |
5031 int fInt32 = 0; | 5256 int fInt32 = 0; |
5032 core.MojoMessagePipeEndpoint fMessagePipe = null; | 5257 core.MojoMessagePipeEndpoint fMessagePipe = null; |
5033 rect_mojom.Rect fRect = null; | 5258 rect_mojom.Rect fRect = null; |
5034 String fString = null; | 5259 String fString = null; |
5035 List<int> fArray = null; | 5260 List<int> fArray = null; |
5036 bool fBool = false; | 5261 bool fBool = false; |
5037 | 5262 |
5038 MultiVersionStructV7() : super(kVersions.last.size); | 5263 MultiVersionStructV7() : super(kVersions.last.size); |
5039 | 5264 |
| 5265 MultiVersionStructV7.init( |
| 5266 int this.fInt32, |
| 5267 core.MojoMessagePipeEndpoint this.fMessagePipe, |
| 5268 rect_mojom.Rect this.fRect, |
| 5269 String this.fString, |
| 5270 List<int> this.fArray, |
| 5271 bool this.fBool |
| 5272 ) : super(kVersions.last.size); |
| 5273 |
5040 static MultiVersionStructV7 deserialize(bindings.Message message) { | 5274 static MultiVersionStructV7 deserialize(bindings.Message message) { |
5041 var decoder = new bindings.Decoder(message); | 5275 var decoder = new bindings.Decoder(message); |
5042 var result = decode(decoder); | 5276 var result = decode(decoder); |
5043 if (decoder.excessHandles != null) { | 5277 if (decoder.excessHandles != null) { |
5044 decoder.excessHandles.forEach((h) => h.close()); | 5278 decoder.excessHandles.forEach((h) => h.close()); |
5045 } | 5279 } |
5046 return result; | 5280 return result; |
5047 } | 5281 } |
5048 | 5282 |
5049 static MultiVersionStructV7 decode(bindings.Decoder decoder0) { | 5283 static MultiVersionStructV7 decode(bindings.Decoder decoder0) { |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5162 | 5396 |
5163 | 5397 |
5164 class ContainsInterface extends bindings.Struct { | 5398 class ContainsInterface extends bindings.Struct { |
5165 static const List<bindings.StructDataHeader> kVersions = const [ | 5399 static const List<bindings.StructDataHeader> kVersions = const [ |
5166 const bindings.StructDataHeader(16, 0) | 5400 const bindings.StructDataHeader(16, 0) |
5167 ]; | 5401 ]; |
5168 SomeInterfaceInterface someInterface = null; | 5402 SomeInterfaceInterface someInterface = null; |
5169 | 5403 |
5170 ContainsInterface() : super(kVersions.last.size); | 5404 ContainsInterface() : super(kVersions.last.size); |
5171 | 5405 |
| 5406 ContainsInterface.init( |
| 5407 SomeInterfaceInterface this.someInterface |
| 5408 ) : super(kVersions.last.size); |
| 5409 |
5172 static ContainsInterface deserialize(bindings.Message message) { | 5410 static ContainsInterface deserialize(bindings.Message message) { |
5173 var decoder = new bindings.Decoder(message); | 5411 var decoder = new bindings.Decoder(message); |
5174 var result = decode(decoder); | 5412 var result = decode(decoder); |
5175 if (decoder.excessHandles != null) { | 5413 if (decoder.excessHandles != null) { |
5176 decoder.excessHandles.forEach((h) => h.close()); | 5414 decoder.excessHandles.forEach((h) => h.close()); |
5177 } | 5415 } |
5178 return result; | 5416 return result; |
5179 } | 5417 } |
5180 | 5418 |
5181 static ContainsInterface decode(bindings.Decoder decoder0) { | 5419 static ContainsInterface decode(bindings.Decoder decoder0) { |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5233 | 5471 |
5234 | 5472 |
5235 class ContainsOther extends bindings.Struct { | 5473 class ContainsOther extends bindings.Struct { |
5236 static const List<bindings.StructDataHeader> kVersions = const [ | 5474 static const List<bindings.StructDataHeader> kVersions = const [ |
5237 const bindings.StructDataHeader(16, 0) | 5475 const bindings.StructDataHeader(16, 0) |
5238 ]; | 5476 ]; |
5239 int other = 0; | 5477 int other = 0; |
5240 | 5478 |
5241 ContainsOther() : super(kVersions.last.size); | 5479 ContainsOther() : super(kVersions.last.size); |
5242 | 5480 |
| 5481 ContainsOther.init( |
| 5482 int this.other |
| 5483 ) : super(kVersions.last.size); |
| 5484 |
5243 static ContainsOther deserialize(bindings.Message message) { | 5485 static ContainsOther deserialize(bindings.Message message) { |
5244 var decoder = new bindings.Decoder(message); | 5486 var decoder = new bindings.Decoder(message); |
5245 var result = decode(decoder); | 5487 var result = decode(decoder); |
5246 if (decoder.excessHandles != null) { | 5488 if (decoder.excessHandles != null) { |
5247 decoder.excessHandles.forEach((h) => h.close()); | 5489 decoder.excessHandles.forEach((h) => h.close()); |
5248 } | 5490 } |
5249 return result; | 5491 return result; |
5250 } | 5492 } |
5251 | 5493 |
5252 static ContainsOther decode(bindings.Decoder decoder0) { | 5494 static ContainsOther decode(bindings.Decoder decoder0) { |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5306 | 5548 |
5307 class ContainsInterfaceRequest extends bindings.Struct { | 5549 class ContainsInterfaceRequest extends bindings.Struct { |
5308 static const List<bindings.StructDataHeader> kVersions = const [ | 5550 static const List<bindings.StructDataHeader> kVersions = const [ |
5309 const bindings.StructDataHeader(16, 0) | 5551 const bindings.StructDataHeader(16, 0) |
5310 ]; | 5552 ]; |
5311 SomeInterfaceInterfaceRequest req = null; | 5553 SomeInterfaceInterfaceRequest req = null; |
5312 SomeInterfaceInterfaceRequest nullableReq = null; | 5554 SomeInterfaceInterfaceRequest nullableReq = null; |
5313 | 5555 |
5314 ContainsInterfaceRequest() : super(kVersions.last.size); | 5556 ContainsInterfaceRequest() : super(kVersions.last.size); |
5315 | 5557 |
| 5558 ContainsInterfaceRequest.init( |
| 5559 SomeInterfaceInterfaceRequest this.req, |
| 5560 SomeInterfaceInterfaceRequest this.nullableReq |
| 5561 ) : super(kVersions.last.size); |
| 5562 |
5316 static ContainsInterfaceRequest deserialize(bindings.Message message) { | 5563 static ContainsInterfaceRequest deserialize(bindings.Message message) { |
5317 var decoder = new bindings.Decoder(message); | 5564 var decoder = new bindings.Decoder(message); |
5318 var result = decode(decoder); | 5565 var result = decode(decoder); |
5319 if (decoder.excessHandles != null) { | 5566 if (decoder.excessHandles != null) { |
5320 decoder.excessHandles.forEach((h) => h.close()); | 5567 decoder.excessHandles.forEach((h) => h.close()); |
5321 } | 5568 } |
5322 return result; | 5569 return result; |
5323 } | 5570 } |
5324 | 5571 |
5325 static ContainsInterfaceRequest decode(bindings.Decoder decoder0) { | 5572 static ContainsInterfaceRequest decode(bindings.Decoder decoder0) { |
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5450 class DartKeywordStruct extends bindings.Struct { | 5697 class DartKeywordStruct extends bindings.Struct { |
5451 static const List<bindings.StructDataHeader> kVersions = const [ | 5698 static const List<bindings.StructDataHeader> kVersions = const [ |
5452 const bindings.StructDataHeader(24, 0) | 5699 const bindings.StructDataHeader(24, 0) |
5453 ]; | 5700 ]; |
5454 DartKeywordStructKeywords await_ = null; | 5701 DartKeywordStructKeywords await_ = null; |
5455 DartKeywordStructKeywords is_ = null; | 5702 DartKeywordStructKeywords is_ = null; |
5456 DartKeywordStructKeywords rethrow_ = null; | 5703 DartKeywordStructKeywords rethrow_ = null; |
5457 | 5704 |
5458 DartKeywordStruct() : super(kVersions.last.size); | 5705 DartKeywordStruct() : super(kVersions.last.size); |
5459 | 5706 |
| 5707 DartKeywordStruct.init( |
| 5708 DartKeywordStructKeywords this.await_, |
| 5709 DartKeywordStructKeywords this.is_, |
| 5710 DartKeywordStructKeywords this.rethrow_ |
| 5711 ) : super(kVersions.last.size); |
| 5712 |
5460 static DartKeywordStruct deserialize(bindings.Message message) { | 5713 static DartKeywordStruct deserialize(bindings.Message message) { |
5461 var decoder = new bindings.Decoder(message); | 5714 var decoder = new bindings.Decoder(message); |
5462 var result = decode(decoder); | 5715 var result = decode(decoder); |
5463 if (decoder.excessHandles != null) { | 5716 if (decoder.excessHandles != null) { |
5464 decoder.excessHandles.forEach((h) => h.close()); | 5717 decoder.excessHandles.forEach((h) => h.close()); |
5465 } | 5718 } |
5466 return result; | 5719 return result; |
5467 } | 5720 } |
5468 | 5721 |
5469 static DartKeywordStruct decode(bindings.Decoder decoder0) { | 5722 static DartKeywordStruct decode(bindings.Decoder decoder0) { |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5560 | 5813 |
5561 | 5814 |
5562 class _SomeInterfaceSomeMethodParams extends bindings.Struct { | 5815 class _SomeInterfaceSomeMethodParams extends bindings.Struct { |
5563 static const List<bindings.StructDataHeader> kVersions = const [ | 5816 static const List<bindings.StructDataHeader> kVersions = const [ |
5564 const bindings.StructDataHeader(16, 0) | 5817 const bindings.StructDataHeader(16, 0) |
5565 ]; | 5818 ]; |
5566 RectPair pair = null; | 5819 RectPair pair = null; |
5567 | 5820 |
5568 _SomeInterfaceSomeMethodParams() : super(kVersions.last.size); | 5821 _SomeInterfaceSomeMethodParams() : super(kVersions.last.size); |
5569 | 5822 |
| 5823 _SomeInterfaceSomeMethodParams.init( |
| 5824 RectPair this.pair |
| 5825 ) : super(kVersions.last.size); |
| 5826 |
5570 static _SomeInterfaceSomeMethodParams deserialize(bindings.Message message) { | 5827 static _SomeInterfaceSomeMethodParams deserialize(bindings.Message message) { |
5571 var decoder = new bindings.Decoder(message); | 5828 var decoder = new bindings.Decoder(message); |
5572 var result = decode(decoder); | 5829 var result = decode(decoder); |
5573 if (decoder.excessHandles != null) { | 5830 if (decoder.excessHandles != null) { |
5574 decoder.excessHandles.forEach((h) => h.close()); | 5831 decoder.excessHandles.forEach((h) => h.close()); |
5575 } | 5832 } |
5576 return result; | 5833 return result; |
5577 } | 5834 } |
5578 | 5835 |
5579 static _SomeInterfaceSomeMethodParams decode(bindings.Decoder decoder0) { | 5836 static _SomeInterfaceSomeMethodParams decode(bindings.Decoder decoder0) { |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5633 | 5890 |
5634 | 5891 |
5635 class SomeInterfaceSomeMethodResponseParams extends bindings.Struct { | 5892 class SomeInterfaceSomeMethodResponseParams extends bindings.Struct { |
5636 static const List<bindings.StructDataHeader> kVersions = const [ | 5893 static const List<bindings.StructDataHeader> kVersions = const [ |
5637 const bindings.StructDataHeader(16, 0) | 5894 const bindings.StructDataHeader(16, 0) |
5638 ]; | 5895 ]; |
5639 RectPair otherPair = null; | 5896 RectPair otherPair = null; |
5640 | 5897 |
5641 SomeInterfaceSomeMethodResponseParams() : super(kVersions.last.size); | 5898 SomeInterfaceSomeMethodResponseParams() : super(kVersions.last.size); |
5642 | 5899 |
| 5900 SomeInterfaceSomeMethodResponseParams.init( |
| 5901 RectPair this.otherPair |
| 5902 ) : super(kVersions.last.size); |
| 5903 |
5643 static SomeInterfaceSomeMethodResponseParams deserialize(bindings.Message mess
age) { | 5904 static SomeInterfaceSomeMethodResponseParams deserialize(bindings.Message mess
age) { |
5644 var decoder = new bindings.Decoder(message); | 5905 var decoder = new bindings.Decoder(message); |
5645 var result = decode(decoder); | 5906 var result = decode(decoder); |
5646 if (decoder.excessHandles != null) { | 5907 if (decoder.excessHandles != null) { |
5647 decoder.excessHandles.forEach((h) => h.close()); | 5908 decoder.excessHandles.forEach((h) => h.close()); |
5648 } | 5909 } |
5649 return result; | 5910 return result; |
5650 } | 5911 } |
5651 | 5912 |
5652 static SomeInterfaceSomeMethodResponseParams decode(bindings.Decoder decoder0)
{ | 5913 static SomeInterfaceSomeMethodResponseParams decode(bindings.Decoder decoder0)
{ |
(...skipping 331 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5984 default: | 6245 default: |
5985 result += "unknown"; | 6246 result += "unknown"; |
5986 } | 6247 } |
5987 result += ": $_data)"; | 6248 result += ": $_data)"; |
5988 return result; | 6249 return result; |
5989 } | 6250 } |
5990 } | 6251 } |
5991 const int _someInterfaceMethodSomeMethodName = 0; | 6252 const int _someInterfaceMethodSomeMethodName = 0; |
5992 | 6253 |
5993 class _SomeInterfaceServiceDescription implements service_describer.ServiceDescr
iption { | 6254 class _SomeInterfaceServiceDescription implements service_describer.ServiceDescr
iption { |
5994 dynamic getTopLevelInterface([Function responseFactory]) => | 6255 void getTopLevelInterface(Function responder) { |
5995 responseFactory(null); | 6256 responder(null); |
| 6257 } |
5996 | 6258 |
5997 dynamic getTypeDefinition(String typeKey, [Function responseFactory]) => | 6259 void getTypeDefinition(String typeKey, Function responder) { |
5998 responseFactory(null); | 6260 responder(null); |
| 6261 } |
5999 | 6262 |
6000 dynamic getAllTypeDefinitions([Function responseFactory]) => | 6263 void getAllTypeDefinitions(Function responder) { |
6001 responseFactory(null); | 6264 responder(null); |
| 6265 } |
6002 } | 6266 } |
6003 | 6267 |
6004 abstract class SomeInterface { | 6268 abstract class SomeInterface { |
6005 static const String serviceName = null; | 6269 static const String serviceName = null; |
6006 | 6270 |
6007 static service_describer.ServiceDescription _cachedServiceDescription; | 6271 static service_describer.ServiceDescription _cachedServiceDescription; |
6008 static service_describer.ServiceDescription get serviceDescription { | 6272 static service_describer.ServiceDescription get serviceDescription { |
6009 if (_cachedServiceDescription == null) { | 6273 if (_cachedServiceDescription == null) { |
6010 _cachedServiceDescription = new _SomeInterfaceServiceDescription(); | 6274 _cachedServiceDescription = new _SomeInterfaceServiceDescription(); |
6011 } | 6275 } |
6012 return _cachedServiceDescription; | 6276 return _cachedServiceDescription; |
6013 } | 6277 } |
6014 | 6278 |
6015 static SomeInterfaceProxy connectToService( | 6279 static SomeInterfaceProxy connectToService( |
6016 bindings.ServiceConnector s, String url, [String serviceName]) { | 6280 bindings.ServiceConnector s, String url, [String serviceName]) { |
6017 SomeInterfaceProxy p = new SomeInterfaceProxy.unbound(); | 6281 SomeInterfaceProxy p = new SomeInterfaceProxy.unbound(); |
6018 String name = serviceName ?? SomeInterface.serviceName; | 6282 String name = serviceName ?? SomeInterface.serviceName; |
6019 if ((name == null) || name.isEmpty) { | 6283 if ((name == null) || name.isEmpty) { |
6020 throw new core.MojoApiError( | 6284 throw new core.MojoApiError( |
6021 "If an interface has no ServiceName, then one must be provided."); | 6285 "If an interface has no ServiceName, then one must be provided."); |
6022 } | 6286 } |
6023 s.connectToService(url, p, name); | 6287 s.connectToService(url, p, name); |
6024 return p; | 6288 return p; |
6025 } | 6289 } |
6026 dynamic someMethod(RectPair pair,[Function responseFactory = null]); | 6290 void someMethod(RectPair pair,void callback(RectPair otherPair)); |
6027 } | 6291 } |
6028 | 6292 |
6029 abstract class SomeInterfaceInterface | 6293 abstract class SomeInterfaceInterface |
6030 implements bindings.MojoInterface<SomeInterface>, | 6294 implements bindings.MojoInterface<SomeInterface>, |
6031 SomeInterface { | 6295 SomeInterface { |
6032 factory SomeInterfaceInterface([SomeInterface impl]) => | 6296 factory SomeInterfaceInterface([SomeInterface impl]) => |
6033 new SomeInterfaceStub.unbound(impl); | 6297 new SomeInterfaceStub.unbound(impl); |
6034 | 6298 |
6035 factory SomeInterfaceInterface.fromEndpoint( | 6299 factory SomeInterfaceInterface.fromEndpoint( |
6036 core.MojoMessagePipeEndpoint endpoint, | 6300 core.MojoMessagePipeEndpoint endpoint, |
(...skipping 29 matching lines...) Expand all Loading... |
6066 | 6330 |
6067 void handleResponse(bindings.ServiceMessage message) { | 6331 void handleResponse(bindings.ServiceMessage message) { |
6068 switch (message.header.type) { | 6332 switch (message.header.type) { |
6069 case _someInterfaceMethodSomeMethodName: | 6333 case _someInterfaceMethodSomeMethodName: |
6070 var r = SomeInterfaceSomeMethodResponseParams.deserialize( | 6334 var r = SomeInterfaceSomeMethodResponseParams.deserialize( |
6071 message.payload); | 6335 message.payload); |
6072 if (!message.header.hasRequestId) { | 6336 if (!message.header.hasRequestId) { |
6073 proxyError("Expected a message with a valid request Id."); | 6337 proxyError("Expected a message with a valid request Id."); |
6074 return; | 6338 return; |
6075 } | 6339 } |
6076 Completer c = completerMap[message.header.requestId]; | 6340 Function callback = callbackMap[message.header.requestId]; |
6077 if (c == null) { | 6341 if (callback == null) { |
6078 proxyError( | 6342 proxyError( |
6079 "Message had unknown request Id: ${message.header.requestId}"); | 6343 "Message had unknown request Id: ${message.header.requestId}"); |
6080 return; | 6344 return; |
6081 } | 6345 } |
6082 completerMap.remove(message.header.requestId); | 6346 callbackMap.remove(message.header.requestId); |
6083 if (c.isCompleted) { | 6347 callback(r.otherPair ); |
6084 proxyError("Response completer already completed"); | |
6085 return; | |
6086 } | |
6087 c.complete(r); | |
6088 break; | 6348 break; |
6089 default: | 6349 default: |
6090 proxyError("Unexpected message type: ${message.header.type}"); | 6350 proxyError("Unexpected message type: ${message.header.type}"); |
6091 close(immediate: true); | 6351 close(immediate: true); |
6092 break; | 6352 break; |
6093 } | 6353 } |
6094 } | 6354 } |
6095 | 6355 |
6096 @override | 6356 @override |
6097 String toString() { | 6357 String toString() { |
(...skipping 24 matching lines...) Expand all Loading... |
6122 return newMockedProxy; | 6382 return newMockedProxy; |
6123 } | 6383 } |
6124 | 6384 |
6125 static SomeInterfaceProxy newFromEndpoint( | 6385 static SomeInterfaceProxy newFromEndpoint( |
6126 core.MojoMessagePipeEndpoint endpoint) { | 6386 core.MojoMessagePipeEndpoint endpoint) { |
6127 assert(endpoint.setDescription("For SomeInterfaceProxy")); | 6387 assert(endpoint.setDescription("For SomeInterfaceProxy")); |
6128 return new SomeInterfaceProxy.fromEndpoint(endpoint); | 6388 return new SomeInterfaceProxy.fromEndpoint(endpoint); |
6129 } | 6389 } |
6130 | 6390 |
6131 | 6391 |
6132 dynamic someMethod(RectPair pair,[Function responseFactory = null]) { | 6392 void someMethod(RectPair pair,void callback(RectPair otherPair)) { |
6133 if (impl != null) { | 6393 if (impl != null) { |
6134 return new Future(() => impl.someMethod(pair,_SomeInterfaceStubControl._so
meInterfaceSomeMethodResponseParamsFactory)); | 6394 impl.someMethod(pair,callback); |
| 6395 return; |
6135 } | 6396 } |
6136 var params = new _SomeInterfaceSomeMethodParams(); | 6397 var params = new _SomeInterfaceSomeMethodParams(); |
6137 params.pair = pair; | 6398 params.pair = pair; |
6138 return ctrl.sendMessageWithRequestId( | 6399 ctrl.sendMessageWithRequestId( |
6139 params, | 6400 params, |
6140 _someInterfaceMethodSomeMethodName, | 6401 _someInterfaceMethodSomeMethodName, |
6141 -1, | 6402 -1, |
6142 bindings.MessageHeader.kMessageExpectsResponse); | 6403 bindings.MessageHeader.kMessageExpectsResponse, |
| 6404 callback); |
6143 } | 6405 } |
6144 } | 6406 } |
6145 | 6407 |
6146 class _SomeInterfaceStubControl | 6408 class _SomeInterfaceStubControl |
6147 extends bindings.StubMessageHandler | 6409 extends bindings.StubMessageHandler |
6148 implements bindings.StubControl<SomeInterface> { | 6410 implements bindings.StubControl<SomeInterface> { |
6149 SomeInterface _impl; | 6411 SomeInterface _impl; |
6150 | 6412 |
6151 _SomeInterfaceStubControl.fromEndpoint( | 6413 _SomeInterfaceStubControl.fromEndpoint( |
6152 core.MojoMessagePipeEndpoint endpoint, [SomeInterface impl]) | 6414 core.MojoMessagePipeEndpoint endpoint, [SomeInterface impl]) |
6153 : super.fromEndpoint(endpoint, autoBegin: impl != null) { | 6415 : super.fromEndpoint(endpoint, autoBegin: impl != null) { |
6154 _impl = impl; | 6416 _impl = impl; |
6155 } | 6417 } |
6156 | 6418 |
6157 _SomeInterfaceStubControl.fromHandle( | 6419 _SomeInterfaceStubControl.fromHandle( |
6158 core.MojoHandle handle, [SomeInterface impl]) | 6420 core.MojoHandle handle, [SomeInterface impl]) |
6159 : super.fromHandle(handle, autoBegin: impl != null) { | 6421 : super.fromHandle(handle, autoBegin: impl != null) { |
6160 _impl = impl; | 6422 _impl = impl; |
6161 } | 6423 } |
6162 | 6424 |
6163 _SomeInterfaceStubControl.unbound([this._impl]) : super.unbound(); | 6425 _SomeInterfaceStubControl.unbound([this._impl]) : super.unbound(); |
6164 | 6426 |
6165 String get serviceName => SomeInterface.serviceName; | 6427 String get serviceName => SomeInterface.serviceName; |
6166 | 6428 |
6167 | 6429 |
6168 static SomeInterfaceSomeMethodResponseParams _someInterfaceSomeMethodResponseP
aramsFactory(RectPair otherPair) { | 6430 Function _someInterfaceSomeMethodResponseParamsResponder( |
6169 var result = new SomeInterfaceSomeMethodResponseParams(); | 6431 int requestId) { |
6170 result.otherPair = otherPair; | 6432 return (RectPair otherPair) { |
6171 return result; | 6433 var result = new SomeInterfaceSomeMethodResponseParams(); |
| 6434 result.otherPair = otherPair; |
| 6435 sendResponse(buildResponseWithId( |
| 6436 result, |
| 6437 _someInterfaceMethodSomeMethodName, |
| 6438 requestId, |
| 6439 bindings.MessageHeader.kMessageIsResponse)); |
| 6440 }; |
6172 } | 6441 } |
6173 | 6442 |
6174 dynamic handleMessage(bindings.ServiceMessage message) { | 6443 void handleMessage(bindings.ServiceMessage message) { |
6175 if (bindings.ControlMessageHandler.isControlMessage(message)) { | 6444 if (bindings.ControlMessageHandler.isControlMessage(message)) { |
6176 return bindings.ControlMessageHandler.handleMessage(this, | 6445 bindings.ControlMessageHandler.handleMessage( |
6177 0, | 6446 this, 0, message); |
6178 message); | 6447 return; |
6179 } | 6448 } |
6180 if (_impl == null) { | 6449 if (_impl == null) { |
6181 throw new core.MojoApiError("$this has no implementation set"); | 6450 throw new core.MojoApiError("$this has no implementation set"); |
6182 } | 6451 } |
6183 switch (message.header.type) { | 6452 switch (message.header.type) { |
6184 case _someInterfaceMethodSomeMethodName: | 6453 case _someInterfaceMethodSomeMethodName: |
6185 var params = _SomeInterfaceSomeMethodParams.deserialize( | 6454 var params = _SomeInterfaceSomeMethodParams.deserialize( |
6186 message.payload); | 6455 message.payload); |
6187 var response = _impl.someMethod(params.pair,_someInterfaceSomeMethodResp
onseParamsFactory); | 6456 _impl.someMethod(params.pair, _someInterfaceSomeMethodResponseParamsResp
onder(message.header.requestId)); |
6188 if (response is Future) { | |
6189 return response.then((response) { | |
6190 if (response != null) { | |
6191 return buildResponseWithId( | |
6192 response, | |
6193 _someInterfaceMethodSomeMethodName, | |
6194 message.header.requestId, | |
6195 bindings.MessageHeader.kMessageIsResponse); | |
6196 } | |
6197 }); | |
6198 } else if (response != null) { | |
6199 return buildResponseWithId( | |
6200 response, | |
6201 _someInterfaceMethodSomeMethodName, | |
6202 message.header.requestId, | |
6203 bindings.MessageHeader.kMessageIsResponse); | |
6204 } | |
6205 break; | 6457 break; |
6206 default: | 6458 default: |
6207 throw new bindings.MojoCodecError("Unexpected message name"); | 6459 throw new bindings.MojoCodecError("Unexpected message name"); |
6208 break; | 6460 break; |
6209 } | 6461 } |
6210 return null; | |
6211 } | 6462 } |
6212 | 6463 |
6213 SomeInterface get impl => _impl; | 6464 SomeInterface get impl => _impl; |
6214 set impl(SomeInterface d) { | 6465 set impl(SomeInterface d) { |
6215 if (d == null) { | 6466 if (d == null) { |
6216 throw new core.MojoApiError("$this: Cannot set a null implementation"); | 6467 throw new core.MojoApiError("$this: Cannot set a null implementation"); |
6217 } | 6468 } |
6218 if (isBound && (_impl == null)) { | 6469 if (isBound && (_impl == null)) { |
6219 beginHandlingEvents(); | 6470 beginHandlingEvents(); |
6220 } | 6471 } |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6254 core.MojoHandle handle, [SomeInterface impl]) | 6505 core.MojoHandle handle, [SomeInterface impl]) |
6255 : super(new _SomeInterfaceStubControl.fromHandle(handle, impl)); | 6506 : super(new _SomeInterfaceStubControl.fromHandle(handle, impl)); |
6256 | 6507 |
6257 static SomeInterfaceStub newFromEndpoint( | 6508 static SomeInterfaceStub newFromEndpoint( |
6258 core.MojoMessagePipeEndpoint endpoint) { | 6509 core.MojoMessagePipeEndpoint endpoint) { |
6259 assert(endpoint.setDescription("For SomeInterfaceStub")); | 6510 assert(endpoint.setDescription("For SomeInterfaceStub")); |
6260 return new SomeInterfaceStub.fromEndpoint(endpoint); | 6511 return new SomeInterfaceStub.fromEndpoint(endpoint); |
6261 } | 6512 } |
6262 | 6513 |
6263 | 6514 |
6264 dynamic someMethod(RectPair pair,[Function responseFactory = null]) { | 6515 void someMethod(RectPair pair,void callback(RectPair otherPair)) { |
6265 return impl.someMethod(pair,responseFactory); | 6516 return impl.someMethod(pair,callback); |
6266 } | 6517 } |
6267 } | 6518 } |
6268 | 6519 |
6269 | 6520 |
6270 mojom_types.RuntimeTypeInfo getRuntimeTypeInfo() => _runtimeTypeInfo ?? | 6521 mojom_types.RuntimeTypeInfo getRuntimeTypeInfo() => _runtimeTypeInfo ?? |
6271 _initRuntimeTypeInfo(); | 6522 _initRuntimeTypeInfo(); |
6272 | 6523 |
6273 Map<String, mojom_types.UserDefinedType> getAllMojomTypeDefinitions() { | 6524 Map<String, mojom_types.UserDefinedType> getAllMojomTypeDefinitions() { |
6274 return getRuntimeTypeInfo().typeMap; | 6525 return getRuntimeTypeInfo().typeMap; |
6275 } | 6526 } |
6276 | 6527 |
6277 var _runtimeTypeInfo; | 6528 var _runtimeTypeInfo; |
6278 mojom_types.RuntimeTypeInfo _initRuntimeTypeInfo() { | 6529 mojom_types.RuntimeTypeInfo _initRuntimeTypeInfo() { |
6279 // serializedRuntimeTypeInfo contains the bytes of the Mojo serialization of | 6530 // serializedRuntimeTypeInfo contains the bytes of the Mojo serialization of |
6280 // a mojom_types.RuntimeTypeInfo struct describing the Mojom types in this | 6531 // a mojom_types.RuntimeTypeInfo struct describing the Mojom types in this |
6281 // file. The string contains the base64 encoding of the gzip-compressed bytes. | 6532 // file. The string contains the base64 encoding of the gzip-compressed bytes. |
6282 var serializedRuntimeTypeInfo = "H4sIAAAJbogC/+yda3Abx33A7/AgQYqSIFmiqMhyEFmRa
TumAIIPMG1jyhZVqrYkmpRlqmlDgsRRgE0CMADWlNs0TJPMaPpU3/7SlH2rnemU6WOqmc509K1K27Scf
ujwIz/yW9m0k7Kdts4d8V/ybrF7d7t32FuaxAy0OnAXuPvt67///3//26XUX3FIk5Din6M0hqV4vnJLP
d3W38/p7y2UT62nw5DmIf0I0seQbkAaD9XTDKSTkC5DugLpU0g3IY2F4TkgnYR0GdJHkK5Bug1pVwTuD
9I8pA8gXYV0HdJtSBPRejoK6Uv6+4L+vn13bGTqjZG7n18ovVvqqWnVWs+VSiV7/052flG7fb+sVev5X
9TfnyHnf61Q2ysC2ZXP6e+L5Pyvl4q1bKFYvV6saZW57Kxm5E/r75dd5h/X3td/qLbzO93Gs9mXu1XLa
xWb+7mardTe0O5/UKrkJmqVxdmdL+7X36+4zN8DV1Uo81lKOW0uuzhfu1bQ5nO7rC5B+yPkH1ko1+6jO
7K5/2vzpWzt5uLCjFbZq4IX9PenyflHs8XcvAZf3AP3QMhn8L6nVazfbHO/N7JlHQS0GZt60fPttS4bX
jd0WIU7WqVaKBV3K+YyPJur/HeSjPlTjPnTjPn7GfMP2vG+mV3QcuPaPT27LZebJULLs8u/OD+fnZnXL
O3keT3vOXL+cW22NpYtVJzGlYnZUlnL6b2yWssWa9W9cbzbVf6eEaPB2LSridKCtjtG2N3HzhPdmqunz
uPb20WdMJbdjt/bxWrhXlHLWTrOplqvR2P+MaaOdXVvPjL+m2y3XsdPWa+fdlqvtz9lvc6ct85vw89b/
74D2Xz9Kvb7w9br8jiW/471evpD6/Xqz1qvV75pvV7+E+t1159ar5e+hX3/X1uvN/7Wej36bez7vmO9z
v8bxuu72Pd9z8prNKruXhtT7WqHitXH3rUxhSfOW/++/Nn6dQKTN2JQz90giADm3ReSY9DnH8NrU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Mr6PSRofiufLs4lXtFQl8RaZf
w3JvdxMmSj3jgPzIOPp3eRfC6o/4j77FXf6o1Yl9ccJJZj4ctb+8Dr/k/ohbNMPfT77/1B81eJMOT//M
+R1zlnB8ziJcxc2Tzv1C3pep3x/g2A7Jr0vpCas/ZXw2Z+H3pvFmUKd9N6chHHXaf2VMOkNxjPiceTIv
k/oJ0tVO30qqrSeGxvHDL5e7Rsov/LbZX2aNSlJCfjOndu21sDvZx8wDEp/WgYem7AOmgL96XGUbt80/
umxYD1p/6dMT6LZjR+79Ev4pQ8d2GX6kBP3kCC95+Au0XtIvMMm3mFB+s2hPf3G0sSpXyKC9Jj4Ltdjc
HtPFsCvHbfnT9u3t4HVR+Pm7XK9uFDW8leXFm9rNbs82OSaLfJYDSbuH7cbFIA/ev67WPwIsvMmQKBOQ
YnOe7oP5WNkZ0P2YCirUKbB10foTxKwgVtJznYpznZpznYZznZDnO2GOduNcLYb5WyX5WwHeSpt4q0o/
Z7kbJcivgcbaLyDgH2I2UUfwD6SJNiV70GgQgICj9cgH3wc8sCvxun2VBQLRorHa5c9lbbP5DlVzng8d
N/c80KSj7/ofPDPy84/5W1eZuUvOv98Qnb+aW/yjcY/RuEvOt/9C6r4fGtM/DPe9ARW/qLz65+Vnf+QN
32Llb/ofP7nZOc/7E1vpfHvofAXfX7Aedn5j3jT/1n5iz6v4EXZ+Y96W0ex8ufZB+XlfIR+2flnva1Ha
fx7Kfx5/MhezmN4WXb+Y97W9az8efzCXs5/eEVS/ui++e0cSS7+POdveDlv4lXp+ac82Zns/O77Tf3yw
wAAAP//ZGndPIhLAQA="; |
6283 | 6534 |
6284 // Deserialize RuntimeTypeInfo | 6535 // Deserialize RuntimeTypeInfo |
6285 var bytes = BASE64.decode(serializedRuntimeTypeInfo); | 6536 var bytes = BASE64.decode(serializedRuntimeTypeInfo); |
6286 var unzippedBytes = new ZLibDecoder().convert(bytes); | 6537 var unzippedBytes = new ZLibDecoder().convert(bytes); |
6287 var bdata = new ByteData.view(unzippedBytes.buffer); | 6538 var bdata = new ByteData.view(unzippedBytes.buffer); |
6288 var message = new bindings.Message(bdata, null, unzippedBytes.length, 0); | 6539 var message = new bindings.Message(bdata, null, unzippedBytes.length, 0); |
6289 _runtimeTypeInfo = mojom_types.RuntimeTypeInfo.deserialize(message); | 6540 _runtimeTypeInfo = mojom_types.RuntimeTypeInfo.deserialize(message); |
6290 rect_mojom.getAllMojomTypeDefinitions() | 6541 rect_mojom.getAllMojomTypeDefinitions() |
6291 .forEach((String s, mojom_types.UserDefinedType udt) { | 6542 .forEach((String s, mojom_types.UserDefinedType udt) { |
6292 _runtimeTypeInfo.typeMap[s] = udt; | 6543 _runtimeTypeInfo.typeMap[s] = udt; |
6293 }); | 6544 }); |
6294 | 6545 |
6295 return _runtimeTypeInfo; | 6546 return _runtimeTypeInfo; |
6296 } | 6547 } |
OLD | NEW |