Lines Matching refs:inSpec
604 * (1) inSpec does not have to exist
607 static OSErr HFSPlusGetRawPath(const FSSpec& inSpec, nsAString& outStr)
617 err = ::FSpMakeFSRef(&inSpec, &nodeRef);
621 err = GetParentFolderSpec(inSpec, parentDirSpec);
623 const char *startPtr = (const char*)&inSpec.name[1];
624 NS_CopyNativeToUnicode(Substring(startPtr, startPtr + PRUint32(inSpec.name[0])), outStr);
655 static OSErr ResolvePathAndSpec(const char * filePath, FSSpec *inSpec, PRBool createDirs, FSSpec *outSpec)
659 Boolean isRelative = (filePath && inSpec);
664 if (isRelative && inSpec)
666 outSpec->vRefNum = inSpec->vRefNum;
667 outSpec->parID = inSpec->parID;
669 if (inSpec->name[0] != 0)
673 err = FSpGetDirectoryID(inSpec, &theDirID, &isDirectory);
679 err = FSpDirCreate(inSpec, smCurrentScript, &theDirID);
3528 NS_NewLocalFileWithFSSpec(const FSSpec* inSpec, PRBool followLinks, nsILocalFileMac* *result)
3537 nsresult rv = file->InitWithFSSpec(inSpec);