Lines Matching full:mdata
71 const TChar* mData;
83 inline BasicStringPiece<TChar>::BasicStringPiece() : mData(nullptr) , mLength(0) {
88 mData(str.mData), mLength(str.mLength) {
93 mData(str.data()), mLength(str.length()) {
98 mData(str), mLength(str != nullptr ? strlen(str) : 0) {
103 mData(str), mLength(str != nullptr ? strlen16(str) : 0) {
108 mData(str), mLength(len) {
114 mData = rhs.mData;
121 mData = str;
132 return BasicStringPiece<TChar>(mData + start, len);
144 return mData;
164 return std::basic_string<TChar>(mData, mLength);
169 if (!mData || !rhs.mData) {
175 return strstr(mData, rhs.mData) != nullptr;
181 const char* b1 = mData != nullptr ? mData : &nullStr;
183 const char* b2 = rhs.mData != nullptr ? rhs.mData : &nullStr;
202 if (!mData || !rhs.mData) {
208 return strstr16(mData, rhs.mData) != nullptr;
214 const char16_t* b1 = mData != nullptr ? mData : &nullStr;
215 const char16_t* b2 = rhs.mData != nullptr ? rhs.mData : &nullStr;
241 return mData;
246 return mData + mLength;