Searched refs:fd_sequence (Results 1 – 1 of 1) sorted by relevance
116 _sanity_check_python_fd_sequence(PyObject *fd_sequence) in _sanity_check_python_fd_sequence() argument120 for (seq_idx = 0; seq_idx < PyTuple_GET_SIZE(fd_sequence); ++seq_idx) { in _sanity_check_python_fd_sequence()121 PyObject* py_fd = PyTuple_GET_ITEM(fd_sequence, seq_idx); in _sanity_check_python_fd_sequence()139 _is_fd_in_sorted_fd_sequence(int fd, PyObject *fd_sequence) in _is_fd_in_sorted_fd_sequence() argument143 Py_ssize_t search_max = PyTuple_GET_SIZE(fd_sequence) - 1; in _is_fd_in_sorted_fd_sequence()148 long middle_fd = PyLong_AsLong(PyTuple_GET_ITEM(fd_sequence, middle)); in _is_fd_in_sorted_fd_sequence()