Home
last modified time | relevance | path

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

12

/freebsd-13.1/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()
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()
44 EXPECT_OK(renameat(dfd, src_path, dfd, src_path)); in TEST()
[all …]
/freebsd-13.1/usr.bin/xinstall/tests/
H A Dinstall_test.sh315 src_path=a/b/c/testf
316 src_path_prefixed=$PWD/$src_path
320 atf_check touch $src_path
325 src_path_relative="$src_path"
336 src_path=a//b//c//testf
337 src_path_prefixed=$PWD/$src_path
341 atf_check touch $src_path
357 src_path=testf
358 src_path_prefixed=$PWD/$src_path
362 atf_check touch $src_path
[all …]
/freebsd-13.1/contrib/subversion/subversion/libsvn_fs_base/
H A Dfs.c1301 const char *src_path, in base_hotcopy() argument
1347 src_path, pool); in base_hotcopy()
1372 SVN_ERR(copy_db_file_safely(src_path, dest_path, in base_hotcopy()
1374 SVN_ERR(copy_db_file_safely(src_path, dest_path, in base_hotcopy()
1376 SVN_ERR(copy_db_file_safely(src_path, dest_path, in base_hotcopy()
1378 SVN_ERR(copy_db_file_safely(src_path, dest_path, in base_hotcopy()
1380 SVN_ERR(copy_db_file_safely(src_path, dest_path, in base_hotcopy()
1382 SVN_ERR(copy_db_file_safely(src_path, dest_path, in base_hotcopy()
1384 SVN_ERR(copy_db_file_safely(src_path, dest_path, in base_hotcopy()
1386 SVN_ERR(copy_db_file_safely(src_path, dest_path, in base_hotcopy()
[all …]
H A Dfs.h314 const char *src_path; member
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/Platform/POSIX/
H A DPlatformPOSIX.cpp99 std::string src_path(source.GetPath()); in PutFile() local
100 if (src_path.empty()) in PutFile()
106 command.Printf("cp %s %s", src_path.c_str(), dst_path.c_str()); in PutFile()
119 std::string src_path(source.GetPath()); in PutFile() local
120 if (src_path.empty()) in PutFile()
128 command.Printf("rsync %s %s %s", GetRSyncOpts(), src_path.c_str(), in PutFile()
160 std::string src_path(source.GetPath()); in GetFile() local
161 if (src_path.empty()) in GetFile()
172 cp_command.Printf("cp %s %s", src_path.c_str(), dst_path.c_str()); in GetFile()
184 command.Printf("rsync %s %s %s", GetRSyncOpts(), src_path.c_str(), in GetFile()
[all …]
/freebsd-13.1/contrib/subversion/subversion/svn/
H A Dcopy-cmd.c49 const char *src_path, *dst_path; in svn_cl__copy() local
131 src_path = APR_ARRAY_IDX(targets, 0, const char *); in svn_cl__copy()
132 srcs_are_urls = svn_path_is_url(src_path); in svn_cl__copy()
/freebsd-13.1/contrib/subversion/subversion/libsvn_fs/
H A Ddeprecated.c42 svn_fs_hotcopy2(const char *src_path, const char *dest_path, in svn_fs_hotcopy2() argument
47 return svn_error_trace(svn_fs_hotcopy3(src_path, dest_path, clean, in svn_fs_hotcopy2()
54 svn_fs_hotcopy(const char *src_path, const char *dest_path, in svn_fs_hotcopy() argument
57 return svn_error_trace(svn_fs_hotcopy2(src_path, dest_path, clean, in svn_fs_hotcopy()
/freebsd-13.1/contrib/subversion/subversion/libsvn_fs_base/bdb/
H A Dcopies-table.c140 const char *src_path, in svn_fs_bdb__create_copy() argument
149 copy.src_path = src_path; in svn_fs_bdb__create_copy()
H A Dcopies-table.h62 const char *src_path,
/freebsd-13.1/contrib/llvm-project/lldb/source/API/
H A DSBFileSpec.cpp101 int SBFileSpec::ResolvePath(const char *src_path, char *dst_path, in ResolvePath() argument
104 (const char *, char *, size_t), src_path, dst_path, in ResolvePath()
107 llvm::SmallString<64> result(src_path); in ResolvePath()
/freebsd-13.1/contrib/subversion/subversion/libsvn_fs_x/
H A Dhotcopy.c45 const char *src_path, in hotcopy_io_dir_file_copy() argument
63 src_target = svn_dirent_join(src_path, file, scratch_pool); in hotcopy_io_dir_file_copy()
76 return svn_error_trace(svn_io_dir_file_copy(src_path, dst_path, file, in hotcopy_io_dir_file_copy()
694 const char *src_path, in svn_fs_x__hotcopy() argument
710 SVN_ERR(svn_fs_x__open(src_fs, src_path, scratch_pool)); in svn_fs_x__hotcopy()
H A Dhotcopy.h37 const char *src_path,
H A Dfs.c530 const char *src_path, in x_hotcopy() argument
543 SVN_ERR(x_open(src_fs, src_path, common_pool_lock, scratch_pool, in x_hotcopy()
555 return svn_fs_x__hotcopy(src_fs, dst_fs, src_path, dst_path, in x_hotcopy()
/freebsd-13.1/contrib/subversion/subversion/libsvn_fs_fs/
H A Dhotcopy.h36 const char *src_path,
H A Dhotcopy.c44 const char *src_path, in hotcopy_io_dir_file_copy() argument
62 src_target = svn_dirent_join(src_path, file, scratch_pool); in hotcopy_io_dir_file_copy()
75 return svn_error_trace(svn_io_dir_file_copy(src_path, dst_path, file, in hotcopy_io_dir_file_copy()
1007 const char *src_path, in svn_fs_fs__hotcopy() argument
1023 SVN_ERR(svn_fs_fs__open(src_fs, src_path, pool)); in svn_fs_fs__hotcopy()
H A Dfs.c574 const char *src_path, in fs_hotcopy() argument
586 SVN_ERR(fs_open(src_fs, src_path, common_pool_lock, pool, common_pool)); in fs_hotcopy()
595 return svn_fs_fs__hotcopy(src_fs, dst_fs, src_path, dst_path, in fs_hotcopy()
/freebsd-13.1/contrib/subversion/subversion/libsvn_client/
H A Ddeprecated.c743 const char *src_path, in svn_client_copy3() argument
753 copy_source.path = src_path; in svn_client_copy3()
765 const char *src_path, in svn_client_copy2() argument
773 err = svn_client_copy3(commit_info_p, src_path, src_revision, in svn_client_copy2()
796 const char *src_path, in svn_client_copy() argument
855 const char *src_path, in svn_client_move4() argument
863 APR_ARRAY_PUSH(src_paths, const char *) = src_path; in svn_client_move4()
872 const char *src_path, in svn_client_move3() argument
892 return svn_client_move4(commit_info_p, src_path, in svn_client_move3()
902 const char *src_path, in svn_client_move2() argument
[all …]
H A Dcopy.c1145 const char *src_path; member
1212 if (strcmp(path_info->src_path, path) == 0) in path_driver_cb_func()
1412 info->src_path = NULL; /* Only needed on copied dirs */ in queue_externals_change_path_infos()
1717 svn_hash_sets(action_hash, info->src_path, info); in repos_to_repos_copy()
1822 APR_ARRAY_PUSH(paths, const char *) = info->src_path; in repos_to_repos_copy()
3353 const char *src_path = APR_ARRAY_IDX(sources, 0, in svn_client_copy7() local
3356 svn_boolean_t src_is_url = svn_path_is_url(src_path); in svn_client_copy7()
3362 src_basename = src_is_url ? svn_uri_basename(src_path, subpool) in svn_client_copy7()
3425 copy_source->path = src_path; in svn_client_move7()
3454 svn_boolean_t src_is_url = svn_path_is_url(src_path); in svn_client_move7()
[all …]
/freebsd-13.1/contrib/llvm-project/lldb/bindings/interface/
H A DSBFileSpec.i75 ResolvePath (const char *src_path, char *dst_path, size_t dst_len);
/freebsd-13.1/contrib/llvm-project/lldb/include/lldb/API/
H A DSBFileSpec.h53 static int ResolvePath(const char *src_path, char *dst_path, size_t dst_len);
/freebsd-13.1/sys/dev/usb/
H A Dusb_dev.h45 char src_path[32]; /* Source path - including terminating member
/freebsd-13.1/contrib/subversion/subversion/include/
H A Dsvn_fs.h561 svn_fs_hotcopy3(const char *src_path,
580 svn_fs_hotcopy2(const char *src_path,
597 svn_fs_hotcopy(const char *src_path,
780 svn_fs_hotcopy_berkeley(const char *src_path,
H A Dsvn_client.h5690 const char *src_path,
5709 const char *src_path,
5725 const char *src_path,
5895 const char *src_path,
5913 const char *src_path,
5930 const char *src_path,
5947 const char *src_path,
/freebsd-13.1/contrib/subversion/subversion/libsvn_repos/
H A Ddeprecated.c235 svn_repos_hotcopy2(const char *src_path, in svn_repos_hotcopy2() argument
243 return svn_error_trace(svn_repos_hotcopy3(src_path, dst_path, clean_logs, in svn_repos_hotcopy2()
249 svn_repos_hotcopy(const char *src_path, in svn_repos_hotcopy() argument
254 return svn_error_trace(svn_repos_hotcopy2(src_path, dst_path, clean_logs, in svn_repos_hotcopy()
/freebsd-13.1/contrib/subversion/subversion/libsvn_subr/
H A Dsqlite.c1462 svn_sqlite__hotcopy(const char *src_path, in svn_sqlite__hotcopy() argument
1468 SVN_ERR(svn_sqlite__open(&src_db, src_path, svn_sqlite__mode_readonly, in svn_sqlite__hotcopy()
1482 _("SQLite hotcopy failed for %s"), src_path); in svn_sqlite__hotcopy()
1510 SVN_ERR(svn_io_copy_perms(src_path, dst_path, scratch_pool)); in svn_sqlite__hotcopy()

12