Home
last modified time | relevance | path

Searched refs:RefCountedThreadSafeBase (Results 1 – 6 of 6) sorted by relevance

/third_party/gn/src/base/memory/
Dref_counted.h79 class RefCountedThreadSafeBase {
84 explicit constexpr RefCountedThreadSafeBase(StartRefCountFromZeroTag) {} in RefCountedThreadSafeBase() function
85 explicit constexpr RefCountedThreadSafeBase(StartRefCountFromOneTag) in RefCountedThreadSafeBase() function
88 ~RefCountedThreadSafeBase() = default;
120 RefCountedThreadSafeBase(const RefCountedThreadSafeBase&) = delete;
121 RefCountedThreadSafeBase& operator=(const RefCountedThreadSafeBase&) = delete;
268 class RefCountedThreadSafe : public subtle::RefCountedThreadSafeBase {
274 : subtle::RefCountedThreadSafeBase(T::kRefCountPreference) {}
276 void AddRef() const { subtle::RefCountedThreadSafeBase::AddRef(); }
279 if (subtle::RefCountedThreadSafeBase::Release()) {
Dref_counted.cc11 bool RefCountedThreadSafeBase::HasOneRef() const { in HasOneRef()
25 bool RefCountedThreadSafeBase::Release() const { in Release()
28 void RefCountedThreadSafeBase::AddRef() const { in AddRef()
/third_party/flutter/engine/flutter/fml/memory/
Dref_counted_internal.h19 class RefCountedThreadSafeBase {
36 RefCountedThreadSafeBase();
37 ~RefCountedThreadSafeBase();
83 FML_DISALLOW_COPY_AND_ASSIGN(RefCountedThreadSafeBase);
86 inline RefCountedThreadSafeBase::RefCountedThreadSafeBase() in RefCountedThreadSafeBase() function
96 inline RefCountedThreadSafeBase::~RefCountedThreadSafeBase() { in ~RefCountedThreadSafeBase()
Dref_counted.h63 class RefCountedThreadSafe : public internal::RefCountedThreadSafeBase {
72 if (internal::RefCountedThreadSafeBase::Release()) in Release()
117 void Adopt() { internal::RefCountedThreadSafeBase::Adopt(); } in Adopt()
/third_party/cef/libcef_dll/base/
Dcef_ref_counted.cc21 bool RefCountedThreadSafeBase::HasOneRef() const { in HasOneRef()
25 bool RefCountedThreadSafeBase::HasAtLeastOneRef() const { in HasAtLeastOneRef()
30 RefCountedThreadSafeBase::~RefCountedThreadSafeBase() { in ~RefCountedThreadSafeBase()
69 bool RefCountedThreadSafeBase::Release() const { in Release()
72 void RefCountedThreadSafeBase::AddRef() const { in AddRef()
75 void RefCountedThreadSafeBase::AddRefWithCheck() const { in AddRefWithCheck()
/third_party/cef/include/base/
Dcef_ref_counted.h175 class RefCountedThreadSafeBase {
181 explicit constexpr RefCountedThreadSafeBase(StartRefCountFromZeroTag) {} in RefCountedThreadSafeBase() function
182 explicit constexpr RefCountedThreadSafeBase(StartRefCountFromOneTag) in RefCountedThreadSafeBase() function
189 RefCountedThreadSafeBase(const RefCountedThreadSafeBase&) = delete;
190 RefCountedThreadSafeBase& operator=(const RefCountedThreadSafeBase&) = delete;
193 ~RefCountedThreadSafeBase();
195 ~RefCountedThreadSafeBase() = default;
421 class RefCountedThreadSafe : public cef_subtle::RefCountedThreadSafeBase {
427 : cef_subtle::RefCountedThreadSafeBase(T::kRefCountPreference) {}
435 if (cef_subtle::RefCountedThreadSafeBase::Release()) {
[all …]