/external/strace/tests/ |
symlinkat.c | 13 static const char oldpath[] = "symlink_old"; local 16 long rc = syscall(__NR_symlinkat, oldpath, fd, newpath); 18 oldpath, (int) fd, newpath, rc, errno2name());
|
renameat2.c | 42 static const char oldpath[] = "renameat2_oldpath"; local 50 olddirfd, oldpath, newdirfd, newpath, 1); 53 (int) olddirfd, oldpath, newpath, rc, errno2name());
|
/external/strace/tests-m32/ |
symlinkat.c | 13 static const char oldpath[] = "symlink_old"; local 16 long rc = syscall(__NR_symlinkat, oldpath, fd, newpath); 18 oldpath, (int) fd, newpath, rc, errno2name());
|
renameat2.c | 42 static const char oldpath[] = "renameat2_oldpath"; local 50 olddirfd, oldpath, newdirfd, newpath, 1); 53 (int) olddirfd, oldpath, newpath, rc, errno2name());
|
/external/strace/tests-mx32/ |
symlinkat.c | 13 static const char oldpath[] = "symlink_old"; local 16 long rc = syscall(__NR_symlinkat, oldpath, fd, newpath); 18 oldpath, (int) fd, newpath, rc, errno2name());
|
renameat2.c | 42 static const char oldpath[] = "renameat2_oldpath"; local 50 olddirfd, oldpath, newdirfd, newpath, 1); 53 (int) olddirfd, oldpath, newpath, rc, errno2name());
|
/external/ltp/testcases/kernel/syscalls/link/ |
link08.c | 24 * if oldpath is a directory. 26 * if oldpath and newpath are not on the same mounted file system( Linux 67 char *oldpath; member in struct:test_case_t 103 TEST(link(tc->oldpath, tc->newpath));
|
/external/ltp/testcases/kernel/syscalls/renameat2/ |
renameat201.c | 27 * both olddirfd and newdirfd are valid and oldpath exists and 58 const char *oldpath; member in struct:test_case 137 TEST(renameat2(*(test->olddirfd), test->oldpath,
|
/external/ltp/testcases/kernel/syscalls/renameat/ |
renameat01.c | 24 * 2) renameat(2) returns -1 and sets errno to ENOTDIR if oldpath 29 * symbolic links were encountered in resolving oldpath or 33 * 5) renameat(2) returns -1 and sets errno to EMLINK if oldpath 91 const char *oldpath; member in struct:test_case_t 211 TEST(renameat(*(tc->oldfdptr), tc->oldpath, 235 *(tc->oldfdptr), tc->oldpath) < 0) { 238 *(tc->oldfdptr), tc->oldpath);
|
/external/kmod/testsuite/ |
testsuite.c | 851 char *oldpath, *newpath; local 857 oldpath = getenv("PATH"); 858 if (oldpath == NULL) 861 if (asprintf(&newpath, "%s:%s", extra, oldpath) < 0) {
|
/external/e2fsprogs/e2fsck/ |
unix.c | 1069 char *oldpath = getenv("PATH"); local 1073 if (oldpath) 1074 len += strlen(oldpath); 1081 if (oldpath) { 1083 strcat(newpath, oldpath); [all...] |
/external/e2fsprogs/misc/ |
fsck.c | 1257 char *oldpath = getenv("PATH"); local 1282 if (oldpath) { 1284 strlen (oldpath) + 1); 1291 strcat (fsck_path, oldpath);
|
mke2fs.c | 1465 char * oldpath = getenv("PATH"); local [all...] |
/external/openssh/ |
sftp-server.c | 1179 char *oldpath, *newpath; local 1183 if ((r = sshbuf_get_cstring(iqueue, &oldpath, NULL)) != 0 || 1188 logit("rename old \"%s\" new \"%s\"", oldpath, newpath); 1190 if (lstat(oldpath, &sb) == -1) 1194 if (link(oldpath, newpath) == -1) { 1210 if (rename(oldpath, newpath) == -1) 1219 } else if (unlink(oldpath) == -1) { 1226 if (rename(oldpath, newpath) == -1) 1232 free(oldpath); 1264 char *oldpath, *newpath local 1284 char *oldpath, *newpath; local 1342 char *oldpath, *newpath; local [all...] |
/external/kmod/tools/ |
depmod.c | 1010 const char *oldpath = mod->path; local 1014 assert(strncmp(oldpath, cfg->dirname, cfg->dirnamelen) == 0); 1018 oldpath += cfg->dirnamelen + 1; 1022 oldpath, newpath); 1028 if (oldlen == ov->len && memcmp(ov->path, oldpath, oldlen) == 0) 1039 else if (oldlen > se->len && oldpath[se->len] == '/' && 1040 memcmp(se->path, oldpath, se->len) == 0) [all...] |