Lines Matching defs:target
687 // get an entry representing the target location
688 BEntry target;
691 error = target.SetTo(path);
697 error = target.fCStatus = target.set(dirFD, path, false);
701 return _Rename(target, clobber);
735 // get an entry representing the target location
736 BEntry target;
737 status_t error = target.SetTo(dir, path);
740 return _Rename(target, clobber);
975 // that's fine -- the entry is abstract and was not target of
1034 specified by \a target.
1036 If an entry exists at the target location, the method fails, unless
1043 \param target The entry specifying the target location.
1044 \param clobber If \c true, the an entry existing at the target location
1049 BEntry::_Rename(BEntry& target, bool clobber)
1052 if (!clobber && target.Exists())
1055 status_t error = _kern_rename(fDirFd, fName, target.fDirFd, target.fName);
1058 fCStatus = target.fCStatus;
1059 fDirFd = target.fDirFd;
1060 fName = target.fName;
1061 target.fCStatus = B_NO_INIT;
1062 target.fDirFd = -1;
1063 target.fName = NULL;