Lines Matching refs:PrintPointer
382 static string PrintPointer(const void *p) {
393 EXPECT_EQ(PrintPointer(p) + " pointing to \"World\"", Print(p));
399 EXPECT_EQ(PrintPointer(p) + " pointing to \"Hi\"",
412 EXPECT_EQ(PrintPointer(p) + " pointing to \"'\\\"?\\\\\\a\\b\\f"
430 EXPECT_EQ(PrintPointer(p) + " pointing to L\"World\"", Print(p));
436 EXPECT_EQ(PrintPointer(p) + " pointing to L\"Hi\"",
450 EXPECT_EQ(PrintPointer(s) + " pointing to L\"'\\\"?\\\\\\a\\b\\f"
461 EXPECT_EQ(PrintPointer(p), Print(p));
469 EXPECT_EQ(PrintPointer(p), Print(p));
477 EXPECT_EQ(PrintPointer(p), Print(p));
485 EXPECT_EQ(PrintPointer(p), Print(p));
495 EXPECT_EQ(PrintPointer(p), Print(p));
503 EXPECT_EQ(PrintPointer(p), Print(p));
511 EXPECT_EQ(PrintPointer(p), Print(p));
519 EXPECT_EQ(PrintPointer(p), Print(p));
534 PrintPointer(reinterpret_cast<const void*>(
1031 EXPECT_EQ("(false, 'a' (97, 0x61), 3, 4, 5, 1.5, -2.5, " + PrintPointer(str) +
1152 EXPECT_EQ("@" + PrintPointer(&n) + " 5", PrintByRef(n));
1158 EXPECT_EQ("@" + PrintPointer(a) + " { { 0, 1, 2 }, { 3, 4, 5 } }",
1162 EXPECT_EQ("@" + PrintPointer(&x) + " 16-byte object "
1172 PrintPointer(reinterpret_cast<const void*>(&fp));
1177 const string fp_string = PrintPointer(reinterpret_cast<const void*>(
1189 "@" + PrintPointer(reinterpret_cast<const void*>(&p)) + " " +
1195 "@" + PrintPointer(reinterpret_cast<const void*>(&p2)) + " " +
1205 "@" + PrintPointer(&p) + " " + Print(sizeof(p)) + "-byte object "));
1221 EXPECT_EQ(PrintPointer(&n),
1230 EXPECT_EQ(PrintPointer(n),
1247 EXPECT_EQ(PrintPointer(s),
1252 EXPECT_EQ(PrintPointer(&ch),
1265 EXPECT_EQ(PrintPointer(s),
1270 EXPECT_EQ(PrintPointer(&ch),
1343 EXPECT_EQ(PrintPointer(str),
1350 EXPECT_EQ(PrintPointer(str),
1358 EXPECT_EQ(PrintPointer(str),
1365 EXPECT_EQ(PrintPointer(str),
1509 EXPECT_EQ(PrintPointer(s1) + " pointing to \"abc\"", string(ss1.str()));
1514 EXPECT_EQ(PrintPointer(s2) + " pointing to \"abc\"", string(ss2.str()));