Home
last modified time | relevance | path

Searched refs:start_fd (Results 1 – 1 of 1) sorted by relevance

/external/python/cpython3/Modules/
D_posixsubprocess.c248 _close_fds_by_brute_force(long start_fd, PyObject *py_fds_to_keep) in _close_fds_by_brute_force() argument
259 if (keep_fd < start_fd) in _close_fds_by_brute_force()
261 for (fd_num = start_fd; fd_num < keep_fd; ++fd_num) { in _close_fds_by_brute_force()
264 start_fd = keep_fd + 1; in _close_fds_by_brute_force()
266 if (start_fd <= end_fd) { in _close_fds_by_brute_force()
269 closefrom(start_fd); in _close_fds_by_brute_force()
271 for (fd_num = start_fd; fd_num < end_fd; ++fd_num) { in _close_fds_by_brute_force()
311 _close_open_fds_safe(int start_fd, PyObject* py_fds_to_keep) in _close_open_fds_safe() argument
318 _close_fds_by_brute_force(start_fd, py_fds_to_keep); in _close_open_fds_safe()
336 if (fd != fd_dir_fd && fd >= start_fd && in _close_open_fds_safe()
[all …]