Searched refs:CopyLogger (Results 1 – 2 of 2) sorted by relevance
/external/libchrome/base/ |
D | tuple_unittest.cc | 84 struct CopyLogger { struct 85 CopyLogger() { ++TimesConstructed; } in CopyLogger() function 86 CopyLogger(const CopyLogger& tocopy) { ++TimesConstructed; ++TimesCopied; } in CopyLogger() argument 87 ~CopyLogger() { } in ~CopyLogger() argument 93 void SomeLoggerMethRef(const CopyLogger& logy, const CopyLogger* ptr, bool* b) { in SomeLoggerMethRef() 97 void SomeLoggerMethCopy(CopyLogger logy, const CopyLogger* ptr, bool* b) { in SomeLoggerMethCopy() 101 int CopyLogger::TimesCopied = 0; 102 int CopyLogger::TimesConstructed = 0; 107 CopyLogger logger; in TEST() 108 EXPECT_EQ(0, CopyLogger::TimesCopied); in TEST() [all …]
|
/external/libweave/third_party/chromium/base/ |
D | tuple_unittest.cc | 85 struct CopyLogger { struct 86 CopyLogger() { ++TimesConstructed; } in CopyLogger() function 87 CopyLogger(const CopyLogger& tocopy) { ++TimesConstructed; ++TimesCopied; } in CopyLogger() argument 88 ~CopyLogger() { } in ~CopyLogger() argument 94 void SomeLoggerMethRef(const CopyLogger& logy, const CopyLogger* ptr, bool* b) { in SomeLoggerMethRef() 98 void SomeLoggerMethCopy(CopyLogger logy, const CopyLogger* ptr, bool* b) { in SomeLoggerMethCopy() 102 int CopyLogger::TimesCopied = 0; 103 int CopyLogger::TimesConstructed = 0; 108 CopyLogger logger; in TEST() 109 EXPECT_EQ(0, CopyLogger::TimesCopied); in TEST() [all …]
|