Home
last modified time | relevance | path

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

/system/core/libutils/
DString8.cpp124 : 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()
[all …]
DString16.cpp89 : mString(getEmptyString()) in String16()
94 : mString(nullptr) 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()
118 String16::String16(const char16_t* o) : mString(allocFromUTF16(o, strlen16(o))) {} in String16()
120 String16::String16(const char16_t* o, size_t len) : mString(allocFromUTF16(o, len)) {} in String16()
123 : mString(allocFromUTF8(o.string(), o.size())) in String16()
128 : mString(allocFromUTF8(o, strlen(o))) in String16()
[all …]
/system/core/libutils/include/utils/
DString16.h127 const char16_t* mString;
149 return mString; in string()
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;
208 return strzcmp16(mString, size(), other.mString, other.size()) > 0;
213 return strcmp16(mString, other) < 0;
[all …]
DString8.h244 const char* mString; variable
270 return mString; in c_str()
274 return mString; in string()
342 return strcmp(mString, other.mString); in compare()
347 return strcmp(mString, other.mString) < 0;
352 return strcmp(mString, other.mString) <= 0;
357 return strcmp(mString, other.mString) == 0;
362 return strcmp(mString, other.mString) != 0;
367 return strcmp(mString, other.mString) >= 0;
372 return strcmp(mString, other.mString) > 0;
[all …]