Lines Matching full:weak
28 In addition to strong ownership, an owner may instead obtain a weak
30 call to weak_unref(). To obtain a strong reference from a weak reference,
33 affect the original weak reference, weak_unref() must still be called. When
34 the weak reference count goes to zero, the object is deleted. While the
35 weak reference count is positive and the strong reference count is zero the
39 Note that a strong reference implicitly implies a weak reference. As a
58 The strong references collectively hold one weak reference. When the
59 strong reference count goes to zero, the collectively held weak
64 /** Destruct, asserting that the weak reference count is 1.
74 /** Return the weak reference count. */
96 /** Creates a strong reference from a weak reference, if possible. The
112 /** Increment the weak reference count. Must be balanced by a call to
122 /** Decrement the weak reference count. If the weak reference count is 1
150 object to free any resources it may be holding. Weak references may
159 on the object and releases the implicit weak reference held
167 /* Invariant: fWeakCnt = #weak + (fRefCnt > 0 ? 1 : 0) */