Searched refs:dst_dir_fd (Results 1 - 3 of 3) sorted by relevance
/third_party/python/Modules/ |
H A D | posixmodule.c | 3927 dst_dir_fd : dir_fd = None 3932 If either src_dir_fd or dst_dir_fd is not None, it should be a file 3938 src_dir_fd, dst_dir_fd, and follow_symlinks may not be implemented on your 3945 int dst_dir_fd, int follow_symlinks) in os_link_impl() 3958 if ((src_dir_fd != DEFAULT_DIR_FD) || (dst_dir_fd != DEFAULT_DIR_FD)) { in os_link_impl() 3959 argument_unavailable_error("link", "src_dir_fd and dst_dir_fd"); in os_link_impl() 3974 dst_dir_fd == DEFAULT_DIR_FD ? -1 : dst_dir_fd) < 0) { in os_link_impl() 3989 (dst_dir_fd != DEFAULT_DIR_FD) || in os_link_impl() 3995 dst_dir_fd, ds in os_link_impl() 3944 os_link_impl(PyObject *module, path_t *src, path_t *dst, int src_dir_fd, int dst_dir_fd, int follow_symlinks) os_link_impl() argument 4775 internal_rename(path_t *src, path_t *dst, int src_dir_fd, int dst_dir_fd, int is_replace) internal_rename() argument 4868 os_rename_impl(PyObject *module, path_t *src, path_t *dst, int src_dir_fd, int dst_dir_fd) os_rename_impl() argument 4889 os_replace_impl(PyObject *module, path_t *src, path_t *dst, int src_dir_fd, int dst_dir_fd) os_replace_impl() argument [all...] |
/third_party/python/Lib/test/ |
H A D | test_posix.py | 1429 posix.link(name, linkname, src_dir_fd=dir_fd, dst_dir_fd=dir_fd2) 1489 src_dir_fd=dir_fd, dst_dir_fd=dir_fd2) 2040 with self.assertRaisesRegex(NotImplementedError, "dst_dir_fd unavailable"): 2041 os.link("source", "target", dst_dir_fd=0) 2044 os.link("source", "target", src_dir_fd=0, dst_dir_fd=0) 2123 with self.assertRaisesRegex(NotImplementedError, "src_dir_fd and dst_dir_fd unavailable"): 2126 with self.assertRaisesRegex(NotImplementedError, "src_dir_fd and dst_dir_fd unavailable"): 2127 os.rename("a", "b", dst_dir_fd=0) 2129 with self.assertRaisesRegex(NotImplementedError, "src_dir_fd and dst_dir_fd unavailable"): 2132 with self.assertRaisesRegex(NotImplementedError, "src_dir_fd and dst_dir_fd unavailabl [all...] |
/third_party/python/Modules/clinic/ |
H A D | posixmodule.c.h | 1034 "link($module, /, src, dst, *, src_dir_fd=None, dst_dir_fd=None,\n" 1040 "If either src_dir_fd or dst_dir_fd is not None, it should be a file\n" 1046 "src_dir_fd, dst_dir_fd, and follow_symlinks may not be implemented on your\n" 1055 int dst_dir_fd, int follow_symlinks); 1061 static const char * const _keywords[] = {"src", "dst", "src_dir_fd", "dst_dir_fd", "follow_symlinks", NULL}; in os_link() 1068 int dst_dir_fd = DEFAULT_DIR_FD; in os_link() local 1093 if (!dir_fd_converter(args[3], &dst_dir_fd)) { in os_link() 1105 return_value = os_link_impl(module, &src, &dst, src_dir_fd, dst_dir_fd, follow_symlinks); in os_link() 1546 "rename($module, /, src, dst, *, src_dir_fd=None, dst_dir_fd=None)\n" 1551 "If either src_dir_fd or dst_dir_fd i 1575 int dst_dir_fd = DEFAULT_DIR_FD; os_rename() local 1643 int dst_dir_fd = DEFAULT_DIR_FD; os_replace() local [all...] |
Completed in 18 milliseconds