Home
last modified time | relevance | path

Searched refs:WeakReference (Results 1 - 20 of 20) sorted by relevance

/third_party/gn/src/base/memory/
H A Dweak_ptr.cc10 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()
[all...]
H A Dweak_ptr.h90 class WeakReference { class
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
[all...]
/third_party/node/src/
H A Dnode_util.cc201 WeakReference::WeakReference(Realm* realm, in WeakReference() function in node::util::WeakReference
204 : WeakReference(realm, object, target, 0) {} in WeakReference()
206 WeakReference::WeakReference(Realm* realm, in WeakReference() function in node::util::WeakReference
221 bool WeakReference::PrepareForSerialization(Local<Context> context, in PrepareForSerialization()
245 InternalFieldInfoBase* WeakReference::Serialize(int index) { in Serialize()
254 void WeakReference::Deserialize(Local<Context> context, in Deserialize()
267 new WeakReference( in Deserialize()
271 void WeakReference
[all...]
H A Dnode_util.h13 class WeakReference : public SnapshotableObject { class
19 WeakReference(Realm* realm,
27 SET_MEMORY_INFO_NAME(WeakReference)
28 SET_SELF_SIZE(WeakReference)
37 WeakReference(Realm* realm,
H A Dbase_object_types.h29 V(util_weak_reference, util::WeakReference)
/third_party/libwebsockets/test-apps/android/app/src/main/java/org/libwebsockets/client/
H A DThreadService.java32 import java.lang.ref.WeakReference;
59 private final WeakReference<ThreadService> mService;
61 mService = new WeakReference<ThreadService>(service); in InputHandler()
80 // Notice that we do NOT use a WeakReference here
99 private final WeakReference<ThreadService> mService;
101 mService = new WeakReference<ThreadService>(service); in WorkerThreadRunnable()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DStringPrep.java14 import java.lang.ref.WeakReference;
197 private static final WeakReference<StringPrep>[] CACHE = (WeakReference<StringPrep>[])new WeakReference[MAX_PROFILE+1];
322 WeakReference<StringPrep> ref = CACHE[profile]; in getInstance()
337 CACHE[profile] = new WeakReference<StringPrep>(instance); in getInstance()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
H A DStringPrep.java15 import java.lang.ref.WeakReference;
182 private static final WeakReference<StringPrep>[] CACHE = (WeakReference<StringPrep>[])new WeakReference[MAX_PROFILE+1];
305 WeakReference<StringPrep> ref = CACHE[profile]; in getInstance()
320 CACHE[profile] = new WeakReference<StringPrep>(instance); in getInstance()
/third_party/node/test/fixtures/snapshot/
H A Dweak-reference.js4 const { WeakReference } = internalBinding('util');
11 const ref = new WeakReference(obj);
H A Dweak-reference-gc.js4 const { WeakReference } = internalBinding('util');
11 const ref = new WeakReference(obj);
/third_party/node/test/parallel/
H A Dtest-internal-util-weakreference.js6 const { WeakReference } = internalBinding('util');
9 const ref = new WeakReference(obj);
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
H A DSimpleCache.java14 import java.lang.ref.WeakReference;
64 ref = new WeakReference<Map<K, V>>(map); in put()
H A DTimeZoneGenericNames.java14 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/
H A DSimpleCache.java15 import java.lang.ref.WeakReference;
68 ref = new WeakReference<Map<K, V>>(map); in put()
H A DTimeZoneGenericNames.java15 import java.lang.ref.WeakReference;
118 private transient WeakReference<LocaleDisplayNames> _localeDisplayNamesRef;
481 _localeDisplayNamesRef = new WeakReference<LocaleDisplayNames>(locNames); in getLocaleDisplayNames()
/third_party/node/lib/
H A Ddomain.js57 const { WeakReference } = internalBinding('util');
219 this[kWeak] = new WeakReference(this);
H A Ddiagnostics_channel.js30 const { WeakReference } = internalBinding('util');
41 return super.set(key, new WeakReference(value));
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
H A DDescriptors.java52 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/
H A DRangeTree.java34 import java.lang.ref.WeakReference;
364 private static final class WeakNodeRef extends WeakReference<Node> {
/third_party/rust/crates/bindgen/bindgen-tests/tests/
H A Dstylo.hpp[all...]

Completed in 40 milliseconds