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

/system/core/libutils/
H A DSharedBufferTest.cpp44 EXPECT_DEATH(buf->editResize(SIZE_MAX - sizeof(android::SharedBuffer)), "");
46 EXPECT_DEATH(buf->editResize(SIZE_MAX), "");
51 buf = buf->editResize(SIZE_MAX - sizeof(android::SharedBuffer) - 1);
55 buf = buf->editResize(0);
H A DSharedBuffer.h75 SharedBuffer* editResize(size_t size) const;
H A DString16.cpp210 ->editResize((len+1)*sizeof(char16_t));
233 ->editResize((myLen+otherLen+1)*sizeof(char16_t));
254 ->editResize((myLen+otherLen+1)*sizeof(char16_t));
289 ->editResize((myLen+len+1)*sizeof(char16_t));
411 ->editResize((N+1)*sizeof(char16_t));
420 ->editResize((len+1)*sizeof(char16_t));
H A DSharedBuffer.cpp65 SharedBuffer* SharedBuffer::editResize(size_t newSize) const function in class:android::SharedBuffer
H A DString8.cpp368 ->editResize(myLen+otherLen+1);
383 ->editResize(size+1);
401 ->editResize(size+1);
H A DVectorImpl.cpp417 SharedBuffer* sb = cur_sb->editResize(new_alloc_size);
484 SharedBuffer* sb = cur_sb->editResize(new_capacity * mItemSize);

Completed in 57 milliseconds