Lines Matching refs:InvokeArgument

692 // Tests InvokeArgument<N>(...).
694 // Tests using InvokeArgument with a nullary function.
696 Action<int(int, int (*)())> a = InvokeArgument<1>(); // NOLINT
700 // Tests using InvokeArgument with a unary function.
702 Action<int(UnaryFunctor)> a = InvokeArgument<0>(true); // NOLINT
706 // Tests using InvokeArgument with a 5-ary function.
709 InvokeArgument<0>(10000, 2000, 300, 40, 5);
713 // Tests using InvokeArgument with a 5-ary functor.
716 InvokeArgument<0>(10000, 2000, 300, 40, 5);
720 // Tests using InvokeArgument with a 6-ary function.
723 InvokeArgument<0>(100000, 20000, 3000, 400, 50, 6);
727 // Tests using InvokeArgument with a 6-ary functor.
730 InvokeArgument<0>(100000, 20000, 3000, 400, 50, 6);
734 // Tests using InvokeArgument with a 7-ary function.
739 a = InvokeArgument<0>("1", "2", "3", "4", "5", "6", "7");
743 // Tests using InvokeArgument with a 8-ary function.
748 a = InvokeArgument<0>("1", "2", "3", "4", "5", "6", "7", "8");
752 // Tests using InvokeArgument with a 9-ary function.
757 a = InvokeArgument<0>("1", "2", "3", "4", "5", "6", "7", "8", "9");
761 // Tests using InvokeArgument with a 10-ary function.
766 a = InvokeArgument<0>("1", "2", "3", "4", "5", "6", "7", "8", "9", "0");
770 // Tests using InvokeArgument with a function that takes a pointer argument.
773 a = InvokeArgument<0>(static_cast<const char*>("Hi"), Short(1));
777 // Tests using InvokeArgument with a function that takes a const char*
781 a = InvokeArgument<0>("Hi", Short(1));
785 // Tests using InvokeArgument with a function that takes a const reference.
788 InvokeArgument<0>(std::string("Hi"));
795 // Tests using InvokeArgument with ByRef() and a function that takes a
799 InvokeArgument<0>(ByRef(g_double));
804 a = InvokeArgument<0>(ByRef(x)); // This calls ByRef() on a non-const.