Lines Matching defs:newName
544 nsLocalFile::CopySingleFile(nsIFile *sourceFile, nsIFile *destParent, const nsACString &newName, PRBool move)
554 if (newName.IsEmpty())
562 destPath.Append(newName);
631 nsLocalFile::CopyMove(nsIFile *aParentDir, const nsACString &newName, PRBool move)
643 if (newName.IsEmpty())
680 rv = CopySingleFile(this, newParentDir, newName, move);
694 if (newName.IsEmpty())
700 allocatedNewName = newName;
769 if (newName.IsEmpty())
780 AppendNative(newName);
788 nsLocalFile::CopyToNative(nsIFile *newParentDir, const nsACString &newName)
790 return CopyMove(newParentDir, newName, PR_FALSE);
794 nsLocalFile::CopyToFollowingLinksNative(nsIFile *newParentDir, const nsACString &newName)
796 return CopyMove(newParentDir, newName, PR_FALSE);
800 nsLocalFile::MoveToNative(nsIFile *newParentDir, const nsACString &newName)
802 return CopyMove(newParentDir, newName, PR_TRUE);
1660 nsLocalFile::CopyTo(nsIFile *newParentDir, const nsAString &newName)
1662 if (newName.IsEmpty())
1666 nsresult rv = NS_CopyUnicodeToNative(newName, tmp);
1675 nsLocalFile::CopyToFollowingLinks(nsIFile *newParentDir, const nsAString &newName)
1677 if (newName.IsEmpty())
1681 nsresult rv = NS_CopyUnicodeToNative(newName, tmp);
1690 nsLocalFile::MoveTo(nsIFile *newParentDir, const nsAString &newName)
1692 if (newName.IsEmpty())
1696 nsresult rv = NS_CopyUnicodeToNative(newName, tmp);