| /freebsd/tests/sys/capsicum/ |
| H A D | rename.cc | 19 const char *src_path = TmpFile(filename); in create_tmp_src() local 20 int src_fd = open(src_path, O_CREAT|O_RDWR, 0644); in create_tmp_src() 22 return src_path; in create_tmp_src() 26 const char *src_path = create_tmp_src("rename_test"); in TEST() local 27 EXPECT_OK(rename(src_path, src_path)); in TEST() 28 unlink(src_path); in TEST() 32 const char *src_path = create_tmp_src("renameat_test"); in TEST() local 41 EXPECT_OK(renameat(AT_FDCWD, src_path, AT_FDCWD, src_path)); in TEST() 42 EXPECT_OK(renameat(AT_FDCWD, src_path, dfd, src_path)); in TEST() 43 EXPECT_OK(renameat(dfd, src_path, AT_FDCWD, src_path)); in TEST() [all …]
|
| /freebsd/sys/contrib/openzfs/tests/zfs-tests/cmd/ |
| H A D | clone_after_trunc.c | 34 char src_path[PATH_MAX], dst_path[PATH_MAX]; in run_test() local 35 snprintf(src_path, PATH_MAX, "%s/src-%d", dir, thread_id); in run_test() 43 int src = open(src_path, O_WRONLY | O_CREAT | O_TRUNC, 0644); in run_test() 56 src = open(src_path, O_RDONLY); in run_test() 91 unlink(src_path); in run_test()
|
| /freebsd/usr.bin/xinstall/tests/ |
| H A D | install_test.sh | 339 src_path=a/b/c/testf 340 src_path_prefixed=$PWD/$src_path 344 atf_check touch $src_path 349 src_path_relative="$src_path" 360 src_path=a//b//c//testf 361 src_path_prefixed=$PWD/$src_path 365 atf_check touch $src_path 370 src_path_relative="$(echo $src_path | sed -e 's,//,/,g')" 381 src_path=testf 382 src_path_prefixed=$PWD/$src_path [all …]
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/Platform/POSIX/ |
| H A D | PlatformPOSIX.cpp | 102 std::string src_path(source.GetPath()); in PutFile() local 103 if (src_path.empty()) in PutFile() 109 command.Printf("cp %s %s", src_path.c_str(), dst_path.c_str()); in PutFile() 122 std::string src_path(source.GetPath()); in PutFile() local 123 if (src_path.empty()) in PutFile() 132 command.Printf("rsync %s %s %s", GetRSyncOpts(), src_path.c_str(), in PutFile() 135 command.Printf("rsync %s %s %s%s", GetRSyncOpts(), src_path.c_str(), in PutFile() 138 command.Printf("rsync %s %s %s:%s", GetRSyncOpts(), src_path.c_str(), in PutFile() 165 std::string src_path(source.GetPath()); in GetFile() local 166 if (src_path.empty()) in GetFile() [all …]
|
| /freebsd/contrib/llvm-project/lldb/source/API/ |
| H A D | SBFileSpec.cpp | 98 int SBFileSpec::ResolvePath(const char *src_path, char *dst_path, in ResolvePath() argument 100 LLDB_INSTRUMENT_VA(src_path, dst_path, dst_len); in ResolvePath() 102 llvm::SmallString<64> result(src_path); in ResolvePath()
|
| /freebsd/contrib/llvm-project/lldb/include/lldb/API/ |
| H A D | SBFileSpec.h | 56 static int ResolvePath(const char *src_path, char *dst_path, size_t dst_len);
|
| /freebsd/sys/dev/usb/ |
| H A D | usb_dev.h | 44 char src_path[32]; /* Source path - including terminating member
|
| H A D | usb_dev.c | 2319 strlcpy(ps->src_path, target, sizeof(ps->src_path)); in usb_alloc_symlink() 2320 ps->src_len = strlen(ps->src_path); in usb_alloc_symlink() 2400 error = copyout(ps->src_path, in usb_read_symlink()
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/ |
| H A D | GDBRemoteCommunicationClient.cpp | 3348 std::string src_path{src.GetPath(false)}, dst_path{dst.GetPath(false)}; in CreateSymlink() local 3356 stream.PutStringAsRawHex8(src_path); in CreateSymlink()
|