Searched defs:newSize (Results 1 - 1 of 1) sorted by relevance

/system/core/libcutils/
H A Darray.c120 int newSize = array->size - 1; local
123 if (index != newSize) {
125 (sizeof(void*)) * (newSize - index));
128 array->size = newSize;
140 int arraySetSize(Array* array, int newSize) { argument
142 assert(newSize >= 0);
146 if (newSize > oldSize) {
148 int result = ensureCapacity(array, newSize);
155 sizeof(void*) * (newSize - oldSize));
158 array->size = newSize;
[all...]

Completed in 59 milliseconds