Home
last modified time | relevance | path

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

/frameworks/native/libs/binder/
DParcel.cpp464 int numObjects = lastIndex - firstIndex + 1; in appendFrom() local
481 if (numObjects > 0) { in appendFrom()
484 if (mObjectsCapacity < mObjectsSize + numObjects) { in appendFrom()
485 if ((size_t) numObjects > SIZE_MAX - mObjectsSize) return NO_MEMORY; // overflow in appendFrom()
486 if (mObjectsSize + numObjects > SIZE_MAX / 3) return NO_MEMORY; // overflow in appendFrom()
487 size_t newSize = ((mObjectsSize + numObjects)*3)/2; in appendFrom()