Home
last modified time | relevance | path

Searched refs:HasOneRef (Results 1 – 24 of 24) sorted by relevance

/external/webrtc/rtc_base/
Dref_counted_object_unittest.cc68 TEST(RefCountedObject, HasOneRef) { in TEST() argument
71 EXPECT_TRUE(aref->HasOneRef()); in TEST()
73 EXPECT_FALSE(aref->HasOneRef()); in TEST()
75 EXPECT_TRUE(aref->HasOneRef()); in TEST()
Dref_counted_object.h52 virtual bool HasOneRef() const { return ref_count_.HasOneRef(); } in HasOneRef() function
Dcopy_on_write_buffer.cc105 if (buffer_->HasOneRef()) { in Clear()
116 if (buffer_->HasOneRef() && new_capacity <= capacity()) { in UnshareAndEnsureCapacity()
Dref_counter.h60 bool HasOneRef() const { in HasOneRef() function
Dweak_ptr.h132 bool HasRefs() const { return flag_.get() && !flag_->HasOneRef(); } in HasRefs()
Dcopy_on_write_buffer.h168 } else if (!buffer_->HasOneRef()) { in SetData()
/external/webrtc/modules/video_coding/codecs/vp9/
Dvp9_frame_buffer_pool.cc64 if (buffer->HasOneRef()) { in GetFrameBuffer()
96 if (!buffer->HasOneRef()) in GetNumBuffersInUse()
110 if (!buffer->HasOneRef()) { in Resize()
122 if ((*iter)->HasOneRef()) { in Resize()
Dvp9_frame_buffer_pool.h74 virtual bool HasOneRef() const = 0;
/external/webrtc/common_video/
Di420_buffer_pool.cc40 if (!buffer->HasOneRef()) { in Resize()
52 if ((*iter)->HasOneRef()) { in Resize()
91 if (buffer->HasOneRef()) in CreateBuffer()
/external/pdfium/core/fxcrt/
Dweak_ptr.h33 bool HasOneRef() const { return m_pHandle && m_pHandle->HasOneRef(); } in HasOneRef() function
76 bool HasOneRef() const { return m_nCount == 1; } in HasOneRef() function
Dretain_ptr_unittest.cpp281 EXPECT_TRUE(ptr->HasOneRef()); in TEST()
284 EXPECT_FALSE(ptr->HasOneRef()); in TEST()
286 EXPECT_TRUE(ptr->HasOneRef()); in TEST()
Dshared_copy_on_write.h47 if (!m_pObject->HasOneRef()) in GetPrivateCopy()
Dretain_ptr.h109 bool HasOneRef() const { return m_nRefCount == 1; } in HasOneRef() function
/external/libchrome/base/
Dcancelable_callback_unittest.cc108 EXPECT_TRUE(ref_counted->HasOneRef()); in TEST()
113 EXPECT_FALSE(ref_counted->HasOneRef()); in TEST()
119 EXPECT_TRUE(ref_counted->HasOneRef()); in TEST()
/external/libchrome/base/memory/
Dref_counted_unittest.cc580 EXPECT_TRUE(derived->HasOneRef()); in TEST()
584 EXPECT_TRUE(derived2->HasOneRef()); in TEST()
591 EXPECT_TRUE(obj->HasOneRef()); in TEST()
596 EXPECT_TRUE(obj2->HasOneRef()); in TEST()
600 EXPECT_TRUE(obj3->HasOneRef()); in TEST()
Dref_counted.cc20 bool RefCountedThreadSafeBase::HasOneRef() const { in HasOneRef() function in base::subtle::RefCountedThreadSafeBase
Dref_counted.h27 bool HasOneRef() const { return ref_count_ == 1; } in HasOneRef() function
148 bool HasOneRef() const;
Dweak_ptr.cc20 DCHECK(sequence_checker_.CalledOnValidSequence() || HasOneRef()) in Invalidate()
Dweak_ptr.h133 bool HasRefs() const { return flag_ && !flag_->HasOneRef(); } in HasRefs()
Dscoped_refptr.h68 DCHECK(obj->HasOneRef()); in AdoptRef()
/external/webrtc/modules/desktop_capture/
Dshared_desktop_frame.cc47 return !core_->HasOneRef(); in IsShared()
/external/libchrome/base/message_loop/
Dmessage_loop_task_runner_unittest.cc162 ASSERT_TRUE(task_recorder->HasOneRef()); in TEST_F()
163 ASSERT_TRUE(reply_recorder->HasOneRef()); in TEST_F()
/external/pdfium/core/fpdfapi/page/
Dcpdf_docpagedata.cpp374 if (it != m_ImageMap.end() && it->second->HasOneRef()) in MaybePurgeImage()
435 if (it != m_FontFileMap.end() && it->second->HasOneRef()) in MaybePurgeFontFileStreamAcc()
/external/webrtc/media/engine/
Dwebrtc_voice_engine_unittest.cc3668 EXPECT_TRUE(adm->HasOneRef()); in TEST()