Home
last modified time | relevance | path

Searched refs:CopyCounter (Results 1 – 2 of 2) sorted by relevance

/external/clang/test/SemaCXX/
Dnew-delete.cpp457 struct CopyCounter struct
459 CopyCounter();
460 CopyCounter(const CopyCounter&);
465CopyCounter* f = new CopyCounter[10](CopyCounter()); // expected-error {{cannot have initializatio… in main()
/external/chromium_org/base/
Dbind_unittest.cc96 class CopyCounter { class
98 CopyCounter(int* copies, int* assigns) in CopyCounter() function in base::__anon6261a9490111::CopyCounter
102 CopyCounter(const CopyCounter& other) in CopyCounter() function in base::__anon6261a9490111::CopyCounter
109 explicit CopyCounter(const DerivedCopyCounter& other) in CopyCounter() function in base::__anon6261a9490111::CopyCounter
115 const CopyCounter& operator=(const CopyCounter& rhs) { in operator =()
182 int GetCopies(const CopyCounter& counter) { in GetCopies()
658 CopyCounter counter(&copies, &assigns); in TEST_F()
764 CopyCounter counter(&copies, &assigns); in TEST_F()
767 Bind(&VoidPolymorphic1<CopyCounter>, counter); in TEST_F()
773 Callback<void(CopyCounter)> forward_cb = in TEST_F()
[all …]