Lines Matching refs:dst
1034 "link($module, /, src, dst, *, src_dir_fd=None, dst_dir_fd=None,\n"
1041 " descriptor open to a directory, and the respective path string (src or dst)\n"
1054 os_link_impl(PyObject *module, path_t *src, path_t *dst, int src_dir_fd,
1061 static const char * const _keywords[] = {"src", "dst", "src_dir_fd", "dst_dir_fd", "follow_symlinks", NULL};
1066 path_t dst = PATH_T_INITIALIZE("link", "dst", 0, 0);
1078 if (!path_converter(args[1], &dst)) {
1105 return_value = os_link_impl(module, &src, &dst, src_dir_fd, dst_dir_fd, follow_symlinks);
1110 /* Cleanup for dst */
1111 path_cleanup(&dst);
1546 "rename($module, /, src, dst, *, src_dir_fd=None, dst_dir_fd=None)\n"
1552 " descriptor open to a directory, and the respective path string (src or dst)\n"
1561 os_rename_impl(PyObject *module, path_t *src, path_t *dst, int src_dir_fd,
1568 static const char * const _keywords[] = {"src", "dst", "src_dir_fd", "dst_dir_fd", NULL};
1573 path_t dst = PATH_T_INITIALIZE("rename", "dst", 0, 0);
1584 if (!path_converter(args[1], &dst)) {
1602 return_value = os_rename_impl(module, &src, &dst, src_dir_fd, dst_dir_fd);
1607 /* Cleanup for dst */
1608 path_cleanup(&dst);
1614 "replace($module, /, src, dst, *, src_dir_fd=None, dst_dir_fd=None)\n"
1620 " descriptor open to a directory, and the respective path string (src or dst)\n"
1629 os_replace_impl(PyObject *module, path_t *src, path_t *dst, int src_dir_fd,
1636 static const char * const _keywords[] = {"src", "dst", "src_dir_fd", "dst_dir_fd", NULL};
1641 path_t dst = PATH_T_INITIALIZE("replace", "dst", 0, 0);
1652 if (!path_converter(args[1], &dst)) {
1670 return_value = os_replace_impl(module, &src, &dst, src_dir_fd, dst_dir_fd);
1675 /* Cleanup for dst */
1676 path_cleanup(&dst);
4261 "symlink($module, /, src, dst, target_is_directory=False, *, dir_fd=None)\n"
4264 "Create a symbolic link pointing to src named dst.\n"
4280 os_symlink_impl(PyObject *module, path_t *src, path_t *dst,
4287 static const char * const _keywords[] = {"src", "dst", "target_is_directory", "dir_fd", NULL};
4292 path_t dst = PATH_T_INITIALIZE("symlink", "dst", 0, 0);
4303 if (!path_converter(args[1], &dst)) {
4326 return_value = os_symlink_impl(module, &src, &dst, target_is_directory, dir_fd);
4331 /* Cleanup for dst */
4332 path_cleanup(&dst);
5710 "copy_file_range($module, /, src, dst, count, offset_src=None,\n"
5718 " dst\n"
5725 " Starting offset in dst.\n"
5734 os_copy_file_range_impl(PyObject *module, int src, int dst, Py_ssize_t count,
5741 static const char * const _keywords[] = {"src", "dst", "count", "offset_src", "offset_dst", NULL};
5746 int dst;
5759 dst = _PyLong_AsInt(args[1]);
5760 if (dst == -1 && PyErr_Occurred()) {
5786 return_value = os_copy_file_range_impl(module, src, dst, count, offset_src, offset_dst);
5797 "splice($module, /, src, dst, count, offset_src=None, offset_dst=None,\n"
5805 " dst\n"
5812 " Starting offset in dst.\n"
5824 os_splice_impl(PyObject *module, int src, int dst, Py_ssize_t count,
5832 static const char * const _keywords[] = {"src", "dst", "count", "offset_src", "offset_dst", "flags", NULL};
5837 int dst;
5851 dst = _PyLong_AsInt(args[1]);
5852 if (dst == -1 && PyErr_Occurred()) {
5886 return_value = os_splice_impl(module, src, dst, count, offset_src, offset_dst, flags);