Home
last modified time | relevance | path

Searched refs:editResize (Results 1 – 7 of 7) sorted by relevance

/system/core/libutils/
DSharedBuffer_test.cpp65 EXPECT_DEATH(buf->editResize(SIZE_MAX - sizeof(android::SharedBuffer)), ""); in TEST()
67 EXPECT_DEATH(buf->editResize(SIZE_MAX), ""); in TEST()
74 android::SharedBuffer* buf2 = buf->editResize(SIZE_MAX / 2); in TEST()
85 buf = buf->editResize(0); in TEST()
DString16.cpp178 SharedBuffer* buf = static_cast<SharedBuffer*>(editResize((len + 1) * sizeof(char16_t))); in setTo()
205 SharedBuffer* buf = static_cast<SharedBuffer*>(editResize(size)); in append()
233 SharedBuffer* buf = static_cast<SharedBuffer*>(editResize(size)); in insert()
305 void* String16::editResize(size_t newSize) { in editResize() function in android::String16
317 buf = SharedBuffer::bufferFromData(mString)->editResize(newSize); in editResize()
DSharedBuffer.h75 SharedBuffer* editResize(size_t size) const;
DSharedBuffer.cpp68 SharedBuffer* SharedBuffer::editResize(size_t newSize) const in editResize() function in android::SharedBuffer
DString8.cpp337 (buf = SharedBuffer::bufferFromData(mString)->editResize(newLen)) == nullptr) { in real_append()
352 ->editResize(size+1); in lockBuffer()
370 ->editResize(size+1); in unlockBuffer()
DVectorImpl.cpp416 SharedBuffer* sb = cur_sb->editResize(new_alloc_size); in _grow()
483 SharedBuffer* sb = cur_sb->editResize(new_capacity * mItemSize); in _shrink()
/system/core/libutils/include/utils/
DString16.h131 void* editResize(size_t new_size);