Lines Matching defs:newParentDir
1618 nsresult nsLocalFile::MoveCopy( nsIFile* newParentDir, const nsACString &newName, PRBool isCopy, PRBool followLinks )
1630 // If newParentDir == nsnull, it's a simple rename
1631 if ( !newParentDir )
1638 nsCOMPtr<nsILocalFileMac> destDir(do_QueryInterface( newParentDir ));
1689 rv = CopyToNative( newParentDir, newName );
1699 nsLocalFile::CopyToNative(nsIFile *newParentDir, const nsACString &newName)
1701 return MoveCopy( newParentDir, newName, PR_TRUE, PR_FALSE );
1705 nsLocalFile::CopyTo(nsIFile *newParentDir, const nsAString &newName)
1708 return CopyToNative(newParentDir, nsCString());
1713 rv = CopyToNative(newParentDir, fsStr);
1718 nsLocalFile::CopyToFollowingLinksNative(nsIFile *newParentDir, const nsACString &newName)
1720 return MoveCopy( newParentDir, newName, PR_TRUE, PR_TRUE );
1724 nsLocalFile::CopyToFollowingLinks(nsIFile *newParentDir, const nsAString &newName)
1727 return CopyToFollowingLinksNative(newParentDir, nsCString());
1732 rv = CopyToFollowingLinksNative(newParentDir, fsStr);
1737 nsLocalFile::MoveToNative(nsIFile *newParentDir, const nsACString &newName)
1739 return MoveCopy( newParentDir, newName, PR_FALSE, PR_FALSE );
1743 nsLocalFile::MoveTo(nsIFile *newParentDir, const nsAString &newName)
1746 return MoveToNative(newParentDir, nsCString());
1751 rv = MoveToNative(newParentDir, fsStr);