Searched refs:oldpath (Results 1 - 11 of 11) sorted by relevance

/external/openssh/
H A Dsftp-server.c1064 char *oldpath, *newpath; local
1069 oldpath = get_string(NULL);
1072 logit("rename old \"%s\" new \"%s\"", oldpath, newpath);
1076 else if (lstat(oldpath, &sb) == -1)
1080 if (link(oldpath, newpath) == -1) {
1096 if (rename(oldpath, newpath) == -1)
1105 } else if (unlink(oldpath) == -1) {
1112 if (rename(oldpath, newpath) == -1)
1118 xfree(oldpath);
1151 char *oldpath, *newpat local
1174 char *oldpath, *newpath; local
1231 char *oldpath, *newpath; local
[all...]
H A Dsftp-client.c769 do_rename(struct sftp_conn *conn, char *oldpath, char *newpath) argument
786 buffer_put_cstring(&msg, oldpath);
791 "SSH2_FXP_RENAME", oldpath, newpath);
796 error("Couldn't rename file \"%s\" to \"%s\": %s", oldpath,
803 do_hardlink(struct sftp_conn *conn, char *oldpath, char *newpath) argument
820 buffer_put_cstring(&msg, oldpath);
824 oldpath, newpath);
829 error("Couldn't link file \"%s\" to \"%s\": %s", oldpath,
836 do_symlink(struct sftp_conn *conn, char *oldpath, char *newpath) argument
852 buffer_put_cstring(&msg, oldpath);
[all...]
/external/yaffs2/yaffs2/direct/
H A Dyaffsfs.h203 int yaffs_symlink(const char *oldpath, const char *newpath);
206 int yaffs_link(const char *oldpath, const char *newpath);
H A Dyaffsfs.c1352 int yaffs_symlink(const char *oldpath, const char *newpath) argument
1362 obj = yaffs_MknodSymLink(parent,name,mode,0,0,oldpath);
1410 int yaffs_link(const char *oldpath, const char *newpath) argument
1412 // Creates a link called newpath to existing oldpath
1420 obj = yaffsfs_FindObject(NULL,oldpath,0);
/external/e2fsprogs/misc/
H A Dfsck.c1256 char *oldpath = getenv("PATH"); local
1281 if (oldpath) {
1283 strlen (oldpath) + 1);
1290 strcat (fsck_path, oldpath);
H A Dmke2fs.c1193 char * oldpath = getenv("PATH"); local
1208 if (oldpath)
1209 pathlen += strlen(oldpath);
1214 if (oldpath) {
1216 strcat (newpath, oldpath);
/external/e2fsprogs/e2fsck/
H A Dunix.c897 char *oldpath = getenv("PATH"); local
901 if (oldpath)
902 len += strlen(oldpath);
909 if (oldpath) {
911 strcat(newpath, oldpath);
/external/valgrind/main/memcheck/tests/darwin/
H A Dscalar.stderr.exp96 Syscall param link(oldpath) contains uninitialised byte(s)
102 Syscall param link(oldpath) points to unaddressable byte(s)
/external/valgrind/main/coregrind/m_syswrap/
H A Dsyswrap-generic.c3465 PRE_REG_READ2(long, "link", const char *, oldpath, const char *, newpath);
3466 PRE_MEM_RASCIIZ( "link(oldpath)", ARG1);
3852 PRE_REG_READ2(long, "rename", const char *, oldpath, const char *, newpath);
3853 PRE_MEM_RASCIIZ( "rename(oldpath)", ARG1 );
4019 PRE_REG_READ2(long, "symlink", const char *, oldpath, const char *, newpath);
4020 PRE_MEM_RASCIIZ( "symlink(oldpath)", ARG1 );
H A Dsyswrap-linux.c3304 int, olddfd, const char *, oldpath,
3306 PRE_MEM_RASCIIZ( "renameat(oldpath)", ARG2 );
3315 int, olddfd, const char *, oldpath,
3318 PRE_MEM_RASCIIZ( "linkat(oldpath)", ARG2);
3327 const char *, oldpath, int, newdfd, const char *, newpath);
3328 PRE_MEM_RASCIIZ( "symlinkat(oldpath)", ARG1 );
/external/valgrind/main/memcheck/tests/x86-linux/
H A Dscalar.stderr.exp123 Syscall param link(oldpath) contains uninitialised byte(s)
131 Syscall param link(oldpath) points to unaddressable byte(s)
425 Syscall param rename(oldpath) contains uninitialised byte(s)
433 Syscall param rename(oldpath) points to unaddressable byte(s)
918 Syscall param symlink(oldpath) contains uninitialised byte(s)
926 Syscall param symlink(oldpath) points to unaddressable byte(s)

Completed in 275 milliseconds