Lines Matching refs:inSpec
97 const FSSpec& inSpec );
110 PRBool IsAliasSafe(const FSSpec& inSpec);
472 PRBool MacFileHelpers::IsAliasSafe(const FSSpec& inSpec)
478 || (inSpec.parID == sAliasHavenDirID && inSpec.vRefNum == sAliasHavenVRefNum);
529 char* MacFileHelpers::PathNameFromFSSpec( const FSSpec& inSpec )
538 FSSpec nonConstSpec = inSpec;
573 nsFileSpec::nsFileSpec(const FSSpec& inSpec, PRBool resolveAlias)
575 : mSpec(inSpec)
587 void nsFileSpec::operator = (const FSSpec& inSpec)
590 mSpec = inSpec;
595 nsFileSpec::nsFileSpec(const nsFileSpec& inSpec)
597 : mSpec(inSpec.mSpec)
598 , mError(inSpec.Error())
676 void nsFileSpec::operator = (const nsFileSpec& inSpec)
680 mSpec.vRefNum = inSpec.mSpec.vRefNum;
681 mSpec.parID = inSpec.mSpec.parID;
683 PRInt32 copySize = inSpec.mSpec.name[0] + 1;
684 if (copySize > sizeof(inSpec.mSpec.name))
685 copySize = sizeof(inSpec.mSpec.name);
686 memcpy(mSpec.name, inSpec.mSpec.name, copySize);
687 mError = inSpec.Error(); // note that the error is propagated
1247 nsFilePath::nsFilePath(const nsFileSpec& inSpec)
1250 *this = inSpec;
1261 void nsFilePath::operator = (const nsFileSpec& inSpec)
1264 char * path = MacFileHelpers::PathNameFromFSSpec(inSpec);
1268 mFileSpec = inSpec;