Lines Matching full:charptr
165 inline const char* CharPtr(const char* s) { return s; }
296 EXPECT_EQ(s + 2, a.Perform(make_tuple(CharPtr(s), 0.5, Short(2))));
310 EXPECT_EQ("4310", a.Perform(make_tuple(CharPtr("0"), CharPtr("1"), 2.5,
311 CharPtr("3"), CharPtr("4"))));
320 a.Perform(make_tuple(CharPtr("0"), CharPtr("1"), CharPtr("2"),
321 CharPtr("3"), CharPtr("4"))));
329 a.Perform(make_tuple(CharPtr("0"), CharPtr("1"), CharPtr("2"))));
337 a.Perform(make_tuple(CharPtr("0"), CharPtr("1"), CharPtr("2"),
338 CharPtr("3"))));
346 a.Perform(make_tuple(CharPtr("0"), CharPtr("1"), CharPtr("2"),
347 CharPtr("3"))));
355 a.Perform(make_tuple(CharPtr("0"), CharPtr("1"), CharPtr("2"),
356 CharPtr("3"))));
364 a.Perform(make_tuple(CharPtr("0"), CharPtr("1"), CharPtr("2"),
365 CharPtr("3"))));
379 EXPECT_EQ(8, a.Perform(make_tuple(CharPtr("hi"), 2, 10)));
401 EXPECT_EQ(s + 2, a.Perform(make_tuple(Short(2), CharPtr(s))));
776 EXPECT_STREQ("hello", a1.Perform(make_tuple(false, CharPtr("world"))));
777 EXPECT_STREQ("world", a1.Perform(make_tuple(true, CharPtr("world"))));
780 EXPECT_STREQ("hi", a2.Perform(make_tuple(false, CharPtr("world"))));
781 EXPECT_STREQ("world", a2.Perform(make_tuple(true, CharPtr("world"))));
784 EXPECT_STREQ("hi", a3.Perform(make_tuple(true, CharPtr("world"))));
785 EXPECT_STREQ("you", a3.Perform(make_tuple(false, CharPtr("world"))));
877 EXPECT_EQ("foobar", no_promo.Perform(make_tuple(CharPtr("ba"))));
878 EXPECT_EQ("foobar", promo.Perform(make_tuple(CharPtr("ba"))));