Lines Matching defs:target
391 // get an entry representing the target location
392 BEntry target;
395 error = target.SetTo(path);
401 error = target.fCStatus = target._SetTo(dirFD, path, false);
405 return _Rename(target, clobber);
422 // get an entry representing the target location
423 BEntry target;
424 status_t error = target.SetTo(dir, path);
427 return _Rename(target, clobber);
644 // that's fine -- the entry is abstract and was not target of
707 specified by \a target.
709 If an entry exists at the target location, the method fails, unless
716 \param target The entry specifying the target location.
717 \param clobber If \c true, the an entry existing at the target location
723 BEntry::_Rename(BEntry& target, bool clobber)
726 if (!clobber && target.Exists())
729 status_t error = _kern_rename(fDirFd, fName, target.fDirFd, target.fName);
732 fCStatus = target.fCStatus;
733 fDirFd = target.fDirFd;
734 fName = target.fName;
735 target.fCStatus = B_NO_INIT;
736 target.fDirFd = -1;
737 target.fName = NULL;