Lines Matching defs:oldpath
504 int SysLink(const char *oldpath, const char *newpath)
510 if (oldpath != NULL) {
511 ret = UserPathCopy(oldpath, &oldpathRet);
867 int SysRename(const char *oldpath, const char *newpath)
873 if (oldpath != NULL) {
874 ret = UserPathCopy(oldpath, &pathOldRet);
887 ret = do_rename(AT_FDCWD, (oldpath ? pathOldRet : NULL), AT_FDCWD,
1870 int SysLinkat(int olddirfd, const char *oldpath, int newdirfd, const char *newpath, int flags)
1876 if (oldpath != NULL) {
1877 ret = UserPathCopy(oldpath, &oldpathRet);
2032 int SysRenameat(int oldfd, const char *oldpath, int newdfd, const char *newpath)
2038 if (oldpath != NULL) {
2039 ret = UserPathCopy(oldpath, &pathOldRet);
2061 ret = do_rename(oldfd, (oldpath ? pathOldRet : NULL), newdfd, (newpath ? pathNewRet : NULL));