Searched refs:oldCapacity (Results 1 – 2 of 2) sorted by relevance
560 size_t oldCapacity = vector.capacity(); in TEST() local566 ASSERT_TRUE(oldCapacity == vector.capacity()); in TEST()579 size_t oldCapacity = vector.capacity(); in TEST() local585 ASSERT_TRUE(oldCapacity == vector.capacity()); in TEST()598 size_t oldCapacity = vector.capacity(); in TEST() local603 vector.reserve(oldCapacity); in TEST()604 ASSERT_TRUE(oldCapacity == vector.capacity()); in TEST()617 size_t oldCapacity = vector.capacity(); in TEST() local622 ASSERT_TRUE(oldCapacity == vector.capacity()); in TEST()
1753 static uint8_t* reallocZeroFree(uint8_t* data, size_t oldCapacity, size_t newCapacity, bool zero) { in reallocZeroFree() argument1762 memcpy(newData, data, std::min(oldCapacity, newCapacity)); in reallocZeroFree()1763 zeroMemory(data, oldCapacity); in reallocZeroFree()