Home
last modified time | relevance | path

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

/system/chre/util/tests/
Ddynamic_vector_test.cc560 size_t oldCapacity = vector.capacity(); in TEST() local
566 ASSERT_TRUE(oldCapacity == vector.capacity()); in TEST()
579 size_t oldCapacity = vector.capacity(); in TEST() local
585 ASSERT_TRUE(oldCapacity == vector.capacity()); in TEST()
598 size_t oldCapacity = vector.capacity(); in TEST() local
603 vector.reserve(oldCapacity); in TEST()
604 ASSERT_TRUE(oldCapacity == vector.capacity()); in TEST()
617 size_t oldCapacity = vector.capacity(); in TEST() local
622 ASSERT_TRUE(oldCapacity == vector.capacity()); in TEST()
/system/libhwbinder/
DParcel.cpp1753 static uint8_t* reallocZeroFree(uint8_t* data, size_t oldCapacity, size_t newCapacity, bool zero) { in reallocZeroFree() argument
1762 memcpy(newData, data, std::min(oldCapacity, newCapacity)); in reallocZeroFree()
1763 zeroMemory(data, oldCapacity); in reallocZeroFree()