/external/openssh/ |
H A D | sftp-server.c | 1180 char *oldpath, *newpath; local 1184 if ((r = sshbuf_get_cstring(iqueue, &oldpath, NULL)) != 0 || 1189 logit("rename old \"%s\" new \"%s\"", oldpath, newpath); 1191 if (lstat(oldpath, &sb) == -1) 1195 if (link(oldpath, newpath) == -1) { 1211 if (rename(oldpath, newpath) == -1) 1220 } else if (unlink(oldpath) == -1) { 1227 if (rename(oldpath, newpath) == -1) 1233 free(oldpath); 1265 char *oldpath, *newpat local 1285 char *oldpath, *newpath; local 1343 char *oldpath, *newpath; local [all...] |
H A D | sftp-client.c | 864 do_rename(struct sftp_conn *conn, const char *oldpath, const char *newpath, argument 887 if ((r = sshbuf_put_cstring(msg, oldpath)) != 0 || 893 "SSH2_FXP_RENAME", oldpath, newpath); 898 error("Couldn't rename file \"%s\" to \"%s\": %s", oldpath, 905 do_hardlink(struct sftp_conn *conn, const char *oldpath, const char *newpath) argument 924 (r = sshbuf_put_cstring(msg, oldpath)) != 0 || 929 oldpath, newpath); 934 error("Couldn't link file \"%s\" to \"%s\": %s", oldpath, 941 do_symlink(struct sftp_conn *conn, const char *oldpath, const char *newpath) argument 959 (r = sshbuf_put_cstring(msg, oldpath)) ! [all...] |
/external/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_posix.h | 50 uptr internal_rename(const char *oldpath, const char *newpath);
|
H A D | sanitizer_mac.cc | 139 uptr internal_rename(const char *oldpath, const char *newpath) { argument 140 return rename(oldpath, newpath);
|
H A D | sanitizer_posix.cc | 250 bool RenameFile(const char *oldpath, const char *newpath, error_t *error_p) { argument 251 uptr res = internal_rename(oldpath, newpath);
|
H A D | sanitizer_linux.cc | 299 uptr internal_rename(const char *oldpath, const char *newpath) { argument 301 return internal_syscall(SYSCALL(renameat), AT_FDCWD, (uptr)oldpath, AT_FDCWD, 304 return internal_syscall(SYSCALL(rename), (uptr)oldpath, (uptr)newpath);
|
H A D | sanitizer_common.h | 214 bool RenameFile(const char *oldpath, const char *newpath,
|
H A D | sanitizer_win.cc | 451 bool RenameFile(const char *oldpath, const char *newpath, error_t *error_p) { argument
|
/external/libvncserver/x11vnc/ |
H A D | solid.c | 57 static char *oldpath = NULL; local 62 if (oldpath) { 63 set_env("PATH", oldpath); 64 free(oldpath); 65 oldpath = NULL; 71 oldpath = strdup(getenv("PATH")); 73 oldpath = strdup("/usr/bin"); 75 newpath = (char *) malloc(strlen(oldpath) + strlen(addpath) + 1); 78 strcat(newpath, oldpath);
|
/external/libvncserver/x11vnc/misc/ |
H A D | Xdummy | 1540 int rename(const char *oldpath, const char *newpath) { 1549 if (debug) fprintf(stderr, "RENAME: %s %s\n", oldpath, newpath); 1552 return(real_rename(oldpath, newpath)); 1555 if (strstr(oldpath, "/var/log") == oldpath) { 1559 return(real_rename(oldpath, newpath));
|
/external/e2fsprogs/misc/ |
H A D | fsck.c | 1256 char *oldpath = getenv("PATH"); local 1281 if (oldpath) { 1283 strlen (oldpath) + 1); 1290 strcat (fsck_path, oldpath);
|
H A D | mke2fs.c | 1291 char * oldpath = getenv("PATH"); local 1322 if (oldpath) 1323 pathlen += strlen(oldpath); 1333 if (oldpath) { 1335 strcat (newpath, oldpath);
|
/external/e2fsprogs/e2fsck/ |
H A D | unix.c | 1005 char *oldpath = getenv("PATH"); local 1009 if (oldpath) 1010 len += strlen(oldpath); 1017 if (oldpath) { 1019 strcat(newpath, oldpath);
|
/external/valgrind/memcheck/tests/darwin/ |
H A D | scalar.stderr.exp | 96 Syscall param link(oldpath) contains uninitialised byte(s) 102 Syscall param link(oldpath) points to unaddressable byte(s)
|
/external/valgrind/coregrind/m_syswrap/ |
H A D | syswrap-generic.c | 3637 PRE_REG_READ2(long, "link", const char *, oldpath, const char *, newpath); 3638 PRE_MEM_RASCIIZ( "link(oldpath)", ARG1); 4050 PRE_REG_READ2(long, "rename", const char *, oldpath, const char *, newpath); 4051 PRE_MEM_RASCIIZ( "rename(oldpath)", ARG1 ); 4227 PRE_REG_READ2(long, "symlink", const char *, oldpath, const char *, newpath); 4228 PRE_MEM_RASCIIZ( "symlink(oldpath)", ARG1 );
|
H A D | syswrap-linux.c | 4616 int, olddfd, const char *, oldpath, 4618 PRE_MEM_RASCIIZ( "renameat(oldpath)", ARG2 ); 4627 int, olddfd, const char *, oldpath, 4630 PRE_MEM_RASCIIZ( "linkat(oldpath)", ARG2); 4639 const char *, oldpath, int, newdfd, const char *, newpath); 4640 PRE_MEM_RASCIIZ( "symlinkat(oldpath)", ARG1 );
|
/external/valgrind/memcheck/tests/x86-linux/ |
H A D | scalar.stderr.exp | 123 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) 919 Syscall param symlink(oldpath) contains uninitialised byte(s) 927 Syscall param symlink(oldpath) points to unaddressable byte(s)
|
/external/selinux/policycoreutils/sepolicy/sepolicy/ |
H A D | gui.py | 2004 oldpath = self.unmark(self.liststore.get_value(iter, 0))
|