Lines Matching defs:newName
971 nsLocalFile::CopySingleFile(nsIFile *sourceFile, nsIFile *destParent, const nsACString &newName,
986 if (newName.IsEmpty())
994 destPath.Append(newName);
1077 nsLocalFile::CopyMove(nsIFile *aParentDir, const nsACString &newName, PRBool followSymlinks, PRBool move)
1092 if (newName.IsEmpty())
1136 return CopyMove(realDest, newName, followSymlinks, move);
1155 rv = CopySingleFile(this, newParentDir, newName, followSymlinks, move);
1169 if (newName.IsEmpty())
1189 allocatedNewName = newName;
1291 if (newName.IsEmpty())
1302 AppendNative(newName);
1310 nsLocalFile::CopyToNative(nsIFile *newParentDir, const nsACString &newName)
1312 return CopyMove(newParentDir, newName, PR_FALSE, PR_FALSE);
1316 nsLocalFile::CopyToFollowingLinksNative(nsIFile *newParentDir, const nsACString &newName)
1318 return CopyMove(newParentDir, newName, PR_TRUE, PR_FALSE);
1322 nsLocalFile::MoveToNative(nsIFile *newParentDir, const nsACString &newName)
1324 return CopyMove(newParentDir, newName, PR_FALSE, PR_TRUE);
2310 nsLocalFile::CopyTo(nsIFile *newParentDir, const nsAString &newName)
2312 if (newName.IsEmpty())
2316 nsresult rv = NS_CopyUnicodeToNative(newName, tmp);
2324 nsLocalFile::CopyToFollowingLinks(nsIFile *newParentDir, const nsAString &newName)
2326 if (newName.IsEmpty())
2330 nsresult rv = NS_CopyUnicodeToNative(newName, tmp);
2338 nsLocalFile::MoveTo(nsIFile *newParentDir, const nsAString &newName)
2340 if (newName.IsEmpty())
2344 nsresult rv = NS_CopyUnicodeToNative(newName, tmp);