Home
last modified time | relevance | path

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

/system/core/libutils/tests/
DVector_test.cpp44 vector.setCapacity(8); in TEST_F()
81 EXPECT_DEATH(vector.setCapacity(SIZE_MAX / sizeof(int) + 1), ""); in TEST_F()
91 vector.setCapacity(8); in TEST_F()
93 vector.setCapacity(2); in TEST_F()
/system/core/include/utils/
DKeyedVector.h60 inline ssize_t setCapacity(size_t size) { return mVector.setCapacity(size); } in setCapacity() function
DSortedVector.h71 inline ssize_t setCapacity(size_t size) { return VectorImpl::setCapacity(size); } in setCapacity() function
DVector.h81 inline ssize_t setCapacity(size_t size) { return VectorImpl::setCapacity(size); } in setCapacity() function
192 inline void reserve(size_t n) { setCapacity(n); } in reserve()
DVectorImpl.h66 ssize_t setCapacity(size_t size);
/system/core/libutils/
DVectorImpl.cpp336 ssize_t VectorImpl::setCapacity(size_t new_capacity) in setCapacity() function in android::VectorImpl