Home | History | Annotate | Download | only in src

Lines Matching full:other

12  *    the documentation and/or other materials provided with the
340 // Specialization to append from other strings' iterators.
378 int string::compare(const string& other) const
380 if (this == &other)
384 else if (mLength == other.mLength)
386 return memcmp(mData, other.mData, mLength);
390 return mLength < other.mLength ? -1 : 1;
394 int string::compare(const value_type *other) const
396 if (NULL == other)
400 return strcmp(mData, other);
446 void string::swap(string& other)
448 if (this == &other) return;
453 mData = other.mData;
454 mCapacity = other.mCapacity;
455 mLength = other.mLength;
457 other.mData = tmp_mData;
458 other.mCapacity = tmp_mCapacity;
459 other.mLength = tmp_mLength;