Searched refs:src_dir_fd (Results 1 – 4 of 4) sorted by relevance
/external/python/cpython3/Modules/clinic/ |
D | posixmodule.c.h | 854 os_link_impl(PyObject *module, path_t *src, path_t *dst, int src_dir_fd, 865 int src_dir_fd = DEFAULT_DIR_FD; in os_link() local 870 …path_converter, &src, path_converter, &dst, dir_fd_converter, &src_dir_fd, dir_fd_converter, &dst_… in os_link() 873 return_value = os_link_impl(module, &src, &dst, src_dir_fd, dst_dir_fd, follow_symlinks); in os_link() 1228 os_rename_impl(PyObject *module, path_t *src, path_t *dst, int src_dir_fd, 1239 int src_dir_fd = DEFAULT_DIR_FD; in os_rename() local 1243 …path_converter, &src, path_converter, &dst, dir_fd_converter, &src_dir_fd, dir_fd_converter, &dst_… in os_rename() 1246 return_value = os_rename_impl(module, &src, &dst, src_dir_fd, dst_dir_fd); in os_rename() 1273 os_replace_impl(PyObject *module, path_t *src, path_t *dst, int src_dir_fd, 1284 int src_dir_fd = DEFAULT_DIR_FD; in os_replace() local [all …]
|
/external/python/cpython3/Modules/ |
D | posixmodule.c | 3401 os_link_impl(PyObject *module, path_t *src, path_t *dst, int src_dir_fd, in os_link_impl() argument 3412 if ((src_dir_fd != DEFAULT_DIR_FD) || (dst_dir_fd != DEFAULT_DIR_FD)) { in os_link_impl() 3436 if ((src_dir_fd != DEFAULT_DIR_FD) || in os_link_impl() 3439 result = linkat(src_dir_fd, src->narrow, in os_link_impl() 4044 internal_rename(path_t *src, path_t *dst, int src_dir_fd, int dst_dir_fd, int is_replace) in internal_rename() argument 4056 dir_fd_specified = (src_dir_fd != DEFAULT_DIR_FD) || in internal_rename() 4083 result = renameat(src_dir_fd, src->narrow, dst_dir_fd, dst->narrow); in internal_rename() 4115 os_rename_impl(PyObject *module, path_t *src, path_t *dst, int src_dir_fd, in os_rename_impl() argument 4119 return internal_rename(src, dst, src_dir_fd, dst_dir_fd, 0); in os_rename_impl() 4136 os_replace_impl(PyObject *module, path_t *src, path_t *dst, int src_dir_fd, in os_replace_impl() argument [all …]
|
/external/python/cpython3/Lib/test/ |
D | test_posix.py | 1146 posix.link(support.TESTFN, support.TESTFN + 'link', src_dir_fd=f, dst_dir_fd=f) 1217 posix.rename(support.TESTFN + 'ren', support.TESTFN, src_dir_fd=f, dst_dir_fd=f)
|
/external/python/cpython3/Doc/library/ |
D | os.rst | 1737 .. function:: link(src, dst, *, src_dir_fd=None, dst_dir_fd=None, follow_symlinks=True) 1741 This function can support specifying *src_dir_fd* and/or *dst_dir_fd* to 1751 Added the *src_dir_fd*, *dst_dir_fd*, and *follow_symlinks* arguments. 2049 .. function:: rename(src, dst, *, src_dir_fd=None, dst_dir_fd=None) 2059 This function can support specifying *src_dir_fd* and/or *dst_dir_fd* to 2065 The *src_dir_fd* and *dst_dir_fd* arguments. 2087 .. function:: replace(src, dst, *, src_dir_fd=None, dst_dir_fd=None) 2095 This function can support specifying *src_dir_fd* and/or *dst_dir_fd* to
|