HomeSort by relevance Sort by last modified time
    Searched defs:oldpath (Results 1 - 15 of 15) sorted by null

  /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 23 * if oldpath is a directory.
25 * if oldpath and newpath are not on the same mounted file system( Linux
49 char *oldpath; member in struct:tcase
63 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
90 const char *oldpath; member in struct:test_case_t
204 TEST(renameat(*(tc->oldfdptr), tc->oldpath,
228 *(tc->oldfdptr), tc->oldpath) < 0) {
231 *(tc->oldfdptr), tc->oldpath);
  /external/e2fsprogs/e2fsck/
unix.c 1111 char *oldpath = getenv("PATH"); local
1115 if (oldpath)
1116 len += strlen(oldpath);
1123 if (oldpath) {
1125 strcat(newpath, oldpath);
    [all...]
  /external/e2fsprogs/misc/
fsck.c 1264 char *oldpath = getenv("PATH"); local
1289 if (oldpath) {
1291 strlen (oldpath) + 1);
1298 strcat (fsck_path, oldpath);
mke2fs.c 1494 char * oldpath = getenv("PATH"); local
    [all...]
  /external/kmod/testsuite/
testsuite.c 1054 char *oldpath, *newpath; local
1060 oldpath = getenv("PATH");
1061 if (oldpath == NULL)
1064 if (asprintf(&newpath, "%s:%s", extra, oldpath) < 0) {
  /external/openssh/
sftp-server.c 1175 char *oldpath, *newpath; local
1179 if ((r = sshbuf_get_cstring(iqueue, &oldpath, NULL)) != 0 ||
1184 logit("rename old \"%s\" new \"%s\"", oldpath, newpath);
1186 if (lstat(oldpath, &sb) == -1)
1190 if (link(oldpath, newpath) == -1) {
1206 if (rename(oldpath, newpath) == -1)
1215 } else if (unlink(oldpath) == -1) {
1222 if (rename(oldpath, newpath) == -1)
1228 free(oldpath);
1260 char *oldpath, *newpath local
1280 char *oldpath, *newpath; local
1338 char *oldpath, *newpath; local
    [all...]
  /external/kmod/tools/
depmod.c 1110 const char *oldpath = mod->path; local
1118 oldpath, newpath);
1124 if (strncmp(oldpath, cfg->dirname, cfg->dirnamelen) == 0) {
1125 reloldpath = oldpath + cfg->dirnamelen + 1;
1150 if (depmod_is_path_starts_with(oldpath,
    [all...]

Completed in 1091 milliseconds