Lines Matching refs:mString
124 : mString(getEmptyString()) in String8()
129 : mString(o.mString) in String8()
131 SharedBuffer::bufferFromData(mString)->acquire(); in String8()
135 : mString(allocFromUTF8(o, strlen(o))) in String8()
137 if (mString == nullptr) { in String8()
138 mString = getEmptyString(); in String8()
143 : mString(allocFromUTF8(o, len)) in String8()
145 if (mString == nullptr) { in String8()
146 mString = getEmptyString(); in String8()
151 : mString(allocFromUTF16(o.string(), o.size())) in String8()
156 : mString(allocFromUTF16(o, strlen16(o))) in String8()
161 : mString(allocFromUTF16(o, len)) in String8()
166 : mString(allocFromUTF32(o, strlen32(o))) in String8()
171 : mString(allocFromUTF32(o, len)) in String8()
177 SharedBuffer::bufferFromData(mString)->release(); in ~String8()
182 return SharedBuffer::sizeFromData(mString)-1; in length()
204 SharedBuffer::bufferFromData(mString)->release(); in clear()
205 mString = getEmptyString(); in clear()
210 SharedBuffer::bufferFromData(other.mString)->acquire(); in setTo()
211 SharedBuffer::bufferFromData(mString)->release(); in setTo()
212 mString = other.mString; in setTo()
218 SharedBuffer::bufferFromData(mString)->release(); in setTo()
219 mString = newString; in setTo()
220 if (mString) return OK; in setTo()
222 mString = getEmptyString(); in setTo()
229 SharedBuffer::bufferFromData(mString)->release(); in setTo()
230 mString = newString; in setTo()
231 if (mString) return OK; in setTo()
233 mString = getEmptyString(); in setTo()
240 SharedBuffer::bufferFromData(mString)->release(); in setTo()
241 mString = newString; in setTo()
242 if (mString) return OK; in setTo()
244 mString = getEmptyString(); in setTo()
251 SharedBuffer::bufferFromData(mString)->release(); in setTo()
252 mString = newString; in setTo()
253 if (mString) return OK; in setTo()
255 mString = getEmptyString(); in setTo()
328 SharedBuffer* buf = SharedBuffer::bufferFromData(mString) in real_append()
332 mString = str; in real_append()
343 SharedBuffer* buf = SharedBuffer::bufferFromData(mString) in lockBuffer()
347 mString = str; in lockBuffer()
355 unlockBuffer(strlen(mString)); in unlockBuffer()
361 SharedBuffer* buf = SharedBuffer::bufferFromData(mString) in unlockBuffer()
369 mString = str; in unlockBuffer()
381 const char* s = mString+start; in find()
383 return p ? p-mString : -1; in find()
484 const char*const buf = mString; in getPathLeaf()
496 const char*const str = mString; in getPathDir()
508 const char*const str = mString; in walkPath()
538 const char* const str = mString; in find_extension()
570 const char* const str = mString; in getBasePath()