Home | History | Annotate | Download | only in test

Lines Matching defs:Short

72 inline short Short(short n) { return n; }  // NOLINT
108 const char* Binary(const char* input, short n) { return input + n; } // NOLINT
112 int Ternary(int x, char y, short z) { return x + y + z; } // NOLINT
186 short Unary(long x) { return static_cast<short>(value_ + x); } // NOLINT
247 Action<const char*(const char*, short)> a = Invoke(Binary); // NOLINT
249 EXPECT_EQ(p + 2, a.Perform(make_tuple(p, Short(2))));
254 Action<int(int, char, short)> a = Invoke(Ternary); // NOLINT
255 EXPECT_EQ(6, a.Perform(make_tuple(1, '\2', Short(3))));
356 Action<long(int, short, char, bool)> a = Invoke(SumOf4); // NOLINT
357 EXPECT_EQ(4321, a.Perform(make_tuple(4000, Short(300), Char(20), true)));
372 Action<short(long)> a = Invoke(&foo, &Foo::Unary); // NOLINT
465 Action<long(int, short, char, bool)> a = // NOLINT
467 EXPECT_EQ(4444, a.Perform(make_tuple(4000, Short(300), Char(20), true)));