Lines Matching refs:SharedBuffer
44 static SharedBuffer* gEmptyStringBuf = [] { in getEmptyString()
45 SharedBuffer* buf = SharedBuffer::alloc(1); in getEmptyString()
63 SharedBuffer* buf = SharedBuffer::alloc(len+1); in allocFromUTF8()
87 SharedBuffer* buf = SharedBuffer::alloc(resultStrLen); in allocFromUTF16()
109 SharedBuffer* buf = SharedBuffer::alloc(resultStrLen); in allocFromUTF32()
136 SharedBuffer::alloc(sizeof(char))->data()); in String8()
144 SharedBuffer::bufferFromData(mString)->acquire(); in String8()
190 SharedBuffer::bufferFromData(mString)->release(); in ~String8()
195 return SharedBuffer::sizeFromData(mString)-1; in length()
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()
362 SharedBuffer* buf = SharedBuffer::bufferFromData(mString) in lockBuffer()
380 SharedBuffer* buf = SharedBuffer::bufferFromData(mString) in unlockBuffer()