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
57 The strong references collectively hold one weak reference. When the in SK_DECLARE_INST_COUNT()
58 strong reference count goes to zero, the collectively held weak in SK_DECLARE_INST_COUNT()
63 /** Destruct, asserting that the weak reference count is 1.
72 /** Return the weak reference count.
83 /** Creates a strong reference from a weak reference, if possible. The
100 /** Increment the weak reference count. Must be balanced by a call to
109 /** Decrement the weak reference count. If the weak reference count is 1
138 object to free any resources it may be holding. Weak references may
147 on the object and releases the implicit weak reference held
155 /* Invariant: fWeakCnt = #weak + (fRefCnt > 0 ? 1 : 0) */