• Home
  • Raw
  • Download

Lines Matching refs:ref

113                 char inc = refs->ref >= 0 ? '+' : '-';  in ~weakref_impl()
114 ALOGD("\t%c ID %p (ref %d):", inc, refs->id, refs->ref); in ~weakref_impl()
127 char inc = refs->ref >= 0 ? '+' : '-'; in ~weakref_impl()
128 ALOGD("\t%c ID %p (ref %d):", inc, refs->id, refs->ref); in ~weakref_impl()
223 int32_t ref; member
231 ref_entry* ref = new ref_entry; in addRef() local
235 ref->ref = mRef; in addRef()
236 ref->id = id; in addRef()
238 ref->stack.update(2); in addRef()
240 ref->next = *refs; in addRef()
241 *refs = ref; in addRef()
251 ref_entry* ref = head; in removeRef() local
252 while (ref != NULL) { in removeRef()
253 if (ref->id == id) { in removeRef()
254 *refs = ref->next; in removeRef()
255 delete ref; in removeRef()
258 refs = &ref->next; in removeRef()
259 ref = *refs; in removeRef()
266 ref = head; in removeRef()
267 while (ref) { in removeRef()
268 char inc = ref->ref >= 0 ? '+' : '-'; in removeRef()
269 ALOGD("\t%c ID %p (ref %d):", inc, ref->id, ref->ref); in removeRef()
270 ref = ref->next; in removeRef()
281 ref_entry* ref = r; in renameRefsId() local
282 while (ref != NULL) { in renameRefsId()
283 if (ref->id == old_id) { in renameRefsId()
284 ref->id = new_id; in renameRefsId()
286 ref = ref->next; in renameRefsId()
295 char inc = refs->ref >= 0 ? '+' : '-'; in printRefsLocked()
297 inc, refs->id, refs->ref); in printRefsLocked()
643 void RefBase::renameRefId(weakref_type* ref, in renameRefId() argument
645 weakref_impl* const impl = static_cast<weakref_impl*>(ref); in renameRefId()
650 void RefBase::renameRefId(RefBase* ref, in renameRefId() argument
652 ref->mRefs->renameStrongRefId(old_id, new_id); in renameRefId()
653 ref->mRefs->renameWeakRefId(old_id, new_id); in renameRefId()