Home
last modified time | relevance | path

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

/external/pdfium/core/fxcrt/
Dcfx_weak_ptr.h31 bool HasOneRef() const { return m_pHandle && m_pHandle->HasOneRef(); } in HasOneRef() function
74 bool HasOneRef() const { return m_nCount == 1; } in HasOneRef() function
Dcfx_shared_copy_on_write.h42 if (!m_pObject->HasOneRef()) in GetPrivateCopy()
65 bool HasOneRef() const { return m_RefCount == 1; } in HasOneRef() function
Dcfx_retain_ptr_unittest.cpp248 EXPECT_TRUE(ptr->HasOneRef()); in TEST()
251 EXPECT_FALSE(ptr->HasOneRef()); in TEST()
253 EXPECT_TRUE(ptr->HasOneRef()); in TEST()
Dcfx_retain_ptr.h77 bool HasOneRef() const { return m_nRefCount == 1; } in HasOneRef() function
/external/webrtc/webrtc/modules/desktop_capture/
Dshared_desktop_frame.cc24 bool HasOneRef() { return ref_count_.Value() == 1; } in HasOneRef() function in webrtc::SharedDesktopFrame::Core
69 return !core_->HasOneRef(); in IsShared()
/external/libchrome/base/
Dcancelable_callback_unittest.cc106 EXPECT_TRUE(ref_counted->HasOneRef()); in TEST()
111 EXPECT_FALSE(ref_counted->HasOneRef()); in TEST()
117 EXPECT_TRUE(ref_counted->HasOneRef()); in TEST()
/external/webrtc/webrtc/common_video/
Di420_buffer_pool.cc35 RTC_DCHECK(HasOneRef()); in MutableData()
82 if (buffer->HasOneRef()) in CreateBuffer()
Di420_buffer_pool_unittest.cc58 EXPECT_TRUE(buffer->HasOneRef()); in TEST()
67 EXPECT_TRUE(buffer->HasOneRef()); in TEST()
Dvideo_frame_buffer.cc79 RTC_DCHECK(HasOneRef()); in MutableData()
Dvideo_frame.cc78 if (video_frame_buffer_ && video_frame_buffer_->HasOneRef() && in CreateEmptyFrame()
/external/webrtc/webrtc/modules/video_coding/codecs/vp9/
Dvp9_frame_buffer_pool.cc62 if (buffer->HasOneRef()) { in GetFrameBuffer()
89 if (!buffer->HasOneRef()) in GetNumBuffersInUse()
Dvp9_frame_buffer_pool.h62 virtual bool HasOneRef() const = 0;
/external/libchrome/base/memory/
Dref_counted.cc12 bool RefCountedThreadSafeBase::HasOneRef() const { in HasOneRef() function in base::subtle::RefCountedThreadSafeBase
Dweak_ptr.cc20 DCHECK(sequence_checker_.CalledOnValidSequencedThread() || HasOneRef()) in Invalidate()
Dref_counted.h30 bool HasOneRef() const { return ref_count_ == 1; } in HasOneRef() function
90 bool HasOneRef() const;
Dweak_ptr.h134 return flag_.get() && !flag_->HasOneRef(); in HasRefs()
/external/libchrome/base/message_loop/
Dmessage_loop_task_runner_unittest.cc163 ASSERT_TRUE(task_recoder->HasOneRef()); in TEST_F()
164 ASSERT_TRUE(reply_recoder->HasOneRef()); in TEST_F()
/external/webrtc/webrtc/common_video/include/
Dvideo_frame_buffer.h34 virtual bool HasOneRef() const = 0;
/external/webrtc/webrtc/base/
Drefcount.h116 virtual bool HasOneRef() const { in HasOneRef() function
/external/libmojo/mojo/edk/embedder/
Dplatform_shared_buffer.cc173 DCHECK(HasOneRef()); in PassPlatformHandle()
/external/webrtc/talk/media/webrtc/
Dwebrtcvideoframe.cc139 return video_frame_buffer_->HasOneRef(); in IsExclusive()