• Home
  • Raw
  • Download

Lines Matching refs:A1

16 struct A1  struct
19 virtual ~A1() {} in ~A1() argument
21 A1* getA1() {return this;} in getA1() argument
33 : public virtual A1,
39 A1* getA1() {return A1::getA1();} in getA1()
51 t1::A1* getA1() {return A3::getA1();} in getA1()
64 t1::A1* getA1() {return A4::getA1();} in getA1()
73 A1 a1; in test()
79 assert(dynamic_cast<A1*>(a1.getA1()) == a1.getA1()); in test()
80 assert(dynamic_cast<A1*>(a2.getA2()) == 0); in test()
81 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
82 assert(dynamic_cast<A1*>(a3.getA2()) == 0); in test()
83 assert(dynamic_cast<A1*>(a3.getA3()) == a3.getA1()); in test()
84 assert(dynamic_cast<A1*>(a4.getA1()) == a4.getA1()); in test()
85 assert(dynamic_cast<A1*>(a4.getA2()) == 0); in test()
86 assert(dynamic_cast<A1*>(a4.getA3()) == a4.getA1()); in test()
87 assert(dynamic_cast<A1*>(a4.getA4()) == a4.getA1()); in test()
88 assert(dynamic_cast<A1*>(a5.getA1()) == a5.getA1()); in test()
89 assert(dynamic_cast<A1*>(a5.getA2()) == 0); in test()
90 assert(dynamic_cast<A1*>(a5.getA3()) == a5.getA1()); in test()
91 assert(dynamic_cast<A1*>(a5.getA4()) == a5.getA1()); in test()
92 assert(dynamic_cast<A1*>(a5.getA5()) == a5.getA1()); in test()
160 struct A1 struct
163 virtual ~A1() {} in ~A1() argument
165 A1* getA1() {return this;} in getA1() argument
177 : public virtual A1,
183 A1* getA1() {return A1::getA1();} in getA1()
195 t2::A1* getA1() {return A3::getA1();} in getA1()
208 t2::A1* getA1() {return A4::getA1();} in getA1()
217 A1 a1; in test()
223 assert(dynamic_cast<A1*>(a1.getA1()) == a1.getA1()); in test()
224 assert(dynamic_cast<A1*>(a2.getA2()) == 0); in test()
225 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
226 assert(dynamic_cast<A1*>(a3.getA2()) == a3.getA1()); in test()
227 assert(dynamic_cast<A1*>(a3.getA3()) == a3.getA1()); in test()
228 assert(dynamic_cast<A1*>(a4.getA1()) == a4.getA1()); in test()
229 assert(dynamic_cast<A1*>(a4.getA2()) == a4.getA1()); in test()
230 assert(dynamic_cast<A1*>(a4.getA3()) == a4.getA1()); in test()
231 assert(dynamic_cast<A1*>(a4.getA4()) == a4.getA1()); in test()
232 assert(dynamic_cast<A1*>(a5.getA1()) == a5.getA1()); in test()
233 assert(dynamic_cast<A1*>(a5.getA2()) == a5.getA1()); in test()
234 assert(dynamic_cast<A1*>(a5.getA3()) == a5.getA1()); in test()
235 assert(dynamic_cast<A1*>(a5.getA4()) == a5.getA1()); in test()
236 assert(dynamic_cast<A1*>(a5.getA5()) == a5.getA1()); in test()
304 struct A1 struct
307 virtual ~A1() {} in ~A1() argument
309 A1* getA1() {return this;} in getA1() argument
321 : public A1,
327 A1* getA1() {return A1::getA1();} in getA1()
333 : public A1,
339 A1* getA1() {return A1::getA1();} in getA1()
351 A1* getA14() {return A4::getA1();} in getA14()
352 A1* getA13() {return A3::getA1();} in getA13()
361 A1 a1; in test()
367 assert(dynamic_cast<A1*>(a1.getA1()) == a1.getA1()); in test()
368 assert(dynamic_cast<A1*>(a2.getA2()) == 0); in test()
369 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
370 assert(dynamic_cast<A1*>(a3.getA2()) == a3.getA1()); in test()
371 assert(dynamic_cast<A1*>(a3.getA3()) == a3.getA1()); in test()
372 assert(dynamic_cast<A1*>(a4.getA1()) == a4.getA1()); in test()
373 assert(dynamic_cast<A1*>(a4.getA2()) == a4.getA1()); in test()
374 assert(dynamic_cast<A1*>(a4.getA4()) == a4.getA1()); in test()
375 assert(dynamic_cast<A1*>(a5.getA14()) == a5.getA14()); in test()
376 assert(dynamic_cast<A1*>(a5.getA13()) == a5.getA13()); in test()
377 assert(dynamic_cast<A1*>(a5.getA2()) == 0); in test()
378 assert(dynamic_cast<A1*>(a5.getA3()) == a5.getA13()); in test()
379 assert(dynamic_cast<A1*>(a5.getA4()) == a5.getA14()); in test()
447 struct A1 struct
450 virtual ~A1() {} in ~A1() argument
452 A1* getA1() {return this;} in getA1() argument
464 : protected A1,
470 A1* getA1() {return A1::getA1();} in getA1()
476 : public A1,
482 A1* getA1() {return A1::getA1();} in getA1()
494 A1* getA14() {return A4::getA1();} in getA14()
495 A1* getA13() {return A3::getA1();} in getA13()
504 A1 a1; in test()
510 assert(dynamic_cast<A1*>(a1.getA1()) == a1.getA1()); in test()
511 assert(dynamic_cast<A1*>(a2.getA2()) == 0); in test()
512 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
513 assert(dynamic_cast<A1*>(a3.getA2()) == 0); in test()
515 assert(dynamic_cast<A1*>(a4.getA1()) == a4.getA1()); in test()
516 assert(dynamic_cast<A1*>(a4.getA2()) == a4.getA1()); in test()
517 assert(dynamic_cast<A1*>(a4.getA4()) == a4.getA1()); in test()
518 assert(dynamic_cast<A1*>(a5.getA14()) == a5.getA14()); in test()
519 assert(dynamic_cast<A1*>(a5.getA13()) == a5.getA13()); in test()
520 assert(dynamic_cast<A1*>(a5.getA2()) == 0); in test()
522 assert(dynamic_cast<A1*>(a5.getA4()) == a5.getA14()); in test()
590 struct A1 struct
593 virtual ~A1() {} in ~A1() argument
595 A1* getA1() {return this;} in getA1() argument
607 : public A1,
613 A1* getA1() {return A1::getA1();} in getA1()
619 : public A1,
625 A1* getA1() {return A1::getA1();} in getA1()
637 A1* getA14() {return A4::getA1();} in getA14()
638 A1* getA13() {return A3::getA1();} in getA13()
647 A1 a1; in test()
653 assert(dynamic_cast<A1*>(a1.getA1()) == a1.getA1()); in test()
654 assert(dynamic_cast<A1*>(a2.getA2()) == 0); in test()
655 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
656 assert(dynamic_cast<A1*>(a3.getA2()) == 0); in test()
657 assert(dynamic_cast<A1*>(a3.getA3()) == a3.getA1()); in test()
658 assert(dynamic_cast<A1*>(a4.getA1()) == a4.getA1()); in test()
659 assert(dynamic_cast<A1*>(a4.getA2()) == a4.getA1()); in test()
660 assert(dynamic_cast<A1*>(a4.getA4()) == a4.getA1()); in test()
661 assert(dynamic_cast<A1*>(a5.getA14()) == a5.getA14()); in test()
662 assert(dynamic_cast<A1*>(a5.getA13()) == a5.getA13()); in test()
663 assert(dynamic_cast<A1*>(a5.getA2()) == 0); in test()
664 assert(dynamic_cast<A1*>(a5.getA3()) == a5.getA13()); in test()
665 assert(dynamic_cast<A1*>(a5.getA4()) == a5.getA14()); in test()
733 struct A1 struct
736 virtual ~A1() {} in ~A1() argument
738 A1* getA1() {return this;} in getA1() argument
750 : public A1,
756 A1* getA1() {return A1::getA1();} in getA1()
762 : protected A1,
768 A1* getA1() {return A1::getA1();} in getA1()
780 A1* getA14() {return A4::getA1();} in getA14()
781 A1* getA13() {return A3::getA1();} in getA13()
790 A1 a1; in test()
796 assert(dynamic_cast<A1*>(a1.getA1()) == a1.getA1()); in test()
797 assert(dynamic_cast<A1*>(a2.getA2()) == 0); in test()
798 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
799 assert(dynamic_cast<A1*>(a3.getA2()) == a3.getA1()); in test()
800 assert(dynamic_cast<A1*>(a3.getA3()) == a3.getA1()); in test()
801 assert(dynamic_cast<A1*>(a4.getA1()) == a4.getA1()); in test()
802 assert(dynamic_cast<A1*>(a4.getA2()) == 0); in test()
804 assert(dynamic_cast<A1*>(a5.getA14()) == a5.getA14()); in test()
805 assert(dynamic_cast<A1*>(a5.getA13()) == a5.getA13()); in test()
806 assert(dynamic_cast<A1*>(a5.getA2()) == 0); in test()
807 assert(dynamic_cast<A1*>(a5.getA3()) == a5.getA13()); in test()
876 struct A1 struct
879 virtual ~A1() {} in ~A1() argument
881 A1* getA1() {return this;} in getA1() argument
893 : public A1,
899 A1* getA1() {return A1::getA1();} in getA1()
905 : public A1,
911 A1* getA1() {return A1::getA1();} in getA1()
923 A1* getA14() {return A4::getA1();} in getA14()
924 A1* getA13() {return A3::getA1();} in getA13()
933 A1 a1; in test()
939 assert(dynamic_cast<A1*>(a1.getA1()) == a1.getA1()); in test()
940 assert(dynamic_cast<A1*>(a2.getA2()) == 0); in test()
941 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
942 assert(dynamic_cast<A1*>(a3.getA2()) == a3.getA1()); in test()
943 assert(dynamic_cast<A1*>(a3.getA3()) == a3.getA1()); in test()
944 assert(dynamic_cast<A1*>(a4.getA1()) == a4.getA1()); in test()
945 assert(dynamic_cast<A1*>(a4.getA2()) == 0); in test()
946 assert(dynamic_cast<A1*>(a4.getA4()) == a4.getA1()); in test()
947 assert(dynamic_cast<A1*>(a5.getA14()) == a5.getA14()); in test()
948 assert(dynamic_cast<A1*>(a5.getA13()) == a5.getA13()); in test()
949 assert(dynamic_cast<A1*>(a5.getA2()) == 0); in test()
950 assert(dynamic_cast<A1*>(a5.getA3()) == a5.getA13()); in test()
951 assert(dynamic_cast<A1*>(a5.getA4()) == a5.getA14()); in test()
1019 struct A1 struct
1022 virtual ~A1() {} in ~A1() argument
1024 A1* getA1() {return this;} in getA1() argument
1036 : public A1,
1042 A1* getA1() {return A1::getA1();} in getA1()
1048 : public A1,
1054 A1* getA1() {return A1::getA1();} in getA1()
1066 A1* getA14() {return A4::getA1();} in getA14()
1067 A1* getA13() {return A3::getA1();} in getA13()
1076 A1 a1; in test()
1082 assert(dynamic_cast<A1*>(a1.getA1()) == a1.getA1()); in test()
1083 assert(dynamic_cast<A1*>(a2.getA2()) == 0); in test()
1084 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
1085 assert(dynamic_cast<A1*>(a3.getA2()) == a3.getA1()); in test()
1086 assert(dynamic_cast<A1*>(a3.getA3()) == a3.getA1()); in test()
1087 assert(dynamic_cast<A1*>(a4.getA1()) == a4.getA1()); in test()
1088 assert(dynamic_cast<A1*>(a4.getA2()) == a4.getA1()); in test()
1089 assert(dynamic_cast<A1*>(a4.getA4()) == a4.getA1()); in test()
1090 assert(dynamic_cast<A1*>(a5.getA14()) == a5.getA14()); in test()
1091 assert(dynamic_cast<A1*>(a5.getA13()) == a5.getA13()); in test()
1092 assert(dynamic_cast<A1*>(a5.getA2()) == 0); in test()
1093 assert(dynamic_cast<A1*>(a5.getA3()) == a5.getA13()); in test()
1094 assert(dynamic_cast<A1*>(a5.getA4()) == a5.getA14()); in test()
1162 struct A1 struct
1165 virtual ~A1() {} in ~A1() argument
1167 A1* getA1() {return this;} in getA1() argument
1179 : public A1,
1185 A1* getA1() {return A1::getA1();} in getA1()
1191 : public A1,
1197 A1* getA1() {return A1::getA1();} in getA1()
1209 A1* getA14() {return A4::getA1();} in getA14()
1210 A1* getA13() {return A3::getA1();} in getA13()
1219 A1 a1; in test()
1225 assert(dynamic_cast<A1*>(a1.getA1()) == a1.getA1()); in test()
1226 assert(dynamic_cast<A1*>(a2.getA2()) == 0); in test()
1227 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test()
1228 assert(dynamic_cast<A1*>(a3.getA2()) == a3.getA1()); in test()
1229 assert(dynamic_cast<A1*>(a3.getA3()) == a3.getA1()); in test()
1230 assert(dynamic_cast<A1*>(a4.getA1()) == a4.getA1()); in test()
1231 assert(dynamic_cast<A1*>(a4.getA2()) == a4.getA1()); in test()
1232 assert(dynamic_cast<A1*>(a4.getA4()) == a4.getA1()); in test()
1233 assert(dynamic_cast<A1*>(a5.getA14()) == a5.getA14()); in test()
1234 assert(dynamic_cast<A1*>(a5.getA13()) == a5.getA13()); in test()
1235 assert(dynamic_cast<A1*>(a5.getA2()) == 0); in test()
1236 assert(dynamic_cast<A1*>(a5.getA3()) == a5.getA13()); in test()
1237 assert(dynamic_cast<A1*>(a5.getA4()) == a5.getA14()); in test()