Searched refs:new_size (Results 1 – 4 of 4) sorted by relevance
/system/core/libutils/ |
D | VectorImpl.cpp | 384 size_t new_size; in _grow() local 385 LOG_ALWAYS_FATAL_IF(!safe_add(&new_size, mCount, amount), "new_size overflow"); in _grow() 387 if (capacity() < new_size) { in _grow() 396 LOG_ALWAYS_FATAL_IF(!safe_add(&new_capacity, new_size, (new_size / 2)), in _grow() 445 mCount = new_size; in _grow() 462 size_t new_size; in _shrink() local 463 LOG_ALWAYS_FATAL_IF(!safe_sub(&new_size, mCount, amount)); in _shrink() 465 if (new_size < (capacity() / 2)) { in _shrink() 468 const size_t new_capacity = max(kMinVectorCapacity, new_size * 2); in _shrink() 475 if ((where == new_size) && in _shrink() [all …]
|
D | SharedBuffer.cpp | 99 SharedBuffer* SharedBuffer::reset(size_t new_size) const in reset() 102 SharedBuffer* sb = alloc(new_size); in reset()
|
/system/keymaster/ |
D | serializable.cpp | 53 size_t new_size = buffer_size_ + size - available_write(); in reserve() local 54 uint8_t* new_buffer = new uint8_t[new_size]; in reserve() 60 buffer_size_ = new_size; in reserve()
|
/system/core/libpixelflinger/codeflinger/ |
D | blending.cpp | 129 int new_size = temp.size() < 8 ? temp.size() : 8; in build_blending() local 130 expand(fb, fb, new_size); in build_blending()
|