Home
last modified time | relevance | path

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

/external/python/cpython3/Modules/
D_posixsubprocess.c144 _sanity_check_python_fd_sequence(PyObject *fd_sequence) in _sanity_check_python_fd_sequence() argument
148 for (seq_idx = 0; seq_idx < PyTuple_GET_SIZE(fd_sequence); ++seq_idx) { in _sanity_check_python_fd_sequence()
149 PyObject* py_fd = PyTuple_GET_ITEM(fd_sequence, seq_idx); in _sanity_check_python_fd_sequence()
167 _is_fd_in_sorted_fd_sequence(int fd, PyObject *fd_sequence) in _is_fd_in_sorted_fd_sequence() argument
171 Py_ssize_t search_max = PyTuple_GET_SIZE(fd_sequence) - 1; in _is_fd_in_sorted_fd_sequence()
176 long middle_fd = PyLong_AsLong(PyTuple_GET_ITEM(fd_sequence, middle)); in _is_fd_in_sorted_fd_sequence()