Lines Matching +defs:foo +defs:c

102 int SumOf4(int a, int b, int c, int d) { return a + b + c + d; }
106 int SumOf5(int a, int b, int c, int d, int e) { return a + b + c + d + e; }
109 int operator()(int a, int b, int c, int d, int e) {
110 return a + b + c + d + e;
114 int SumOf6(int a, int b, int c, int d, int e, int f) {
115 return a + b + c + d + e + f;
119 int operator()(int a, int b, int c, int d, int e, int f) {
120 return a + b + c + d + e + f;
157 std::string Binary(const std::string& str, char c) const { return str + c; }
161 int SumOf4(int a, int b, int c, int d) const {
162 return a + b + c + d + value_;
167 int SumOf5(int a, int b, int c, int d, int e) { return a + b + c + d + e; }
169 int SumOf6(int a, int b, int c, int d, int e, int f) {
170 return a + b + c + d + e + f;
312 Foo foo;
313 Action<int(std::string, bool, int, int)> a1 = Invoke(&foo, &Foo::SumOfLast2);
316 Action<int(char, double, int, int)> a2 = Invoke(&foo, &Foo::SumOfLast2);
336 Foo foo;
337 Action<int()> a = Invoke(&foo, &Foo::Nullary); // NOLINT
343 Foo foo;
344 Action<short(long)> a = Invoke(&foo, &Foo::Unary); // NOLINT
350 Foo foo;
351 Action<std::string(const std::string&, char)> a = Invoke(&foo, &Foo::Binary);
359 Foo foo;
360 Action<int(int, bool, char)> a = Invoke(&foo, &Foo::Ternary); // NOLINT
366 Foo foo;
367 Action<int(int, int, int, int)> a = Invoke(&foo, &Foo::SumOf4); // NOLINT
373 Foo foo;
375 Invoke(&foo, &Foo::SumOf5); // NOLINT
381 Foo foo;
383 Invoke(&foo, &Foo::SumOf6);
390 Foo foo;
393 a = Invoke(&foo, &Foo::Concat7);
402 Foo foo;
405 a = Invoke(&foo, &Foo::Concat8);
414 Foo foo;
418 a = Invoke(&foo, &Foo::Concat9);
427 Foo foo;
431 a = Invoke(&foo, &Foo::Concat10);
441 Foo foo;
443 Invoke(&foo, &Foo::SumOf4);
648 EXPECT_EQ('c', ch[2]);
896 char a = '\0', b = '\0', c = '\0';
899 SetArgPointee<3>('b'), SetArgPointee<4>('c'), Return(3));
900 EXPECT_EQ(3, action.Perform(std::make_tuple(&m, &n, &a, &b, &c)));
905 EXPECT_EQ('c', c);
911 char a = '\0', b = '\0', c = '\0', d = '\0';
914 SetArgPointee<3>('b'), SetArgPointee<4>('c'), SetArgPointee<5>('d'),
916 EXPECT_EQ(3, action.Perform(std::make_tuple(&m, &n, &a, &b, &c, &d)));
921 EXPECT_EQ('c', c);
928 char a = '\0', b = '\0', c = '\0', d = '\0', e = '\0';
933 SetArgPointee<3>('b'), SetArgPointee<4>('c'),
935 EXPECT_EQ(3, action.Perform(std::make_tuple(&m, &n, &a, &b, &c, &d, &e)));
940 EXPECT_EQ('c', c);
948 char a = '\0', b = '\0', c = '\0', d = '\0', e = '\0', f = '\0';
953 SetArgPointee<4>('c'), SetArgPointee<5>('d'),
955 EXPECT_EQ(3, action.Perform(std::make_tuple(&m, &n, &a, &b, &c, &d, &e, &f)));
960 EXPECT_EQ('c', c);
969 char a = '\0', b = '\0', c = '\0', d = '\0';
975 SetArgPointee<3>('b'), SetArgPointee<4>('c'),
979 3, action.Perform(std::make_tuple(&m, &n, &a, &b, &c, &d, &e, &f, &g)));
984 EXPECT_EQ('c', c);
1307 PadArgument(std::string("foo"), 'r');
1309 PadArgument("foo", static_cast<int>('r'));
1319 ACTION_P3(ConcatImpl, a, b, c) {
1321 ss << a << b << c;
1335 T2 c) {
1341 return ConcatImpl(a, b, c);
1346 return ConcatImpl<std::string, T1, T2>(a, b, c);
1353 ConcatImplActionP3<T1, int, T2> Concat(T1 a, int b, T2 c) {
1354 return ConcatImpl(a, b, c);