Searched refs:src_path (Results 1 – 8 of 8) sorted by relevance
/freebsd/contrib/capsicum-test/ |
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/usr.bin/xinstall/tests/ |
H A D | install_test.sh | 330 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 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() 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 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 | 2318 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 D | GDBRemoteCommunicationClient.cpp | 3325 std::string src_path{src.GetPath(false)}, dst_path{dst.GetPath(false)}; in CreateSymlink() local 3333 stream.PutStringAsRawHex8(src_path); in CreateSymlink()
|