Home
last modified time | relevance | path

Searched refs:bufferFromData (Results 1 – 4 of 4) sorted by relevance

/system/core/libutils/
DSharedBuffer.h63 static inline SharedBuffer* bufferFromData(void* data);
66 static inline const SharedBuffer* bufferFromData(const void* data);
131 SharedBuffer* SharedBuffer::bufferFromData(void* data) { in bufferFromData() function
135 const SharedBuffer* SharedBuffer::bufferFromData(const void* data) { in bufferFromData() function
140 return data ? bufferFromData(data)->mSize : 0; in sizeFromData()
DString8.cpp131 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()
328 SharedBuffer* buf = SharedBuffer::bufferFromData(mString) in real_append()
[all …]
DVectorImpl.cpp54 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()
DString16.cpp339 buf = SharedBuffer::bufferFromData(mString)->edit(); in edit()
357 buf = SharedBuffer::bufferFromData(mString)->editResize(newSize); in editResize()
366 SharedBuffer::bufferFromData(mString)->acquire(); in acquire()
373 SharedBuffer::bufferFromData(mString)->release(); in release()