Lines Matching refs:COMObject

32 class COMObject : public IUnknown  class
35 COMObject() : ref_count_(0) in COMObject() function in COMObject
39 ~COMObject() in ~COMObject()
79 return sal::systools::COMReference<IUnknown>(new COMObject); in comObjectSource()
85 COMObject* p = reinterpret_cast<COMObject*>(r.get()); in comObjectSink()
94 COMObject* p = new COMObject; in comObjectSource2()
115 COMObject* p = new COMObject; in test_ctor_manual_AddRef()
118 …_ASSERT_MESSAGE("Wrong reference count 1 is expected", reinterpret_cast<COMObject*>(r.get())->GetR… in test_ctor_manual_AddRef()
124 …_ASSERT_MESSAGE("Wrong reference count 1 is expected", reinterpret_cast<COMObject*>(r.get())->GetR… in test_copy_ctor()
134 …_ASSERT_MESSAGE("Wrong reference count 1 is expected", reinterpret_cast<COMObject*>(r.get())->GetR… in test_copy_assignment()
141 …_ASSERT_MESSAGE("Wrong reference count 2 is expected", reinterpret_cast<COMObject*>(r2.get())->Get… in test_ref_to_ref_assignment()
147 r = new COMObject; in test_pointer_to_ref_assignment()
148 …_ASSERT_MESSAGE("Wrong reference count 1 is expected", reinterpret_cast<COMObject*>(r.get())->GetR… in test_pointer_to_ref_assignment()
154 r = new COMObject; in test_pointer_to_ref_assignment2()
155 …_ASSERT_MESSAGE("Wrong reference count 1 is expected", reinterpret_cast<COMObject*>(r.get())->GetR… in test_pointer_to_ref_assignment2()
167 …ASSERT_MESSAGE("Wrong reference count, 1 is expected", reinterpret_cast<COMObject*>(r.get())->GetR… in test_address_operator()
174 …_ASSERT_MESSAGE("Wrong reference count 2 is expected", reinterpret_cast<COMObject*>(r2.get())->Get… in test_address_operator2()
176 …_ASSERT_MESSAGE("Wrong reference count 1 is expected", reinterpret_cast<COMObject*>(r1.get())->Get… in test_address_operator2()
177 …_ASSERT_MESSAGE("Wrong reference count 1 is expected", reinterpret_cast<COMObject*>(r2.get())->Get… in test_address_operator2()
183 …_ASSERT_MESSAGE("Wrong reference count 1 is expected", reinterpret_cast<COMObject*>(r.get())->GetR… in test_clear()
194 …ASSERT_MESSAGE("Wrong reference count, 2 is expected", reinterpret_cast<COMObject*>(r2.get())->Get… in test_query_interface()