Home
last modified time | relevance | path

Searched refs:weak_ref (Results 1 – 8 of 8) sorted by relevance

/third_party/node/src/
Dnode_util.cc214 WeakReference* weak_ref = Unwrap<WeakReference>(args.Holder()); in Get() local
216 if (!weak_ref->target_.IsEmpty()) in Get()
217 args.GetReturnValue().Set(weak_ref->target_.Get(isolate)); in Get()
221 WeakReference* weak_ref = Unwrap<WeakReference>(args.Holder()); in IncRef() local
222 weak_ref->reference_count_++; in IncRef()
223 if (weak_ref->target_.IsEmpty()) return; in IncRef()
224 if (weak_ref->reference_count_ == 1) weak_ref->target_.ClearWeak(); in IncRef()
228 WeakReference* weak_ref = Unwrap<WeakReference>(args.Holder()); in DecRef() local
229 CHECK_GE(weak_ref->reference_count_, 1); in DecRef()
230 weak_ref->reference_count_--; in DecRef()
[all …]
/third_party/flutter/skia/include/private/
DSkWeakRefCnt.h112 void weak_ref() const { in weak_ref() function
/third_party/skia/include/private/
DSkWeakRefCnt.h112 void weak_ref() const { in weak_ref() function
/third_party/skia/src/fonts/
DSkFontMgr_indirect.cpp129 typeface->weak_ref(); in createTypefaceFromFontId()
/third_party/flutter/skia/src/fonts/
DSkFontMgr_indirect.cpp129 typeface->weak_ref(); in createTypefaceFromFontId()
/third_party/skia/tests/
DRefCntTest.cpp48 ref->weak_ref(); in bounce_weak_weak_ref()
/third_party/flutter/skia/tests/
DRefCntTest.cpp48 ref->weak_ref(); in bounce_weak_weak_ref()
/third_party/rust/crates/memchr/bench/data/code/
Drust-library.rs21858 fn weak_ref(&self) -> &Cell<usize>;
21887 self.weak_ref().get()
21901 self.weak_ref().set(weak + 1);
21906 self.weak_ref().set(self.weak() - 1);
21912 fn weak_ref(&self) -> &Cell<usize> {
21924 fn weak_ref(&self) -> &Cell<usize> {