Home
last modified time | relevance | path

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

/system/core/libutils/
DSharedBufferTest.cpp44 EXPECT_DEATH(buf->editResize(SIZE_MAX - sizeof(android::SharedBuffer)), ""); in TEST()
46 EXPECT_DEATH(buf->editResize(SIZE_MAX), ""); in TEST()
51 buf = buf->editResize(SIZE_MAX - sizeof(android::SharedBuffer) - 1); in TEST()
55 buf = buf->editResize(0); in TEST()
DString16.cpp210 ->editResize((len+1)*sizeof(char16_t)); in setTo()
233 ->editResize((myLen+otherLen+1)*sizeof(char16_t)); in append()
254 ->editResize((myLen+otherLen+1)*sizeof(char16_t)); in append()
289 ->editResize((myLen+len+1)*sizeof(char16_t)); in insert()
411 ->editResize((N+1)*sizeof(char16_t)); in remove()
420 ->editResize((len+1)*sizeof(char16_t)); in remove()
DSharedBuffer.h75 SharedBuffer* editResize(size_t size) const;
DSharedBuffer.cpp65 SharedBuffer* SharedBuffer::editResize(size_t newSize) const in editResize() function in android::SharedBuffer
DString8.cpp367 ->editResize(myLen+otherLen+1); in real_append()
382 ->editResize(size+1); in lockBuffer()
400 ->editResize(size+1); in unlockBuffer()
DVectorImpl.cpp417 SharedBuffer* sb = cur_sb->editResize(new_alloc_size); in _grow()
484 SharedBuffer* sb = cur_sb->editResize(new_capacity * mItemSize); in _shrink()