/third_party/cef/libcef_dll/base/ |
D | cef_weak_ptr.cc | 10 WeakReference::Flag::Flag() { in Flag() 17 void WeakReference::Flag::Invalidate() { in Invalidate() 28 bool WeakReference::Flag::IsValid() const { in IsValid() 34 bool WeakReference::Flag::MaybeValid() const { in MaybeValid() 38 void WeakReference::Flag::DetachFromThread() { in DetachFromThread() 42 WeakReference::Flag::~Flag() = default; 44 WeakReference::WeakReference() = default; 46 WeakReference::WeakReference(const scoped_refptr<Flag>& flag) : flag_(flag) {} in WeakReference() function in base::internal::WeakReference 48 WeakReference::~WeakReference() = default; 50 WeakReference::WeakReference(WeakReference&& other) noexcept = default; [all …]
|
/third_party/gn/src/base/memory/ |
D | weak_ptr.cc | 10 WeakReference::Flag::Flag() : is_valid_(true) {} in Flag() 12 void WeakReference::Flag::Invalidate() { in Invalidate() 16 bool WeakReference::Flag::IsValid() const { in IsValid() 20 WeakReference::Flag::~Flag() = default; 22 WeakReference::WeakReference() = default; 24 WeakReference::WeakReference(const scoped_refptr<Flag>& flag) : flag_(flag) {} in WeakReference() function in base::internal::WeakReference 26 WeakReference::~WeakReference() = default; 28 WeakReference::WeakReference(WeakReference&& other) = default; 30 WeakReference::WeakReference(const WeakReference& other) = default; 32 bool WeakReference::is_valid() const { in is_valid() [all …]
|
D | weak_ptr.h | 90 class WeakReference { 109 WeakReference(); 110 explicit WeakReference(const scoped_refptr<Flag>& flag); 111 ~WeakReference(); 113 WeakReference(WeakReference&& other); 114 WeakReference(const WeakReference& other); 115 WeakReference& operator=(WeakReference&& other) = default; 116 WeakReference& operator=(const WeakReference& other) = default; 129 WeakReference GetRef() const; 136 mutable scoped_refptr<WeakReference::Flag> flag_; [all …]
|
/third_party/cef/include/base/ |
D | cef_weak_ptr.h | 126 class WeakReference { 150 WeakReference(); 151 explicit WeakReference(const scoped_refptr<Flag>& flag); 152 ~WeakReference(); 154 WeakReference(WeakReference&& other) noexcept; 155 WeakReference(const WeakReference& other); 156 WeakReference& operator=(WeakReference&& other) noexcept = default; 157 WeakReference& operator=(const WeakReference& other) = default; 171 WeakReference GetRef() const; 178 scoped_refptr<WeakReference::Flag> flag_; [all …]
|
/third_party/node/src/ |
D | node_util.cc | 197 class WeakReference : public BaseObject { class 199 WeakReference(Environment* env, Local<Object> object, Local<Object> target) in WeakReference() function in node::util::WeakReference 210 new WeakReference(env, args.This(), args[0].As<Object>()); in New() 214 WeakReference* weak_ref = Unwrap<WeakReference>(args.Holder()); in Get() 221 WeakReference* weak_ref = Unwrap<WeakReference>(args.Holder()); in IncRef() 228 WeakReference* weak_ref = Unwrap<WeakReference>(args.Holder()); in DecRef() 235 SET_MEMORY_INFO_NAME(WeakReference) 236 SET_SELF_SIZE(WeakReference) 337 env->NewFunctionTemplate(WeakReference::New); in Initialize() 339 WeakReference::kInternalFieldCount); in Initialize() [all …]
|
/third_party/libwebsockets/test-apps/android/app/src/main/java/org/libwebsockets/client/ |
D | ThreadService.java | 32 import java.lang.ref.WeakReference; 59 private final WeakReference<ThreadService> mService; 61 mService = new WeakReference<ThreadService>(service); in InputHandler() 99 private final WeakReference<ThreadService> mService; 101 mService = new WeakReference<ThreadService>(service); in WorkerThreadRunnable()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
D | StringPrep.java | 15 import java.lang.ref.WeakReference; 182 …private static final WeakReference<StringPrep>[] CACHE = (WeakReference<StringPrep>[])new WeakRefe… 305 WeakReference<StringPrep> ref = CACHE[profile]; in getInstance() 320 CACHE[profile] = new WeakReference<StringPrep>(instance); in getInstance()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | StringPrep.java | 14 import java.lang.ref.WeakReference; 197 …private static final WeakReference<StringPrep>[] CACHE = (WeakReference<StringPrep>[])new WeakRefe… 322 WeakReference<StringPrep> ref = CACHE[profile]; in getInstance() 337 CACHE[profile] = new WeakReference<StringPrep>(instance); in getInstance()
|
/third_party/node/test/parallel/ |
D | test-internal-util-weakreference.js | 6 const { WeakReference } = internalBinding('util'); 9 const ref = new WeakReference(obj);
|
/third_party/node/lib/ |
D | diagnostics_channel.js | 21 const { WeakReference } = internalBinding('util'); 108 channels[name] = new WeakReference(channel);
|
D | domain.js | 56 const { WeakReference } = internalBinding('util'); 210 this[kWeak] = new WeakReference(this);
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | SimpleCache.java | 14 import java.lang.ref.WeakReference; 64 ref = new WeakReference<Map<K, V>>(map); in put()
|
D | TimeZoneGenericNames.java | 14 import java.lang.ref.WeakReference; 114 private transient WeakReference<LocaleDisplayNames> _localeDisplayNamesRef; 477 _localeDisplayNamesRef = new WeakReference<LocaleDisplayNames>(locNames); in getLocaleDisplayNames()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/ |
D | SimpleCache.java | 15 import java.lang.ref.WeakReference; 68 ref = new WeakReference<Map<K, V>>(map); in put()
|
D | TimeZoneGenericNames.java | 15 import java.lang.ref.WeakReference; 118 private transient WeakReference<LocaleDisplayNames> _localeDisplayNamesRef; 481 _localeDisplayNamesRef = new WeakReference<LocaleDisplayNames>(locNames); in getLocaleDisplayNames()
|
/third_party/ejdb/src/bindings/ejdb2_jni/src/android/java/com/softmotions/ejdb2/ |
D | JQL.java | 7 import java.lang.ref.WeakReference; 412 private static class Reference extends WeakReference<JQL> {
|
/third_party/ejdb/src/bindings/ejdb2_jni/src/main/java/com/softmotions/ejdb2/ |
D | JQL.java | 7 import java.lang.ref.WeakReference; 418 private static class Reference extends WeakReference<JQL> {
|
/third_party/flutter/skia/third_party/externals/sdl/src/video/winrt/ |
D | SDL_winrtgamebar.cpp | 42 static Platform::WeakReference WINRT_MainThreadDispatcher;
|
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/ |
D | Descriptors.java | 52 import java.lang.ref.WeakReference; 1761 WeakReference<EnumValueDescriptor> reference = unknownValues.get(key); in findValueByNumberCreatingIfUnknown() 1767 unknownValues.put(key, new WeakReference<EnumValueDescriptor>(result)); in findValueByNumberCreatingIfUnknown() 1784 private final WeakHashMap<Integer, WeakReference<EnumValueDescriptor>> unknownValues = 1785 new WeakHashMap<Integer, WeakReference<EnumValueDescriptor>>();
|
/third_party/libphonenumber/metadata/src/main/java/com/google/i18n/phonenumbers/metadata/ |
D | RangeTree.java | 34 import java.lang.ref.WeakReference; 364 private static final class WeakNodeRef extends WeakReference<Node> {
|
/third_party/rust/crates/bindgen/bindgen-tests/tests/ |
D | stylo.hpp | 94321 class WeakReference : public ::mozilla::RefCounted<WeakReference<T> > class 94324 explicit WeakReference(T* p) : mPtr(p) in WeakReference() function in mozilla::detail::WeakReference 94365 mSelfReferencingWeakPtr.mRef = new detail::WeakReference<T>(static_cast<T*>(this)); in SelfReferencingWeakPtr() 94387 typedef detail::WeakReference<T> WeakReference; typedef in mozilla::WeakPtr 94409 mRef = new WeakReference(nullptr); in operator =() 94423 WeakPtr() : mRef(new WeakReference(nullptr)) {} in WeakPtr() 94435 explicit WeakPtr(const RefPtr<WeakReference>& aOther) : mRef(aOther) {} in WeakPtr() 94437 RefPtr<WeakReference> mRef;
|
/third_party/node/doc/changelogs/ |
D | CHANGELOG_V11.md | 971 * [[`731c2731d2`](https://github.com/nodejs/node/commit/731c2731d2)] - **src**: add WeakReference u…
|
D | CHANGELOG_V10.md | 617 * [[`b9ea23c0ed`](https://github.com/nodejs/node/commit/b9ea23c0ed)] - **src**: add WeakReference u…
|