• Home
  • Raw
  • Download

Lines Matching refs:mString

124     : mString(getEmptyString())  in String8()
129 : mString(nullptr) in String8()
138 mString = data; in String8()
142 : mString(o.mString) in String8()
144 SharedBuffer::bufferFromData(mString)->acquire(); in String8()
148 : mString(allocFromUTF8(o, strlen(o))) in String8()
150 if (mString == nullptr) { in String8()
151 mString = getEmptyString(); in String8()
156 : mString(allocFromUTF8(o, len)) in String8()
158 if (mString == nullptr) { in String8()
159 mString = getEmptyString(); in String8()
164 : mString(allocFromUTF16(o.string(), o.size())) in String8()
169 : mString(allocFromUTF16(o, strlen16(o))) in String8()
174 : mString(allocFromUTF16(o, len)) in String8()
179 : mString(allocFromUTF32(o, strlen32(o))) in String8()
184 : mString(allocFromUTF32(o, len)) in String8()
190 SharedBuffer::bufferFromData(mString)->release(); in ~String8()
195 return SharedBuffer::sizeFromData(mString)-1; in length()
217 SharedBuffer::bufferFromData(mString)->release(); in clear()
218 mString = getEmptyString(); in clear()
223 SharedBuffer::bufferFromData(other.mString)->acquire(); in setTo()
224 SharedBuffer::bufferFromData(mString)->release(); in setTo()
225 mString = other.mString; in setTo()
231 SharedBuffer::bufferFromData(mString)->release(); in setTo()
232 mString = newString; in setTo()
233 if (mString) return OK; in setTo()
235 mString = getEmptyString(); in setTo()
242 SharedBuffer::bufferFromData(mString)->release(); in setTo()
243 mString = newString; in setTo()
244 if (mString) return OK; in setTo()
246 mString = getEmptyString(); in setTo()
253 SharedBuffer::bufferFromData(mString)->release(); in setTo()
254 mString = newString; in setTo()
255 if (mString) return OK; in setTo()
257 mString = getEmptyString(); in setTo()
264 SharedBuffer::bufferFromData(mString)->release(); in setTo()
265 mString = newString; in setTo()
266 if (mString) return OK; in setTo()
268 mString = getEmptyString(); in setTo()
347 SharedBuffer* buf = SharedBuffer::bufferFromData(mString) in real_append()
351 mString = str; in real_append()
362 SharedBuffer* buf = SharedBuffer::bufferFromData(mString) in lockBuffer()
366 mString = str; in lockBuffer()
374 unlockBuffer(strlen(mString)); in unlockBuffer()
380 SharedBuffer* buf = SharedBuffer::bufferFromData(mString) in unlockBuffer()
388 mString = str; in unlockBuffer()
400 const char* s = mString+start; in find()
402 return p ? p-mString : -1; in find()
479 return utf8_to_utf32_length(mString, length()); in getUtf32Length()
484 return utf32_from_utf8_at(mString, length(), index, next_index); in getUtf32At()
489 utf8_to_utf32(mString, length(), dst); in getUtf32()
518 const char*const buf = mString; in getPathLeaf()
530 const char*const str = mString; in getPathDir()
542 const char*const str = mString; in walkPath()
572 const char* const str = mString; in find_extension()
604 const char* const str = mString; in getBasePath()