Searched refs:editResize (Results 1 – 7 of 7) sorted by relevance
44 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()
178 SharedBuffer* buf = static_cast<SharedBuffer*>(editResize((len + 1) * sizeof(char16_t))); in setTo()206 static_cast<SharedBuffer*>(editResize((myLen + otherLen + 1) * sizeof(char16_t))); in append()232 static_cast<SharedBuffer*>(editResize((myLen + otherLen + 1) * sizeof(char16_t))); in append()267 static_cast<SharedBuffer*>(editResize((myLen + len + 1) * sizeof(char16_t))); in insert()345 void* String16::editResize(size_t newSize) { in editResize() function in android::String16357 buf = SharedBuffer::bufferFromData(mString)->editResize(newSize); in editResize()450 SharedBuffer* buf = static_cast<SharedBuffer*>(editResize((N + 1) * sizeof(char16_t))); in remove()458 SharedBuffer* buf = static_cast<SharedBuffer*>(editResize((len + 1) * sizeof(char16_t))); in remove()
75 SharedBuffer* editResize(size_t size) const;
68 SharedBuffer* SharedBuffer::editResize(size_t newSize) const in editResize() function in android::SharedBuffer
329 ->editResize(myLen+otherLen+1); in real_append()344 ->editResize(size+1); in lockBuffer()362 ->editResize(size+1); in unlockBuffer()
416 SharedBuffer* sb = cur_sb->editResize(new_alloc_size); in _grow()483 SharedBuffer* sb = cur_sb->editResize(new_capacity * mItemSize); in _shrink()
135 void* editResize(size_t new_size);