Searched refs:mString (Results 1 – 4 of 4) sorted by relevance
/system/core/libutils/ |
D | String8.cpp | 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() [all …]
|
D | String16.cpp | 89 : mString(getEmptyString()) in String16() 94 : mString(o.mString) in String16() 100 : mString(getEmptyString()) in String16() 105 String16::String16(const char16_t* o) : mString(allocFromUTF16(o, strlen16(o))) {} in String16() 107 String16::String16(const char16_t* o, size_t len) : mString(allocFromUTF16(o, len)) {} in String16() 110 : mString(allocFromUTF8(o.string(), o.size())) in String16() 115 : mString(allocFromUTF8(o, strlen(o))) in String16() 120 : mString(allocFromUTF8(o, len)) in String16() 134 return SharedBuffer::sizeFromData(mString) / sizeof(char16_t) - 1; in size() 141 mString = other.mString; in setTo() [all …]
|
/system/core/libutils/include/utils/ |
D | String8.h | 226 const char* mString; variable 257 return mString; in c_str() 261 return mString; in string() 329 return strcmp(mString, other.mString); in compare() 334 return strcmp(mString, other.mString) < 0; 339 return strcmp(mString, other.mString) <= 0; 344 return strcmp(mString, other.mString) == 0; 349 return strcmp(mString, other.mString) != 0; 354 return strcmp(mString, other.mString) >= 0; 359 return strcmp(mString, other.mString) > 0; [all …]
|
D | String16.h | 138 const char16_t* mString; variable 174 explicit constexpr String16(const StaticData<N>& s) : mString(s.data) {} in String16() 178 explicit constexpr String16(const StaticString16<N>& s) : mString(s.mString) {} in String16() 241 return mString; in string() 270 return strzcmp16(mString, size(), other.mString, other.size()); in compare() 275 return strzcmp16(mString, size(), other.mString, other.size()) < 0; 280 return strzcmp16(mString, size(), other.mString, other.size()) <= 0; 285 return strzcmp16(mString, size(), other.mString, other.size()) == 0; 290 return strzcmp16(mString, size(), other.mString, other.size()) != 0; 295 return strzcmp16(mString, size(), other.mString, other.size()) >= 0; [all …]
|