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_F()
118 …ASSERT_TRUE(reinterpret_cast<COMObject*>(r.get())->GetRefCount() == 1) << "Wrong reference count 1… in TEST_F()
124 …ASSERT_TRUE(reinterpret_cast<COMObject*>(r.get())->GetRefCount() == 1) << "Wrong reference count 1… in TEST_F()
134 …ASSERT_TRUE(reinterpret_cast<COMObject*>(r.get())->GetRefCount() == 1) << "Wrong reference count 1… in TEST_F()
141 …ASSERT_TRUE(reinterpret_cast<COMObject*>(r2.get())->GetRefCount() == 2) << "Wrong reference count … in TEST_F()
147 r = new COMObject; in TEST_F()
148 …ASSERT_TRUE(reinterpret_cast<COMObject*>(r.get())->GetRefCount() == 1) << "Wrong reference count 1… in TEST_F()
154 r = new COMObject; in TEST_F()
155 …ASSERT_TRUE(reinterpret_cast<COMObject*>(r.get())->GetRefCount() == 1) << "Wrong reference count 1… in TEST_F()
167 …ASSERT_TRUE(reinterpret_cast<COMObject*>(r.get())->GetRefCount() == 1) << "Wrong reference count, … in TEST_F()
174 …ASSERT_TRUE(reinterpret_cast<COMObject*>(r2.get())->GetRefCount() == 2) << "Wrong reference count … in TEST_F()
176 …ASSERT_TRUE(reinterpret_cast<COMObject*>(r1.get())->GetRefCount() == 1) << "Wrong reference count … in TEST_F()
177 …ASSERT_TRUE(reinterpret_cast<COMObject*>(r2.get())->GetRefCount() == 1) << "Wrong reference count … in TEST_F()
183 …ASSERT_TRUE(reinterpret_cast<COMObject*>(r.get())->GetRefCount() == 1) << "Wrong reference count 1… in TEST_F()
194 …ASSERT_TRUE(reinterpret_cast<COMObject*>(r2.get())->GetRefCount() == 2) << "Wrong reference count,… in TEST_F()