Searched refs:oldCapacity (Results 1 – 3 of 3) sorted by relevance
427 AdnCapacity oldCapacity = mAdnCapacity.get(); in handlePhonebookCapacityChanged() local429 if (oldCapacity == null && newCapacity != null) { in handlePhonebookCapacityChanged()
950 final int oldCapacity = oldChars.length;951 if (newLength > oldCapacity) {952 final int newCapacity = oldCapacity * 2;
2262 static uint8_t* reallocZeroFree(uint8_t* data, size_t oldCapacity, size_t newCapacity, bool zero) { in reallocZeroFree() argument2271 memcpy(newData, data, std::min(oldCapacity, newCapacity)); in reallocZeroFree()2272 zeroMemory(data, oldCapacity); in reallocZeroFree()