Lines Matching refs:StorageType
365 // of StorageType; its first argument is a pointer to the non-templated common
366 // baseclass of StorageType. This lets us store pointer to DoInvoke() in a
367 // function pointer that has knowledge of the specific StorageType, and thus
371 // upcasted from the correct StorageType, we can be sure that execution is
379 template <typename StorageType, typename NormalizedSig>
383 template <typename StorageType, typename R>
384 struct Invoker0<StorageType, R(*)()> {
386 StorageType* invoker = static_cast<StorageType*>(base);
392 template <typename StorageType, typename R,typename X1>
393 struct Invoker0<StorageType, R(*)(X1)> {
396 StorageType* invoker = static_cast<StorageType*>(base);
402 template <typename StorageType, typename R,typename X1, typename X2>
403 struct Invoker0<StorageType, R(*)(X1, X2)> {
407 StorageType* invoker = static_cast<StorageType*>(base);
413 template <typename StorageType, typename R,typename X1, typename X2,
415 struct Invoker0<StorageType, R(*)(X1, X2, X3)> {
420 StorageType* invoker = static_cast<StorageType*>(base);
426 template <typename StorageType, typename R,typename X1, typename X2,
428 struct Invoker0<StorageType, R(*)(X1, X2, X3, X4)> {
434 StorageType* invoker = static_cast<StorageType*>(base);
440 template <typename StorageType, typename R,typename X1, typename X2,
442 struct Invoker0<StorageType, R(*)(X1, X2, X3, X4, X5)> {
449 StorageType* invoker = static_cast<StorageType*>(base);
455 template <typename StorageType, typename R,typename X1, typename X2,
457 struct Invoker0<StorageType, R(*)(X1, X2, X3, X4, X5, X6)> {
465 StorageType* invoker = static_cast<StorageType*>(base);
470 template <typename StorageType, typename NormalizedSig>
474 template <typename StorageType, typename R,typename X1>
475 struct Invoker1<StorageType, R(*)(X1)> {
477 StorageType* invoker = static_cast<StorageType*>(base);
483 template <typename StorageType, typename R, typename T>
484 struct Invoker1<StorageType, R(T::*)()> {
486 StorageType* invoker = static_cast<StorageType*>(base);
492 template <typename StorageType, typename R,typename X1, typename X2>
493 struct Invoker1<StorageType, R(*)(X1, X2)> {
496 StorageType* invoker = static_cast<StorageType*>(base);
502 template <typename StorageType, typename R, typename T, typename X1>
503 struct Invoker1<StorageType, R(T::*)(X1)> {
506 StorageType* invoker = static_cast<StorageType*>(base);
512 template <typename StorageType, typename R,typename X1, typename X2,
514 struct Invoker1<StorageType, R(*)(X1, X2, X3)> {
518 StorageType* invoker = static_cast<StorageType*>(base);
524 template <typename StorageType, typename R, typename T, typename X1,
526 struct Invoker1<StorageType, R(T::*)(X1, X2)> {
530 StorageType* invoker = static_cast<StorageType*>(base);
536 template <typename StorageType, typename R,typename X1, typename X2,
538 struct Invoker1<StorageType, R(*)(X1, X2, X3, X4)> {
543 StorageType* invoker = static_cast<StorageType*>(base);
549 template <typename StorageType, typename R, typename T, typename X1,
551 struct Invoker1<StorageType, R(T::*)(X1, X2, X3)> {
556 StorageType* invoker = static_cast<StorageType*>(base);
562 template <typename StorageType, typename R,typename X1, typename X2,
564 struct Invoker1<StorageType, R(*)(X1, X2, X3, X4, X5)> {
570 StorageType* invoker = static_cast<StorageType*>(base);
576 template <typename StorageType, typename R, typename T, typename X1,
578 struct Invoker1<StorageType, R(T::*)(X1, X2, X3, X4)> {
584 StorageType* invoker = static_cast<StorageType*>(base);
590 template <typename StorageType, typename R,typename X1, typename X2,
592 struct Invoker1<StorageType, R(*)(X1, X2, X3, X4, X5, X6)> {
599 StorageType* invoker = static_cast<StorageType*>(base);
605 template <typename StorageType, typename R, typename T, typename X1,
607 struct Invoker1<StorageType, R(T::*)(X1, X2, X3, X4, X5)> {
614 StorageType* invoker = static_cast<StorageType*>(base);
619 template <typename StorageType, typename NormalizedSig>
623 template <typename StorageType, typename R,typename X1, typename X2>
624 struct Invoker2<StorageType, R(*)(X1, X2)> {
626 StorageType* invoker = static_cast<StorageType*>(base);
632 template <typename StorageType, typename R, typename T, typename X1>
633 struct Invoker2<StorageType, R(T::*)(X1)> {
635 StorageType* invoker = static_cast<StorageType*>(base);
641 template <typename StorageType, typename R,typename X1, typename X2,
643 struct Invoker2<StorageType, R(*)(X1, X2, X3)> {
646 StorageType* invoker = static_cast<StorageType*>(base);
652 template <typename StorageType, typename R, typename T, typename X1,
654 struct Invoker2<StorageType, R(T::*)(X1, X2)> {
657 StorageType* invoker = static_cast<StorageType*>(base);
663 template <typename StorageType, typename R,typename X1, typename X2,
665 struct Invoker2<StorageType, R(*)(X1, X2, X3, X4)> {
669 StorageType* invoker = static_cast<StorageType*>(base);
675 template <typename StorageType, typename R, typename T, typename X1,
677 struct Invoker2<StorageType, R(T::*)(X1, X2, X3)> {
681 StorageType* invoker = static_cast<StorageType*>(base);
687 template <typename StorageType, typename R,typename X1, typename X2,
689 struct Invoker2<StorageType, R(*)(X1, X2, X3, X4, X5)> {
694 StorageType* invoker = static_cast<StorageType*>(base);
700 template <typename StorageType, typename R, typename T, typename X1,
702 struct Invoker2<StorageType, R(T::*)(X1, X2, X3, X4)> {
707 StorageType* invoker = static_cast<StorageType*>(base);
714 template <typename StorageType, typename R,typename X1, typename X2,
716 struct Invoker2<StorageType, R(*)(X1, X2, X3, X4, X5, X6)> {
722 StorageType* invoker = static_cast<StorageType*>(base);
729 template <typename StorageType, typename R, typename T, typename X1,
731 struct Invoker2<StorageType, R(T::*)(X1, X2, X3, X4, X5)> {
737 StorageType* invoker = static_cast<StorageType*>(base);
743 template <typename StorageType, typename NormalizedSig>
747 template <typename StorageType, typename R,typename X1, typename X2,
749 struct Invoker3<StorageType, R(*)(X1, X2, X3)> {
751 StorageType* invoker = static_cast<StorageType*>(base);
758 template <typename StorageType, typename R, typename T, typename X1,
760 struct Invoker3<StorageType, R(T::*)(X1, X2)> {
762 StorageType* invoker = static_cast<StorageType*>(base);
769 template <typename StorageType, typename R,typename X1, typename X2,
771 struct Invoker3<StorageType, R(*)(X1, X2, X3, X4)> {
774 StorageType* invoker = static_cast<StorageType*>(base);
781 template <typename StorageType, typename R, typename T, typename X1,
783 struct Invoker3<StorageType, R(T::*)(X1, X2, X3)> {
786 StorageType* invoker = static_cast<StorageType*>(base);
793 template <typename StorageType, typename R,typename X1, typename X2,
795 struct Invoker3<StorageType, R(*)(X1, X2, X3, X4, X5)> {
799 StorageType* invoker = static_cast<StorageType*>(base);
806 template <typename StorageType, typename R, typename T, typename X1,
808 struct Invoker3<StorageType, R(T::*)(X1, X2, X3, X4)> {
812 StorageType* invoker = static_cast<StorageType*>(base);
819 template <typename StorageType, typename R,typename X1, typename X2,
821 struct Invoker3<StorageType, R(*)(X1, X2, X3, X4, X5, X6)> {
826 StorageType* invoker = static_cast<StorageType*>(base);
833 template <typename StorageType, typename R, typename T, typename X1,
835 struct Invoker3<StorageType, R(T::*)(X1, X2, X3, X4, X5)> {
840 StorageType* invoker = static_cast<StorageType*>(base);
846 template <typename StorageType, typename NormalizedSig>
850 template <typename StorageType, typename R,typename X1, typename X2,
852 struct Invoker4<StorageType, R(*)(X1, X2, X3, X4)> {
854 StorageType* invoker = static_cast<StorageType*>(base);
861 template <typename StorageType, typename R, typename T, typename X1,
863 struct Invoker4<StorageType, R(T::*)(X1, X2, X3)> {
865 StorageType* invoker = static_cast<StorageType*>(base);
872 template <typename StorageType, typename R,typename X1, typename X2,
874 struct Invoker4<StorageType, R(*)(X1, X2, X3, X4, X5)> {
877 StorageType* invoker = static_cast<StorageType*>(base);
884 template <typename StorageType, typename R, typename T, typename X1,
886 struct Invoker4<StorageType, R(T::*)(X1, X2, X3, X4)> {
889 StorageType* invoker = static_cast<StorageType*>(base);
896 template <typename StorageType, typename R,typename X1, typename X2,
898 struct Invoker4<StorageType, R(*)(X1, X2, X3, X4, X5, X6)> {
902 StorageType* invoker = static_cast<StorageType*>(base);
909 template <typename StorageType, typename R, typename T, typename X1,
911 struct Invoker4<StorageType, R(T::*)(X1, X2, X3, X4, X5)> {
915 StorageType* invoker = static_cast<StorageType*>(base);
921 template <typename StorageType, typename NormalizedSig>
925 template <typename StorageType, typename R,typename X1, typename X2,
927 struct Invoker5<StorageType, R(*)(X1, X2, X3, X4, X5)> {
929 StorageType* invoker = static_cast<StorageType*>(base);
936 template <typename StorageType, typename R, typename T, typename X1,
938 struct Invoker5<StorageType, R(T::*)(X1, X2, X3, X4)> {
940 StorageType* invoker = static_cast<StorageType*>(base);
947 template <typename StorageType
949 struct Invoker5<StorageType, R(*)(X1, X2, X3, X4, X5, X6)> {
952 StorageType* invoker = static_cast<StorageType*>(base);
959 template <typename StorageType, typename R, typename T, typename X1,
961 struct Invoker5<StorageType, R(T::*)(X1, X2, X3, X4, X5)> {
964 StorageType* invoker = static_cast<StorageType*>(base);
970 template <typename StorageType, typename NormalizedSig>
974 template <typename StorageType, typename R,typename X1, typename X2,
976 struct Invoker6<StorageType, R(*)(X1, X2, X3, X4, X5, X6)> {
978 StorageType* invoker = static_cast<StorageType*>(base);
986 template <typename StorageType, typename R, typename T, typename X1,
988 struct Invoker6<StorageType, R(T::*)(X1, X2, X3, X4, X5)> {
990 StorageType* invoker = static_cast<StorageType*>(base);
1015 typedef InvokerStorage0 StorageType;
1017 typedef Invoker0<StorageType, typename TargetTraits::NormalizedSig> Invoker;
1034 typedef InvokerStorage1 StorageType;
1036 typedef Invoker1<StorageType, typename TargetTraits::NormalizedSig> Invoker;
1059 : f_(f), p1_(static_cast<typename ParamTraits<P1>::StorageType>(p1)) {
1068 typename ParamTraits<P1>::StorageType p1_;
1074 typedef InvokerStorage2 StorageType;
1076 typedef Invoker2<StorageType, typename TargetTraits::NormalizedSig> Invoker;
1102 : f_(f), p1_(static_cast<typename ParamTraits<P1>::StorageType>(p1)),
1103 p2_(static_cast<typename ParamTraits<P2>::StorageType>(p2)) {
1112 typename ParamTraits<P1>::StorageType p1_;
1113 typename ParamTraits<P2>::StorageType p2_;
1119 typedef InvokerStorage3 StorageType;
1121 typedef Invoker3<StorageType, typename TargetTraits::NormalizedSig> Invoker;
1150 : f_(f), p1_(static_cast<typename ParamTraits<P1>::StorageType>(p1)),
1151 p2_(static_cast<typename ParamTraits<P2>::StorageType>(p2)),
1152 p3_(static_cast<typename ParamTraits<P3>::StorageType>(p3)) {
1161 typename ParamTraits<P1>::StorageType p1_;
1162 typename ParamTraits<P2>::StorageType p2_;
1163 typename ParamTraits<P3>::StorageType p3_;
1169 typedef InvokerStorage4 StorageType;
1171 typedef Invoker4<StorageType, typename TargetTraits::NormalizedSig> Invoker;
1203 : f_(f), p1_(static_cast<typename ParamTraits<P1>::StorageType>(p1)),
1204 p2_(static_cast<typename ParamTraits<P2>::StorageType>(p2)),
1205 p3_(static_cast<typename ParamTraits<P3>::StorageType>(p3)),
1206 p4_(static_cast<typename ParamTraits<P4>::StorageType>(p4)) {
1215 typename ParamTraits<P1>::StorageType p1_;
1216 typename ParamTraits<P2>::StorageType p2_;
1217 typename ParamTraits<P3>::StorageType p3_;
1218 typename ParamTraits<P4>::StorageType p4_;
1225 typedef InvokerStorage5 StorageType;
1227 typedef Invoker5<StorageType, typename TargetTraits::NormalizedSig> Invoker;
1263 : f_(f), p1_(static_cast<typename ParamTraits<P1>::StorageType>(p1)),
1264 p2_(static_cast<typename ParamTraits<P2>::StorageType>(p2)),
1265 p3_(static_cast<typename ParamTraits<P3>::StorageType>(p3)),
1266 p4_(static_cast<typename ParamTraits<P4>::StorageType>(p4)),
1267 p5_(static_cast<typename ParamTraits<P5>::StorageType>(p5)) {
1276 typename ParamTraits<P1>::StorageType p1_;
1277 typename ParamTraits<P2>::StorageType p2_;
1278 typename ParamTraits<P3>::StorageType p3_;
1279 typename ParamTraits<P4>::StorageType p4_;
1280 typename ParamTraits<P5>::StorageType p5_;
1287 typedef InvokerStorage6 StorageType;
1289 typedef Invoker6<StorageType, typename TargetTraits::NormalizedSig> Invoker;
1328 : f_(f), p1_(static_cast<typename ParamTraits<P1>::StorageType>(p1)),
1329 p2_(static_cast<typename ParamTraits<P2>::StorageType>(p2)),
1330 p3_(static_cast<typename ParamTraits<P3>::StorageType>(p3)),
1331 p4_(static_cast<typename ParamTraits<P4>::StorageType>(p4)),
1332 p5_(static_cast<typename ParamTraits<P5>::StorageType>(p5)),
1333 p6_(static_cast<typename ParamTraits<P6>::StorageType>(p6)) {
1342 typename ParamTraits<P1>::StorageType p1_;
1343 typename ParamTraits<P2>::StorageType p2_;
1344 typename ParamTraits<P3>::StorageType p3_;
1345 typename ParamTraits<P4>::StorageType p4_;
1346 typename ParamTraits<P5>::StorageType p5_;
1347 typename ParamTraits<P6>::StorageType p6_;