Lines Matching full:weak
25 In addition to strong ownership, an owner may instead obtain a weak
27 call to weak_unref(). To obtain a strong reference from a weak reference,
30 affect the original weak reference, weak_unref() must still be called. When
31 the weak reference count goes to zero, the object is deleted. While the
32 weak reference count is positive and the strong reference count is zero the
36 Note that a strong reference implicitly implies a weak reference. As a
55 The strong references collectively hold one weak reference. When the
56 strong reference count goes to zero, the collectively held weak
61 /** Destruct, asserting that the weak reference count is 1.
70 /** Return the weak reference count.
81 /** Creates a strong reference from a weak reference, if possible. The
98 /** Increment the weak reference count. Must be balanced by a call to
107 /** Decrement the weak reference count. If the weak reference count is 1
136 object to free any resources it may be holding. Weak references may
145 on the object and releases the implicit weak reference held
153 /* Invariant: fWeakCnt = #weak + (fRefCnt > 0 ? 1 : 0) */