Home
last modified time | relevance | path

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

/system/core/libutils/
DVector_test.cpp45 vector.setCapacity(8); in TEST_F()
79 EXPECT_DEATH(vector.setCapacity(SIZE_MAX / sizeof(int) + 1), "Assertion failed"); in TEST_F()
89 vector.setCapacity(8); in TEST_F()
91 vector.setCapacity(2); in TEST_F()
DVectorImpl.cpp334 ssize_t VectorImpl::setCapacity(size_t new_capacity) in setCapacity() function in android::VectorImpl
/system/core/libutils/include/utils/
DSortedVector.h72 inline ssize_t setCapacity(size_t size) { return VectorImpl::setCapacity(size); } in setCapacity() function
137 inline void reserve(size_t n) { setCapacity(n); } in reserve()
DKeyedVector.h61 inline ssize_t setCapacity(size_t size) { return mVector.setCapacity(size); } in setCapacity() function
DVector.h95 inline ssize_t setCapacity(size_t size) { return VectorImpl::setCapacity(size); } in setCapacity() function
206 inline void reserve(size_t n) { setCapacity(n); } in reserve()
DVectorImpl.h66 ssize_t setCapacity(size_t size);