Lines Matching refs:mString

126     : mString(getEmptyString())  in String8()
131 : mString(o.mString) in String8()
133 SharedBuffer::bufferFromData(mString)->acquire(); in String8()
137 : mString(allocFromUTF8(o, strlen(o))) in String8()
139 if (mString == nullptr) { in String8()
140 mString = getEmptyString(); in String8()
145 : mString(allocFromUTF8(o, len)) in String8()
147 if (mString == nullptr) { in String8()
148 mString = getEmptyString(); in String8()
153 : mString(allocFromUTF16(o.string(), o.size())) in String8()
158 : mString(allocFromUTF16(o, strlen16(o))) in String8()
163 : mString(allocFromUTF16(o, len)) in String8()
168 : mString(allocFromUTF32(o, std::char_traits<char32_t>::length(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()
337 (buf = SharedBuffer::bufferFromData(mString)->editResize(newLen)) == nullptr) { in real_append()
342 mString = str; in real_append()
351 SharedBuffer* buf = SharedBuffer::bufferFromData(mString) in lockBuffer()
355 mString = str; in lockBuffer()
363 unlockBuffer(strlen(mString)); in unlockBuffer()
369 SharedBuffer* buf = SharedBuffer::bufferFromData(mString) in unlockBuffer()
377 mString = str; in unlockBuffer()
389 const char* s = mString+start; in find()
391 return p ? p-mString : -1; in find()
457 const char*const buf = mString; in getPathLeaf()
469 const char*const str = mString; in getPathDir()
481 const char*const str = mString; in walkPath()
511 const char* const str = mString; in find_extension()
543 const char* const str = mString; in getBasePath()