Lines Matching refs:mData

71       const_char_iterator BeginReading() const { return mData; }
72 const_char_iterator EndReading() const { return mData + mLength; }
80 iter.mStart = mData;
81 iter.mEnd = mData + mLength;
88 iter.mStart = mData;
89 iter.mEnd = mData + mLength;
96 return iter = mData;
101 return iter = mData + mLength;
109 char_iterator BeginWriting() { EnsureMutable(); return mData; }
110 char_iterator EndWriting() { EnsureMutable(); return mData + mLength; }
119 iter.mStart = mData;
120 iter.mEnd = mData + mLength;
128 iter.mStart = mData;
129 iter.mEnd = mData + mLength;
137 return iter = mData;
143 return iter = mData + mLength;
154 return mData;
180 return mData[i];
191 return mData[0];
198 return mData[mLength - 1];
426 // version of constructor that leaves mData and mLength uninitialized
435 str.mData, str.mLength, str.mFlags & (F_TERMINATED | F_VOIDED)) {}
438 * this function releases mData and does not change the value of
445 * this function prepares mData to be mutated.
447 * @param capacity specifies the required capacity of mData
448 * @param old_data returns null or the old value of mData
451 * if mData is already mutable and of sufficient capacity, then this
453 * mData or allocate a new shared buffer. if it needs to allocate a
462 * this function prepares a section of mData to be modified. if
463 * necessary, this function will reallocate mData and possibly move
470 * for example, suppose mData contains the string "abcdef" then
474 * would cause mData to look like "ab____f" where the characters
476 * modified. this function will null-terminate mData upon return.
481 * returns the number of writable storage units starting at mData.
484 * NOTE: this function returns size_type(-1) if mData is immutable.
490 * the contents of mData. see, for example, BeginWriting.
507 return ( start < (mData + mLength) && end > mData );
534 F_SHARED = 1 << 2, // mData points to a heap-allocated, shared buffer
535 F_OWNED = 1 << 3, // mData points to a heap-allocated, raw buffer
536 F_FIXED = 1 << 4, // mData points to a fixed-size writable, dependent buffer
564 // indicate the allocation type of mData. If none of these flags
571 // F_VOIDED implies F_TERMINATED, and moreover it implies that mData