Lines Matching defs:newName
1618 nsresult nsLocalFile::MoveCopy( nsIFile* newParentDir, const nsACString &newName, PRBool isCopy, PRBool followLinks )
1633 myPLstrncpy( newPascalName, PromiseFlatCString(newName).get(), 255 );
1651 if ( !newName.IsEmpty() )
1652 myPLstrncpy( newPascalName, PromiseFlatCString(newName).get(), 255);
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)
1707 if (newName.IsEmpty())
1712 if (NS_SUCCEEDED(rv = NS_CopyUnicodeToNative(newName, 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)
1726 if (newName.IsEmpty())
1731 if (NS_SUCCEEDED(rv = NS_CopyUnicodeToNative(newName, 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)
1745 if (newName.IsEmpty())
1750 if (NS_SUCCEEDED(rv = NS_CopyUnicodeToNative(newName, fsStr)))