Searched refs:allocEntries (Results 1 - 2 of 2) sorted by relevance

/dalvik/vm/
H A DReferenceTable.h32 * If "allocEntries" is not equal to "maxEntries", the table may expand when
43 int allocEntries; /* #of entries we have space for */ member in struct:ReferenceTable
79 return dvmReferenceTableEntries(pRef) == (size_t)pRef->allocEntries;
H A DReferenceTable.cpp38 pRef->allocEntries = initialCount;
51 pRef->allocEntries = pRef->maxEntries = -1;
62 assert(pRef->allocEntries <= pRef->maxEntries);
64 if (pRef->nextEntry == pRef->table + pRef->allocEntries) {
74 newSize = pRef->allocEntries * 2;
77 assert(newSize > pRef->allocEntries);
82 pRef->allocEntries, newSize, sizeof(Object*));
85 LOGVV("Growing %p from %d to %d", pRef, pRef->allocEntries, newSize);
90 pRef->allocEntries = newSize;

Completed in 40 milliseconds