Home
last modified time | relevance | path

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

/third_party/cef/tests/ceftests/
Dtranslator_unittest.cc26 EXPECT_TRUE(obj->HasOneRef()); in TEST()
45 EXPECT_TRUE(obj->HasOneRef()); in TEST()
59 EXPECT_TRUE(obj->HasOneRef()); in TEST()
80 EXPECT_TRUE(obj->HasOneRef()); in TEST()
107 EXPECT_TRUE(obj->HasOneRef()); in TEST()
134 EXPECT_TRUE(obj->HasOneRef()); in TEST()
150 EXPECT_TRUE(obj->HasOneRef()); in TEST()
169 EXPECT_TRUE(obj->HasOneRef()); in TEST()
193 EXPECT_TRUE(obj->HasOneRef()); in TEST()
194 EXPECT_TRUE(test_obj->HasOneRef()); in TEST()
[all …]
/third_party/cef/include/
Dcef_base.h69 virtual bool HasOneRef() const = 0;
108 bool HasOneRef() const { return base::AtomicRefCountIsOne(&ref_count_); } in HasOneRef() function
136 bool HasOneRef() const OVERRIDE { return ref_count_.HasOneRef(); } \
/third_party/flutter/engine/flutter/fml/memory/
Dref_counted_internal.h29 bool HasOneRef() const { in HasOneRef() function
33 void AssertHasOneRef() const { FML_DCHECK(HasOneRef()); } in AssertHasOneRef()
Dref_counted_unittest.cc508 EXPECT_TRUE(created->HasOneRef()); in TEST()
513 EXPECT_FALSE(created->HasOneRef()); in TEST()
521 EXPECT_FALSE(created->HasOneRef()); in TEST()
526 EXPECT_FALSE(created->HasOneRef()); in TEST()
529 EXPECT_TRUE(created->HasOneRef()); in TEST()
534 EXPECT_FALSE(created->HasOneRef()); in TEST()
537 EXPECT_TRUE(created->HasOneRef()); in TEST()
/third_party/cef/libcef_dll/cpptoc/
Dcpptoc_ref_counted.h90 bool HasOneRef() const { return UnderlyingHasOneRef(); } in HasOneRef() function
136 return wrapper_struct_.object_->HasOneRef(); in UnderlyingHasOneRef()
178 return wrapperStruct->wrapper_->HasOneRef(); in struct_has_one_ref()
/third_party/cef/include/wrapper/
Dcef_helpers.h103 bool HasOneRef() const OVERRIDE { return ref_count_.HasOneRef(); } \
/third_party/cef/libcef/browser/
Dthread_util.h93 bool HasOneRef() const OVERRIDE { return ref_count_.HasOneRef(); } \
Dmenu_manager.cc177 DCHECK(paramsPtr->HasOneRef()); in CreateContextMenu()
219 DCHECK(paramsPtr->HasOneRef()); in ExecuteCommand()
Dmenu_model_impl.cc917 if (!HasOneRef()) in VerifyRefCount()
/third_party/gn/src/base/memory/
Dref_counted.cc11 bool RefCountedThreadSafeBase::HasOneRef() const { in HasOneRef() function in base::subtle::RefCountedThreadSafeBase
Dref_counted.h24 bool HasOneRef() const { return ref_count_ == 1; } in HasOneRef() function
81 bool HasOneRef() const;
Dweak_ptr.h132 bool HasRefs() const { return flag_ && !flag_->HasOneRef(); } in HasRefs()
Dscoped_refptr.h68 DCHECK(obj->HasOneRef()); in AdoptRef()
/third_party/cef/include/base/
Dcef_ref_counted.h62 bool HasOneRef() const { return ref_count_ == 1; } in HasOneRef() function
113 bool HasOneRef() const;
Dcef_weak_ptr.h169 bool HasRefs() const { return flag_.get() && !flag_->HasOneRef(); } in HasRefs()
/third_party/cef/libcef_dll/base/
Dcef_ref_counted.cc11 bool RefCountedThreadSafeBase::HasOneRef() const { in HasOneRef() function in base::cef_subtle::RefCountedThreadSafeBase
Dcef_weak_ptr.cc20 DCHECK(thread_checker_.CalledOnValidThread() || HasOneRef()) in Invalidate()
/third_party/cef/libcef/browser/alloy/
Dalloy_browser_main.cc218 DCHECK(global_request_context_->HasOneRef()); in PostMainMessageLoopRun()
/third_party/cef/libcef_dll/ctocpp/
Dctocpp_ref_counted.h36 bool HasOneRef() const { return UnderlyingHasOneRef(); } in HasOneRef() function
/third_party/cef/libcef/renderer/
Ddom_document_impl.cc232 DCHECK(HasOneRef()); in Detach()
/third_party/cef/libcef_dll/wrapper/
Dcef_message_router.cc282 DCHECK(handled || callback->HasOneRef()); in OnProcessMessageReceived()
/third_party/cef/tests/ceftests/views/
Dpanel_unittest.cc69 EXPECT_TRUE(delegate->HasOneRef()); in CreatePanel()