Lines Matching refs:GetRefCount
68 ULONG GetRefCount() const in GetRefCount() function in COMObject
87 return (p->GetRefCount() == expectedRefCountOnReturn); in comObjectSink()
118 …("Wrong reference count 1 is expected", reinterpret_cast<COMObject*>(r.get())->GetRefCount() == 1); in test_ctor_manual_AddRef()
124 …("Wrong reference count 1 is expected", reinterpret_cast<COMObject*>(r.get())->GetRefCount() == 1); in test_copy_ctor()
134 …("Wrong reference count 1 is expected", reinterpret_cast<COMObject*>(r.get())->GetRefCount() == 1); in test_copy_assignment()
141 …"Wrong reference count 2 is expected", reinterpret_cast<COMObject*>(r2.get())->GetRefCount() == 2); in test_ref_to_ref_assignment()
148 …("Wrong reference count 1 is expected", reinterpret_cast<COMObject*>(r.get())->GetRefCount() == 1); in test_pointer_to_ref_assignment()
155 …("Wrong reference count 1 is expected", reinterpret_cast<COMObject*>(r.get())->GetRefCount() == 1); in test_pointer_to_ref_assignment2()
167 …"Wrong reference count, 1 is expected", reinterpret_cast<COMObject*>(r.get())->GetRefCount() == 1); in test_address_operator()
174 …"Wrong reference count 2 is expected", reinterpret_cast<COMObject*>(r2.get())->GetRefCount() == 2); in test_address_operator2()
176 …"Wrong reference count 1 is expected", reinterpret_cast<COMObject*>(r1.get())->GetRefCount() == 1); in test_address_operator2()
177 …"Wrong reference count 1 is expected", reinterpret_cast<COMObject*>(r2.get())->GetRefCount() == 1); in test_address_operator2()
183 …("Wrong reference count 1 is expected", reinterpret_cast<COMObject*>(r.get())->GetRefCount() == 1); in test_clear()
194 …Wrong reference count, 2 is expected", reinterpret_cast<COMObject*>(r2.get())->GetRefCount() == 2); in test_query_interface()