Lines Matching refs:table
18 * Reference table management.
31 pRef->table = (Object**) malloc(initialCount * sizeof(Object*));
32 if (pRef->table == NULL)
35 memset(pRef->table, 0xdd, initialCount * sizeof(Object*));
37 pRef->nextEntry = pRef->table;
49 free(pRef->table);
50 pRef->table = pRef->nextEntry = NULL;
61 assert(pRef->table != NULL);
64 if (pRef->nextEntry == pRef->table + pRef->allocEntries) {
66 if (pRef->nextEntry == pRef->table + pRef->maxEntries) {
79 newTable = (Object**) realloc(pRef->table, newSize * sizeof(Object*));
81 ALOGE("Unable to expand ref table (from %d to %d %d-byte entries)",
88 pRef->nextEntry = newTable + (pRef->nextEntry - pRef->table);
89 pRef->table = newTable;
126 assert(pRef->table != NULL);
254 ALOGW("%s reference table (%p) dump:", descr, refs);
310 // Make a copy of the table, and sort it.
313 ALOGE("Unable to copy table with %d elements", count);
331 // Dump a summary of the whole table.
367 dvmDumpReferenceTableContents(pRef->table, dvmReferenceTableEntries(pRef),