Lines Matching refs:mLength
72 const_char_iterator EndReading() const { return mData + mLength; }
81 iter.mEnd = mData + mLength;
89 iter.mEnd = mData + mLength;
101 return iter = mData + mLength;
110 char_iterator EndWriting() { EnsureMutable(); return mData + mLength; }
120 iter.mEnd = mData + mLength;
129 iter.mEnd = mData + mLength;
143 return iter = mData + mLength;
159 return mLength;
164 return mLength == 0;
179 NS_ASSERTION(i < mLength, "index exceeds allowable range");
190 NS_ASSERTION(mLength > 0, "|First()| called on an empty string");
197 NS_ASSERTION(mLength > 0, "|Last()| called on an empty string");
198 return mData[mLength - 1];
335 void Append( char_type c ) { Replace(mLength, 0, c); }
336 void Append( const char_type* data, size_type length = size_type(-1) ) { Replace(mLength, 0, data, length); }
337 void Append( const self_type& str ) { Replace(mLength, 0, str); }
338 void Append( const substring_tuple_type& tuple ) { Replace(mLength, 0, tuple); }
339 void Append( const abstract_string_type& readable ) { Replace(mLength, 0, readable); }
341 void AppendASCII( const char* data, size_type length = size_type(-1) ) { ReplaceASCII(mLength, 0, data, length); }
383 NS_ASSERTION(newLength <= mLength, "Truncate cannot make string longer");
426 // version of constructor that leaves mData and mLength uninitialized
435 str.mData, str.mLength, str.mFlags & (F_TERMINATED | F_VOIDED)) {}
507 return ( start < (mData + mLength) && end > mData );