Lines Matching defs:function

48 // function or method with the unpacked values, where F is a function
57 static R Invoke(Function function, const ::testing::tuple<>&) {
58 return function();
73 static R Invoke(Function function, const ::testing::tuple<A1>& args) {
74 return function(get<0>(args));
89 static R Invoke(Function function, const ::testing::tuple<A1, A2>& args) {
90 return function(get<0>(args), get<1>(args));
105 static R Invoke(Function function, const ::testing::tuple<A1, A2, A3>& args) {
106 return function(get<0>(args), get<1>(args), get<2>(args));
122 static R Invoke(Function function, const ::testing::tuple<A1, A2, A3,
124 return function(get<0>(args), get<1>(args), get<2>(args),
142 static R Invoke(Function function, const ::testing::tuple<A1, A2, A3, A4,
144 return function(get<0>(args), get<1>(args), get<2>(args),
162 static R Invoke(Function function, const ::testing::tuple<A1, A2, A3, A4, A5,
164 return function(get<0>(args), get<1>(args), get<2>(args),
182 static R Invoke(Function function, const ::testing::tuple<A1, A2, A3, A4, A5,
184 return function(get<0>(args), get<1>(args), get<2>(args),
204 static R Invoke(Function function, const ::testing::tuple<A1, A2, A3, A4, A5,
206 return function(get<0>(args), get<1>(args), get<2>(args),
227 static R Invoke(Function function, const ::testing::tuple<A1, A2, A3, A4, A5,
229 return function(get<0>(args), get<1>(args), get<2>(args),
252 static R Invoke(Function function, const ::testing::tuple<A1, A2, A3, A4, A5,
254 return function(get<0>(args), get<1>(args), get<2>(args),
276 // type of an n-ary function whose i-th (1-based) argument type is the
495 // defines an action that can be used in a mock function. Typically,
497 // function. For example, if such an action only uses the second
498 // argument, it can be used in any mock function that takes >= 2
619 // the selected arguments of the mock function to an_action and
622 // function templates, so we have to overload it.
792 // refer to the K-th (0-based) argument of the mock function by
805 // 'args' and 'args_type', and refer to the mock function type and its
808 // Note that you don't need to specify the types of the mock function
812 // mock function's return type, for example.
861 // they give you more control on the types of the mock function
870 // that C++ doesn't yet allow function-local types to be used to
873 // a function.
914 // // function to type T and copies it to *output.
2098 // function, with arguments a1, a2, ..., a_k.
2114 // argument of the mock function takes a const string&, the action