Lines Matching refs:sb
88 const SharedBuffer* sb = SharedBuffer::bufferFromData(mStorage); in editArrayImpl() local
89 SharedBuffer* editable = sb->attemptEdit(); in editArrayImpl()
93 editable = SharedBuffer::alloc(sb->size()); in editArrayImpl()
344 SharedBuffer* sb = SharedBuffer::alloc(new_allocation_size); in setCapacity() local
345 if (sb) { in setCapacity()
346 void* array = sb->data(); in setCapacity()
369 const SharedBuffer* sb = SharedBuffer::bufferFromData(mStorage); in release_storage() local
370 if (sb->release(SharedBuffer::eKeepStorage) == 1) { in release_storage()
372 SharedBuffer::dealloc(sb); in release_storage()
416 SharedBuffer* sb = cur_sb->editResize(new_alloc_size); in _grow() local
417 if (sb) { in _grow()
418 mStorage = sb->data(); in _grow()
423 SharedBuffer* sb = SharedBuffer::alloc(new_alloc_size); in _grow() local
424 if (sb) { in _grow()
425 void* array = sb->data(); in _grow()
483 SharedBuffer* sb = cur_sb->editResize(new_capacity * mItemSize); in _shrink() local
484 if (sb) { in _shrink()
485 mStorage = sb->data(); in _shrink()
490 SharedBuffer* sb = SharedBuffer::alloc(new_capacity * mItemSize); in _shrink() local
491 if (sb) { in _shrink()
492 void* array = sb->data(); in _shrink()