Home
last modified time | relevance | path

Searched refs:neededCapacity (Results 1 – 2 of 2) sorted by relevance

/hardware/google/aemu/base/include/aemu/base/containers/
DEntityManager.h139 size_t neededCapacity = newIndex + 1; in add() local
140 if (maxElements < neededCapacity) return INVALID_ENTITY_HANDLE; in add()
143 size_t nextCapacity = neededCapacity << 1; in add()
147 neededCapacity, in add()
151 if (neededCapacity > mEntries.size()) { in add()
193 size_t neededCapacity = newIndex + 1; in addFixed() local
195 if (maxElements < neededCapacity) return INVALID_ENTITY_HANDLE; in addFixed()
198 size_t nextCapacity = neededCapacity << 1; in addFixed()
202 neededCapacity, in addFixed()
206 if (neededCapacity > mEntries.size()) { in addFixed()
/hardware/google/gfxstream/guest/android-emu/aemu/base/containers/
DEntityManager.h154 uint64_t neededCapacity = newIndex + 1;
155 if (maxElements < neededCapacity) return INVALID_ENTITY_HANDLE;
158 uint64_t nextCapacity = neededCapacity << 1;
162 neededCapacity,
166 if (neededCapacity > mEntries.size()) {
208 uint64_t neededCapacity = newIndex + 1;
210 if (maxElements < neededCapacity) return INVALID_ENTITY_HANDLE;
213 uint64_t nextCapacity = neededCapacity << 1;
217 neededCapacity,
221 if (neededCapacity > mEntries.size()) {