Lines Matching refs:CopyCounter
195 class CopyCounter {
197 CopyCounter(int* copies, int* assigns)
199 CopyCounter(const CopyCounter& other) : counter_(other.counter_) {}
200 CopyCounter& operator=(const CopyCounter& other) {
205 explicit CopyCounter(const DerivedCopyMoveCounter& other) : counter_(other) {}
902 CopyCounter counter(&copies, &assigns);
903 Bind(&VoidPolymorphic<CopyCounter>::Run, counter);
909 Bind(&VoidPolymorphic<CopyCounter>::Run, CopyCounter(&copies, &assigns));
915 Bind(&VoidPolymorphic<CopyCounter>::Run).Run(counter);
921 Bind(&VoidPolymorphic<CopyCounter>::Run).Run(CopyCounter(&copies, &assigns));
928 Bind(&VoidPolymorphic<CopyCounter>::Run).Run(CopyCounter(derived));
934 Bind(&VoidPolymorphic<CopyCounter>::Run)
935 .Run(CopyCounter(