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()
131 SharedBuffer::bufferFromData(mString)->acquire(); in String8()
177 SharedBuffer::bufferFromData(mString)->release(); in ~String8()
182 return SharedBuffer::sizeFromData(mString)-1; in length()
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()
343 SharedBuffer* buf = SharedBuffer::bufferFromData(mString) in lockBuffer()
361 SharedBuffer* buf = SharedBuffer::bufferFromData(mString) in unlockBuffer()