Lines Matching refs:destination
137 BEntry destination(_destination);
138 ret = destination.InitCheck();
142 return _Copy(source, destination, cancelSemaphore, copyAttributes);
185 BFile* destination = new (nothrow) BFile(&_destination,
187 ret = destination->InitCheck();
189 delete destination;
204 Buffer* buffer = new (nothrow) Buffer(destination);
206 delete destination;
218 delete destination;
238 delete destination;
314 CopyEngine::_Copy(BEntry &source, BEntry &destination,
333 BPath destPath(&destination);
350 // attributes of the current source to the destination will be copied
360 if (destination.Exists()) {
361 if (destination.IsDirectory()) {
367 ret = destination.Remove();
379 // the existing destination was a file instead of a directory.
386 BDirectory destDirectory(&destination);
402 if (destination.Exists()) {
403 if (destination.IsDirectory())
404 ret = CopyEngine::RemoveFolder(destination);
406 ret = destination.Remove();
436 ret = destination.GetParent(&dstFolder);
445 ret = _CopyData(source, destination);
454 BNode targetNode(&destination);
478 destination.SetPermissions(sourceInfo.st_mode);
479 destination.SetOwner(sourceInfo.st_uid);
480 destination.SetGroup(sourceInfo.st_gid);
481 destination.SetModificationTime(sourceInfo.st_mtime);
482 destination.SetCreationTime(sourceInfo.st_crtime);