Home
last modified time | relevance | path

Searched refs:oldpath (Results 1 – 25 of 52) sorted by relevance

123

/external/swiftshader/third_party/llvm-7.0/llvm/test/ThinLTO/X86/
Dprefix_replace.ll3 ; RUN: mkdir -p %t/oldpath
4 ; RUN: opt -module-summary %s -o %t/oldpath/prefix_replace.o
9 ; RUN: llvm-lto -thinlto-action=thinlink -o %t.index.bc %t/oldpath/prefix_replace.o
10 …distributedindexes -thinlto-prefix-replace="%t/oldpath/;%t/newpath/" -thinlto-index %t.index.bc %t…
/external/llvm/test/ThinLTO/X86/
Dprefix_replace.ll3 ; RUN: mkdir -p %T/oldpath
4 ; RUN: opt -module-summary %s -o %T/oldpath/prefix_replace.o
9 ; RUN: llvm-lto -thinlto-action=thinlink -o %t.index.bc %T/oldpath/prefix_replace.o
10 …distributedindexes -thinlto-prefix-replace="%T/oldpath/;%T/newpath/" -thinlto-index %t.index.bc %T…
/external/llvm/test/tools/gold/X86/
Dthinlto_prefix_replace.ll2 ; RUN: mkdir -p %T/oldpath
3 ; RUN: opt -module-summary %s -o %T/oldpath/thinlto_prefix_replace.o
10 ; RUN: --plugin-opt=thinlto-prefix-replace="%T/oldpath/;%T/newpath/" \
11 ; RUN: -shared %T/oldpath/thinlto_prefix_replace.o -o %T/thinlto_prefix_replace
/external/strace/tests-mx32/
Dsymlinkat.c13 static const char oldpath[] = "symlink_old"; in main() local
16 long rc = syscall(__NR_symlinkat, oldpath, fd, newpath); in main()
18 oldpath, (int) fd, newpath, rc, errno2name()); in main()
Drenameat2.c42 static const char oldpath[] = "renameat2_oldpath"; in main() local
50 olddirfd, oldpath, newdirfd, newpath, 1); in main()
53 (int) olddirfd, oldpath, newpath, rc, errno2name()); in main()
/external/strace/tests-m32/
Dsymlinkat.c13 static const char oldpath[] = "symlink_old"; in main() local
16 long rc = syscall(__NR_symlinkat, oldpath, fd, newpath); in main()
18 oldpath, (int) fd, newpath, rc, errno2name()); in main()
Drenameat2.c42 static const char oldpath[] = "renameat2_oldpath"; in main() local
50 olddirfd, oldpath, newdirfd, newpath, 1); in main()
53 (int) olddirfd, oldpath, newpath, rc, errno2name()); in main()
/external/strace/tests/
Dsymlinkat.c13 static const char oldpath[] = "symlink_old"; in main() local
16 long rc = syscall(__NR_symlinkat, oldpath, fd, newpath); in main()
18 oldpath, (int) fd, newpath, rc, errno2name()); in main()
Drenameat2.c42 static const char oldpath[] = "renameat2_oldpath"; in main() local
50 olddirfd, oldpath, newdirfd, newpath, 1); in main()
53 (int) olddirfd, oldpath, newpath, rc, errno2name()); in main()
/external/swiftshader/third_party/llvm-7.0/llvm/test/tools/gold/X86/
Dthinlto_prefix_replace.ll2 ; RUN: mkdir -p %t/oldpath
3 ; RUN: opt -module-summary %s -o %t/oldpath/thinlto_prefix_replace.o
10 ; RUN: --plugin-opt=thinlto-prefix-replace="%t/oldpath/;%t/newpath/" \
11 ; RUN: -shared %t/oldpath/thinlto_prefix_replace.o -o %t/thinlto_prefix_replace
/external/ltp/include/old/
Dsafe_macros.h94 #define SAFE_LINK(cleanup_fn, oldpath, newpath) \ argument
95 safe_link(__FILE__, __LINE__, cleanup_fn, (oldpath), (newpath))
97 #define SAFE_LINKAT(cleanup_fn, olddirfd, oldpath, newdirfd, newpath, flags) \ argument
98 safe_linkat(__FILE__, __LINE__, cleanup_fn, (olddirfd), (oldpath), \
104 #define SAFE_SYMLINK(cleanup_fn, oldpath, newpath) \ argument
105 safe_symlink(__FILE__, __LINE__, cleanup_fn, (oldpath), (newpath))
147 #define SAFE_RENAME(cleanup_fn, oldpath, newpath) \ argument
148 safe_rename(__FILE__, __LINE__, (cleanup_fn), (oldpath), (newpath))
/external/ltp/include/lapi/
Drenameat.h28 int renameat(int olddirfd, const char *oldpath, int newdirfd, in renameat() argument
31 return ltp_syscall(__NR_renameat, olddirfd, oldpath, newdirfd, in renameat()
/external/ltp/testcases/kernel/syscalls/renameat2/
Drenameat2.h27 int renameat2(int olddirfd, const char *oldpath, int newdirfd, in renameat2() argument
30 return ltp_syscall(__NR_renameat2, olddirfd, oldpath, newdirfd, in renameat2()
Drenameat201.c58 const char *oldpath; member
137 TEST(renameat2(*(test->olddirfd), test->oldpath, in renameat2_verify()
/external/openssh/
Dsftp-server.c1175 char *oldpath, *newpath; in process_rename() local
1179 if ((r = sshbuf_get_cstring(iqueue, &oldpath, NULL)) != 0 || in process_rename()
1184 logit("rename old \"%s\" new \"%s\"", oldpath, newpath); in process_rename()
1186 if (lstat(oldpath, &sb) == -1) in process_rename()
1190 if (link(oldpath, newpath) == -1) { in process_rename()
1206 if (rename(oldpath, newpath) == -1) in process_rename()
1215 } else if (unlink(oldpath) == -1) { in process_rename()
1222 if (rename(oldpath, newpath) == -1) in process_rename()
1228 free(oldpath); in process_rename()
1260 char *oldpath, *newpath; in process_symlink() local
[all …]
Dsftp-client.c873 do_rename(struct sftp_conn *conn, const char *oldpath, const char *newpath, in do_rename() argument
896 if ((r = sshbuf_put_cstring(msg, oldpath)) != 0 || in do_rename()
902 "SSH2_FXP_RENAME", oldpath, newpath); in do_rename()
907 error("Couldn't rename file \"%s\" to \"%s\": %s", oldpath, in do_rename()
914 do_hardlink(struct sftp_conn *conn, const char *oldpath, const char *newpath) in do_hardlink() argument
933 (r = sshbuf_put_cstring(msg, oldpath)) != 0 || in do_hardlink()
938 oldpath, newpath); in do_hardlink()
943 error("Couldn't link file \"%s\" to \"%s\": %s", oldpath, in do_hardlink()
950 do_symlink(struct sftp_conn *conn, const char *oldpath, const char *newpath) in do_symlink() argument
968 (r = sshbuf_put_cstring(msg, oldpath)) != 0 || in do_symlink()
[all …]
Dsftp.0270 ln [-s] oldpath newpath
271 Create a link from oldpath to newpath. If the -s flag is
357 rename oldpath newpath
358 Rename remote file from oldpath to newpath.
366 symlink oldpath newpath
367 Create a symbolic link from oldpath to newpath.
/external/ltp/testcases/kernel/syscalls/renameat/
Drenameat01.c90 const char *oldpath; member
204 TEST(renameat(*(tc->oldfdptr), tc->oldpath, in renameat_verify()
228 *(tc->oldfdptr), tc->oldpath) < 0) { in renameat_verify()
231 *(tc->oldfdptr), tc->oldpath); in renameat_verify()
/external/ltp/include/
Dsafe_macros_fn.h98 void (cleanup_fn)(void), const char *oldpath,
102 void (cleanup_fn)(void), int olddirfd, const char *oldpath,
110 void (cleanup_fn)(void), const char *oldpath,
155 const char *oldpath, const char *newpath);
Dtst_safe_macros.h149 #define SAFE_LINK(oldpath, newpath) \ argument
150 safe_link(__FILE__, __LINE__, NULL, (oldpath), (newpath))
152 #define SAFE_LINKAT(olddirfd, oldpath, newdirfd, newpath, flags) \ argument
153 safe_linkat(__FILE__, __LINE__, NULL, (olddirfd), (oldpath), \
159 #define SAFE_SYMLINK(oldpath, newpath) \ argument
160 safe_symlink(__FILE__, __LINE__, NULL, (oldpath), (newpath))
201 #define SAFE_RENAME(oldpath, newpath) \ argument
202 safe_rename(__FILE__, __LINE__, NULL, (oldpath), (newpath))
/external/ltp/lib/
Dsafe_macros.c368 void (cleanup_fn)(void), const char *oldpath, in safe_link() argument
373 rval = link(oldpath, newpath); in safe_link()
378 file, lineno, oldpath, newpath); in safe_link()
385 void (cleanup_fn)(void), int olddirfd, const char *oldpath, in safe_linkat() argument
390 rval = linkat(olddirfd, oldpath, newdirfd, newpath, flags); in safe_linkat()
395 file, lineno, olddirfd, oldpath, newdirfd, in safe_linkat()
427 void (cleanup_fn)(void), const char *oldpath, in safe_symlink() argument
432 rval = symlink(oldpath, newpath); in safe_symlink()
437 file, lineno, oldpath, newpath); in safe_symlink()
687 const char *oldpath, const char *newpath) in safe_rename() argument
[all …]
/external/ltp/testcases/kernel/syscalls/link/
Dlink08.c36 char *oldpath; member
50 TEST(link(tc->oldpath, tc->newpath)); in link_verify()
/external/arm-trusted-firmware/lib/debugfs/
Ddebugfs_smc.c51 char oldpath[MAX_PATH_LEN]; member
165 ret = bind(parms.bind.oldpath, parms.bind.newpath); in debugfs_smc_handler()
/external/u-boot/fs/yaffs2/
Dyaffsfs.h170 int yaffs_symlink(const YCHAR *oldpath, const YCHAR *newpath);
173 int yaffs_link(const YCHAR *oldpath, const YCHAR *newpath);
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.gfile.pbtxt17 …argspec: "args=[\'oldpath\', \'newpath\', \'overwrite\'], varargs=None, keywords=None, defaults=[\…

123