Lines Matching refs:Action

55 using testing::Action;
235 Action<int()> a = Invoke(Nullary); // NOLINT
241 Action<bool(int)> a = Invoke(Unary); // NOLINT
248 Action<const char*(const char*, short)> a = Invoke(Binary); // NOLINT
255 Action<int(int, char, short)> a = Invoke(Ternary); // NOLINT
261 Action<int(int, int, int, int)> a = Invoke(SumOf4); // NOLINT
267 Action<int(int, int, int, int, int)> a = Invoke(SumOf5); // NOLINT
273 Action<int(int, int, int, int, int, int)> a = Invoke(SumOf6); // NOLINT
283 Action<string(const char*, const char*, const char*, const char*,
294 Action<string(const char*, const char*, const char*, const char*,
305 Action<string(const char*, const char*, const char*, const char*,
316 Action<string(const char*, const char*, const char*, const char*,
328 Action<int(int, int, double, const string&)> a1 =
334 Action<int(int, int, bool, int*)> a2 =
342 Action<int(string, bool, int, int)> a1 =
346 Action<int(char, double, int, int)> a2 =
353 Action<long(long, int)> a = Invoke(plus<long>()); // NOLINT
359 Action<long(int, short, char, bool)> a = Invoke(SumOf4); // NOLINT
368 Action<int()> a = Invoke(&foo, &Foo::Nullary); // NOLINT
375 Action<short(long)> a = Invoke(&foo, &Foo::Unary); // NOLINT
382 Action<string(const string&, char)> a = Invoke(&foo, &Foo::Binary);
391 Action<int(int, bool, char)> a = Invoke(&foo, &Foo::Ternary); // NOLINT
398 Action<int(int, int, int, int)> a = Invoke(&foo, &Foo::SumOf4); // NOLINT
405 Action<int(int, int, int, int, int)> a = Invoke(&foo, &Foo::SumOf5); // NOLINT
412 Action<int(int, int, int, int, int, int)> a = // NOLINT
420 Action<string(const char*, const char*, const char*, const char*,
432 Action<string(const char*, const char*, const char*, const char*,
444 Action<string(const char*, const char*, const char*, const char*,
456 Action<string(const char*, const char*, const char*, const char*,
469 Action<long(int, short, char, bool)> a = // NOLINT
476 Action<int(int n)> a = WithoutArgs(Invoke(Nullary)); // NOLINT
482 Action<bool(double x, int n)> b = WithArg<1>(Invoke(Unary)); // NOLINT
488 const Action<int(int)> a = ReturnArg<0>();
493 const Action<bool(bool, bool, bool)> a = ReturnArg<0>();
498 const Action<string(int, int, string, int)> a = ReturnArg<2>();
504 const Action<void(int n)> a1 = SaveArg<0>(&result);
511 const Action<void(bool, char)> a1 = SaveArg<1>(&result);
519 const Action<void(const int*)> a1 = SaveArgPointee<0>(&result);
527 const Action<void(bool, char*)> a1 = SaveArgPointee<1>(&result);
535 const Action<void(linked_ptr<int>)> a1 = SaveArgPointee<0>(&result);
542 const Action<void(int&)> a1 = SetArgReferee<0>(1);
549 const Action<void(int, int&)> a1 = SetArgReferee<1>('a');
556 const Action<void(bool, int, int&, const char*)> a1 = SetArgReferee<2>('a');
582 const Action<void(DeletionTester*)> a1 = DeleteArg<0>(); // NOLINT
591 const Action<void(bool, int, int, const char*, bool,
601 const Action<void(int n)> a = Throw('a');
608 const Action<double(char ch)> a = Throw(MyException());
613 const Action<double()> a = Throw(MyException());
624 Action<MyFunction> a = SetArrayArgument<1>(numbers, numbers + 3);
660 Action<MyFunction> a = SetArrayArgument<1>(numbers, numbers);
676 Action<MyFunction> a = SetArrayArgument<1>(chars, chars + 3);
691 Action<MyFunction> a = SetArrayArgument<1>(letters.begin(), letters.end());
700 const Action<int()> a = ReturnPointee(&n);