Home
last modified time | relevance | path

Searched refs:src_path (Results 1 – 9 of 9) sorted by relevance

/freebsd/tests/sys/capsicum/
H A Drename.cc19 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 Dclone_after_trunc.c34 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 Dinstall_test.sh339 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 DPlatformPOSIX.cpp102 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 DSBFileSpec.cpp98 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 DSBFileSpec.h56 static int ResolvePath(const char *src_path, char *dst_path, size_t dst_len);
/freebsd/sys/dev/usb/
H A Dusb_dev.h44 char src_path[32]; /* Source path - including terminating member
H A Dusb_dev.c2319 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 DGDBRemoteCommunicationClient.cpp3348 std::string src_path{src.GetPath(false)}, dst_path{dst.GetPath(false)}; in CreateSymlink() local
3356 stream.PutStringAsRawHex8(src_path); in CreateSymlink()