Home
last modified time | relevance | path

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

/freebsd/contrib/capsicum-test/
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/usr.bin/xinstall/tests/
H A Dinstall_test.sh330 src_path=a/b/c/testf
331 src_path_prefixed=$PWD/$src_path
335 atf_check touch $src_path
340 src_path_relative="$src_path"
351 src_path=a//b//c//testf
352 src_path_prefixed=$PWD/$src_path
356 atf_check touch $src_path
361 src_path_relative="$(echo $src_path | sed -e 's,//,/,g')"
372 src_path=testf
373 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()
131 command.Printf("rsync %s %s %s", GetRSyncOpts(), src_path.c_str(), in PutFile()
134 command.Printf("rsync %s %s %s%s", GetRSyncOpts(), src_path.c_str(), in PutFile()
137 command.Printf("rsync %s %s %s:%s", GetRSyncOpts(), src_path.c_str(), in PutFile()
163 std::string src_path(source.GetPath()); in GetFile() local
164 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.c2318 strlcpy(ps->src_path, target, sizeof(ps->src_path)); in usb_alloc_symlink()
2319 ps->src_len = strlen(ps->src_path); in usb_alloc_symlink()
2399 error = copyout(ps->src_path, in usb_read_symlink()
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/
H A DGDBRemoteCommunicationClient.cpp3325 std::string src_path{src.GetPath(false)}, dst_path{dst.GetPath(false)}; in CreateSymlink() local
3333 stream.PutStringAsRawHex8(src_path); in CreateSymlink()