Lines Matching refs:ref
168 int32_t ref;
175 ref_entry* ref = new ref_entry;
179 ref->ref = mRef;
180 ref->id = id;
182 ref->stack.update(2);
185 ref->next = *refs;
186 *refs = ref;
195 ref_entry* ref = *refs;
196 while (ref != NULL) {
197 if (ref->id == id) {
198 *refs = ref->next;
199 delete ref;
203 refs = &ref->next;
204 ref = *refs;
216 char inc = refs->ref >= 0 ? '+' : '-';
217 sprintf(buf, "\t%c ID %p (ref %d):\n",
218 inc, refs->id, refs->ref);
289 LOG_ASSERT(c > 0, "incStrong() called on %p after last strong ref", refs);
328 LOG_ASSERT(c >= 0, "forceIncStrong called on %p after ref count underflow",
360 LOG_ASSERT(c >= 0, "incWeak called on %p after last weak ref", this);
414 // call the object with only a weak ref) and the implementation