Lines Matching refs:sharedBuffer
27 #include "SharedBuffer.h"
56 SharedBuffer::sharedBuffer(mStorage)->acquire();
79 SharedBuffer::sharedBuffer(mStorage)->acquire();
91 SharedBuffer* sb = SharedBuffer::sharedBuffer(mStorage)->attemptEdit();
93 sb = SharedBuffer::alloc(capacity() * mItemSize);
107 return SharedBuffer::sharedBuffer(mStorage)->size() / mItemSize;
252 SharedBuffer* sb = SharedBuffer::alloc(new_capacity * mItemSize);
267 const SharedBuffer* sb = SharedBuffer::sharedBuffer(mStorage);
268 if (sb->release(SharedBuffer::eKeepStorage) == 1) {
270 SharedBuffer::dealloc(sb);
292 const SharedBuffer* cur_sb = SharedBuffer::sharedBuffer(mStorage);
293 SharedBuffer* sb = cur_sb->editResize(new_capacity * mItemSize);
296 SharedBuffer* sb = SharedBuffer::alloc(new_capacity * mItemSize);
344 const SharedBuffer* cur_sb = SharedBuffer::sharedBuffer(mStorage);
345 SharedBuffer* sb = cur_sb->editResize(new_capacity * mItemSize);
348 SharedBuffer* sb = SharedBuffer::alloc(new_capacity * mItemSize);