Searched refs:weak_ref (Results 1 – 8 of 8) sorted by relevance
214 WeakReference* weak_ref = Unwrap<WeakReference>(args.Holder()); in Get() local216 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() local222 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() local229 CHECK_GE(weak_ref->reference_count_, 1); in DecRef()230 weak_ref->reference_count_--; in DecRef()[all …]
112 void weak_ref() const { in weak_ref() function
129 typeface->weak_ref(); in createTypefaceFromFontId()
48 ref->weak_ref(); in bounce_weak_weak_ref()
21858 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> {