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);
126 SharedBuffer* SharedBuffer::bufferFromData(void* data) { in bufferFromData() function
130 const SharedBuffer* SharedBuffer::bufferFromData(const void* data) { in bufferFromData() function
135 return data ? bufferFromData(data)->mSize : 0; in sizeFromData()
DString16.cpp109 SharedBuffer::bufferFromData(mString)->acquire(); in String16()
139 SharedBuffer::bufferFromData(mString)->release(); in ~String16()
149 SharedBuffer::bufferFromData(other.mString)->acquire(); in setTo()
150 SharedBuffer::bufferFromData(mString)->release(); in setTo()
158 SharedBuffer::bufferFromData(mString)->release(); in setTo()
187 SharedBuffer* buf = SharedBuffer::bufferFromData(mString) in setTo()
215 SharedBuffer* buf = SharedBuffer::bufferFromData(mString) in append()
241 SharedBuffer* buf = SharedBuffer::bufferFromData(mString) in append()
276 SharedBuffer* buf = SharedBuffer::bufferFromData(mString) in insert()
350 SharedBuffer* buf = SharedBuffer::bufferFromData(mString)->edit(); in makeLower()
[all …]
DString8.cpp144 SharedBuffer::bufferFromData(mString)->acquire(); in String8()
190 SharedBuffer::bufferFromData(mString)->release(); in ~String8()
217 SharedBuffer::bufferFromData(mString)->release(); in clear()
223 SharedBuffer::bufferFromData(other.mString)->acquire(); in setTo()
224 SharedBuffer::bufferFromData(mString)->release(); in setTo()
231 SharedBuffer::bufferFromData(mString)->release(); in setTo()
242 SharedBuffer::bufferFromData(mString)->release(); in setTo()
253 SharedBuffer::bufferFromData(mString)->release(); in setTo()
264 SharedBuffer::bufferFromData(mString)->release(); in setTo()
347 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()