Home
last modified time | relevance | path

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

/external/pdfium/core/fpdfapi/render/
Dcpdf_docrenderdata.cpp35 if (bRelease || curr_it->second->HasOneRef()) { in Clear()
42 if (bRelease || curr_it->second->HasOneRef()) in Clear()
60 if (it != m_Type3FaceMap.end() && it->second->HasOneRef()) in MaybePurgeCachedType3()
129 if (it != m_TransferFuncMap.end() && it->second->HasOneRef()) in MaybePurgeTransferFunc()
/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.cpp272 EXPECT_TRUE(ptr->HasOneRef()); in TEST()
275 EXPECT_FALSE(ptr->HasOneRef()); in TEST()
277 EXPECT_TRUE(ptr->HasOneRef()); in TEST()
Dshared_copy_on_write.h44 if (!m_pObject->HasOneRef()) in GetPrivateCopy()
Dretain_ptr.h89 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/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/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/pdfium/core/fpdfapi/page/
Dcpdf_docpagedata.cpp100 if (bForceRelease || curr_it->second->HasOneRef()) { in Clear()
114 if (bForceRelease || curr_it->second->HasOneRef()) in Clear()
407 if (it != m_ImageMap.end() && it->second->HasOneRef()) in MaybePurgeImage()
443 if (it != m_IccProfileMap.end() && it->second->HasOneRef()) in MaybePurgeIccProfile()
472 if (it != m_FontFileMap.end() && it->second->HasOneRef()) in MaybePurgeFontFileStreamAcc()
/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_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.h27 bool HasOneRef() const { return ref_count_ == 1; } in HasOneRef() function
148 bool HasOneRef() const;
Dref_counted.cc20 bool RefCountedThreadSafeBase::HasOneRef() const { in HasOneRef() function in base::subtle::RefCountedThreadSafeBase
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/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/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/webrtc/talk/media/webrtc/
Dwebrtcvideoframe.cc139 return video_frame_buffer_->HasOneRef(); in IsExclusive()