Lines Matching refs:SharedBuffer
28 static SharedBuffer* gEmptyStringBuf = [] { in getEmptyString()
29 SharedBuffer* buf = SharedBuffer::alloc(sizeof(char16_t)); in getEmptyString()
52 SharedBuffer* buf = SharedBuffer::alloc(sizeof(char16_t)*(u16len+1)); in allocFromUTF8()
75 SharedBuffer* buf = SharedBuffer::alloc((u16len + 1) * sizeof(char16_t)); in allocFromUTF16()
101 SharedBuffer::alloc(sizeof(char16_t))->data()); in String16()
109 SharedBuffer::bufferFromData(mString)->acquire(); in String16()
139 SharedBuffer::bufferFromData(mString)->release(); in ~String16()
144 return SharedBuffer::sizeFromData(mString)/sizeof(char16_t)-1; in size()
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()
371 SharedBuffer* buf = SharedBuffer::bufferFromData(mString)->edit(); in replaceAll()
388 SharedBuffer::bufferFromData(mString)->release(); in remove()
398 SharedBuffer* buf = SharedBuffer::bufferFromData(mString) in remove()
407 SharedBuffer* buf = SharedBuffer::bufferFromData(mString) in remove()