Searched refs:bufferFromData (Results 1 – 4 of 4) sorted by relevance
63 static inline SharedBuffer* bufferFromData(void* data);66 static inline const SharedBuffer* bufferFromData(const void* data);131 SharedBuffer* SharedBuffer::bufferFromData(void* data) { in bufferFromData() function135 const SharedBuffer* SharedBuffer::bufferFromData(const void* data) { in bufferFromData() function140 return data ? bufferFromData(data)->mSize : 0; in sizeFromData()
133 SharedBuffer::bufferFromData(mString)->acquire(); in String8()177 SharedBuffer::bufferFromData(mString)->release(); in ~String8()204 SharedBuffer::bufferFromData(mString)->release(); in clear()210 SharedBuffer::bufferFromData(other.mString)->acquire(); in setTo()211 SharedBuffer::bufferFromData(mString)->release(); in setTo()218 SharedBuffer::bufferFromData(mString)->release(); in setTo()229 SharedBuffer::bufferFromData(mString)->release(); in setTo()240 SharedBuffer::bufferFromData(mString)->release(); in setTo()251 SharedBuffer::bufferFromData(mString)->release(); in setTo()337 (buf = SharedBuffer::bufferFromData(mString)->editResize(newLen)) == nullptr) { in real_append()[all …]
54 SharedBuffer::bufferFromData(mStorage)->acquire(); in VectorImpl()76 SharedBuffer::bufferFromData(mStorage)->acquire(); in operator =()88 const SharedBuffer* sb = SharedBuffer::bufferFromData(mStorage); in editArrayImpl()109 return SharedBuffer::bufferFromData(mStorage)->size() / mItemSize; in capacity()369 const SharedBuffer* sb = SharedBuffer::bufferFromData(mStorage); in release_storage()415 const SharedBuffer* cur_sb = SharedBuffer::bufferFromData(mStorage); in _grow()482 const SharedBuffer* cur_sb = SharedBuffer::bufferFromData(mStorage); in _shrink()
299 buf = SharedBuffer::bufferFromData(mString)->edit(); in edit()317 buf = SharedBuffer::bufferFromData(mString)->editResize(newSize); in editResize()326 SharedBuffer::bufferFromData(mString)->acquire(); in acquire()333 SharedBuffer::bufferFromData(mString)->release(); in release()