Lines Matching defs:inOther

113 nsSimpleCharString::nsSimpleCharString(const nsSimpleCharString& inOther)
116 mData = inOther.mData;
157 void nsSimpleCharString::operator = (const nsSimpleCharString& inOther)
160 if (mData == inOther.mData)
163 mData = inOther.mData;
168 void nsSimpleCharString::operator += (const char* inOther)
171 if (!inOther)
173 int newLength = Length() + strlen(inOther);
175 strcat(mData->mString, inOther);
179 nsSimpleCharString nsSimpleCharString::operator + (const char* inOther) const
183 result += inOther;
568 nsFileURL::nsFileURL(const nsFileURL& inOther)
570 : mURL(inOther.mURL)
572 , mFileSpec(inOther.GetFileSpec())
579 nsFileURL::nsFileURL(const nsFilePath& inOther)
582 *this = inOther;
588 nsFileURL::nsFileURL(const nsFileSpec& inOther)
591 *this = inOther;
636 void nsFileURL::operator = (const nsFileURL& inOther)
639 mURL = inOther.mURL;
641 mFileSpec = inOther.GetFileSpec();
647 void nsFileURL::operator = (const nsFilePath& inOther)
651 char* original = (char*)(const char*)inOther; // we shall modify, but restore.
671 void nsFileURL::operator = (const nsFileSpec& inOther)
674 *this = nsFilePath(inOther);
675 if (mURL[mURL.Length() - 1] != '/' && inOther.IsDirectory())
750 nsFilePath::nsFilePath(const nsFileURL& inOther)
753 mPath = (const char*)inOther.mURL + kFileURLPrefixLength;
760 nsFilePath::nsFilePath(const nsFileSpec& inOther)
762 : mPath(inOther.mPath)
775 void nsFilePath::operator = (const nsFileSpec& inOther)
780 mPath = inOther.mPath;
807 void nsFilePath::operator = (const nsFileURL& inOther)
810 mPath = (const char*)nsFilePath(inOther);
815 void nsFilePath::operator = (const nsFilePath& inOther)
818 mPath = inOther.mPath;
820 mFileSpec = inOther.GetFileSpec();
1075 PRBool nsFileSpec::operator == (const nsFileSpec& inOther) const
1080 if ( inOther.mSpec.vRefNum == mSpec.vRefNum &&
1081 inOther.mSpec.parID == mSpec.parID &&
1082 EqualString(inOther.mSpec.name, mSpec.name, false, true))
1086 PRBool heEmpty = inOther.mPath.IsEmpty();
1093 nsSimpleCharString inStr = inOther.mPath;
1129 PRBool nsFileSpec::operator != (const nsFileSpec& inOther) const
1132 return (! (*this == inOther) );