Searched refs:CopyCounter (Results 1 – 4 of 4) sorted by relevance
61 struct CopyCounter { struct64 CopyCounter() { } in CopyCounter() argument65 CopyCounter& operator=(const CopyCounter& cc) {return *this; }66 CopyCounter(const CopyCounter& nc) {++mCount;} in CopyCounter() function89 size_t CopyCounter::mCount;
226 CopyCounter c; in testReserve()229 vector<CopyCounter> vec4(100, c); in testReserve()
97 class CopyCounter { class99 CopyCounter(int* copies, int* assigns) in CopyCounter() function in base::__anonf0de72020111::CopyCounter103 CopyCounter(const CopyCounter& other) in CopyCounter() function in base::__anonf0de72020111::CopyCounter110 CopyCounter(const DerivedCopyCounter& other) in CopyCounter() function in base::__anonf0de72020111::CopyCounter116 const CopyCounter& operator=(const CopyCounter& rhs) { in operator =()166 int GetCopies(const CopyCounter& counter) { in GetCopies()491 CopyCounter counter(&copies, &assigns); in TEST_F()508 CopyCounter counter(&copies, &assigns); in TEST_F()511 Bind(&VoidPolymorphic1<CopyCounter>, counter); in TEST_F()517 Callback<void(CopyCounter)> forward_cb = in TEST_F()[all …]
450 struct CopyCounter struct452 CopyCounter();453 CopyCounter(const CopyCounter&);458 …CopyCounter* f = new CopyCounter[10](CopyCounter()); // expected-error {{cannot have initializatio… in main()