Lines Matching refs:pRef
54 bool dvmInitReferenceTable(ReferenceTable* pRef, int initialCount,
59 * Does not free "pRef".
63 void dvmClearReferenceTable(ReferenceTable* pRef);
68 INLINE size_t dvmReferenceTableEntries(const ReferenceTable* pRef)
70 return pRef->nextEntry - pRef->table;
77 INLINE size_t dvmIsReferenceTableFull(const ReferenceTable* pRef)
79 return dvmReferenceTableEntries(pRef) == (size_t)pRef->allocEntries;
89 bool dvmAddToReferenceTable(ReferenceTable* pRef, Object* obj);
92 * Determine if "obj" is present in "pRef". Stops searching when we hit
93 * "bottom". To include the entire table, pass in "pRef->table" as the
98 Object** dvmFindInReferenceTable(const ReferenceTable* pRef, Object** bottom,
109 bool dvmRemoveFromReferenceTable(ReferenceTable* pRef, Object** bottom,
117 void dvmDumpReferenceTable(const ReferenceTable* pRef, const char* descr);