Home | History | Annotate | Download | only in filesystem

Lines Matching refs:newName

149 static bool verifyAndGetDestinationPathForCopyOrMove(const EntryBase* source, EntryBase* parent, const String& newName, String& destinationPath)
156 if (!newName.isEmpty() && !DOMFilePath::isValidName(newName))
166 if (isSameFileSystem && (newName.isEmpty() || source->name() == newName) && DOMFilePath::getDirectory(source->fullPath()) == parent->fullPath())
170 if (!newName.isEmpty())
171 destinationPath = DOMFilePath::append(destinationPath, newName);
191 bool DOMFileSystemBase::move(const EntryBase* source, EntryBase* parent, const String& newName, PassRefPtr<EntryCallback> successCallback, PassRefPtr<ErrorCallback> errorCallback, SynchronousType synchronousType)
194 if (!verifyAndGetDestinationPathForCopyOrMove(source, parent, newName, destinationPath))
204 bool DOMFileSystemBase::copy(const EntryBase* source, EntryBase* parent, const String& newName, PassRefPtr<EntryCallback> successCallback, PassRefPtr<ErrorCallback> errorCallback, SynchronousType synchronousType)
207 if (!verifyAndGetDestinationPathForCopyOrMove(source, parent, newName, destinationPath))