Home
last modified time | relevance | path

Searched refs:mString (Results 1 – 4 of 4) sorted by relevance

/system/core/libutils/
DString8.cpp147 : mString(getEmptyString()) in String8()
152 : mString(0) in String8()
161 mString = data; in String8()
165 : mString(o.mString) in String8()
167 SharedBuffer::bufferFromData(mString)->acquire(); in String8()
171 : mString(allocFromUTF8(o, strlen(o))) in String8()
173 if (mString == NULL) { in String8()
174 mString = getEmptyString(); in String8()
179 : mString(allocFromUTF8(o, len)) in String8()
181 if (mString == NULL) { in String8()
[all …]
DString16.cpp89 : mString(getEmptyString()) in String16()
94 : mString(0) in String16()
103 mString = data; in String16()
107 : mString(o.mString) in String16()
109 SharedBuffer::bufferFromData(mString)->acquire(); in String16()
113 : mString(getEmptyString()) in String16()
126 mString = str; in String16()
130 mString = getEmptyString(); in String16()
141 mString = str; in String16()
145 mString = getEmptyString(); in String16()
[all …]
/system/core/include/utils/
DString16.h122 const char16_t* mString;
144 return mString; in string()
149 return SharedBuffer::sizeFromData(mString)/sizeof(char16_t)-1; in size()
154 return SharedBuffer::bufferFromData(mString); in sharedBuffer()
178 return strzcmp16(mString, size(), other.mString, other.size()); in compare()
183 return strzcmp16(mString, size(), other.mString, other.size()) < 0;
188 return strzcmp16(mString, size(), other.mString, other.size()) <= 0;
193 return strzcmp16(mString, size(), other.mString, other.size()) == 0;
198 return strzcmp16(mString, size(), other.mString, other.size()) != 0;
203 return strzcmp16(mString, size(), other.mString, other.size()) >= 0;
[all …]
DString8.h237 const char* mString; variable
263 return mString; in string()
268 return SharedBuffer::sizeFromData(mString)-1; in length()
283 return SharedBuffer::sizeFromData(mString)-1; in bytes()
288 return SharedBuffer::bufferFromData(mString); in sharedBuffer()
336 return strcmp(mString, other.mString); in compare()
341 return strcmp(mString, other.mString) < 0;
346 return strcmp(mString, other.mString) <= 0;
351 return strcmp(mString, other.mString) == 0;
356 return strcmp(mString, other.mString) != 0;
[all …]