Lines Matching refs:it_seq
2817 PyListObject *it_seq; /* Set to NULL when iterator is exhausted */ member
2881 it->it_seq = (PyListObject *)seq; in list_iter()
2890 Py_XDECREF(it->it_seq); in listiter_dealloc()
2897 Py_VISIT(it->it_seq); in listiter_traverse()
2908 seq = it->it_seq; in listiter_next()
2920 it->it_seq = NULL; in listiter_next()
2929 if (it->it_seq) { in listiter_len()
2930 len = PyList_GET_SIZE(it->it_seq) - it->it_index; in listiter_len()
2941 PyListObject *it_seq; /* Set to NULL when iterator is exhausted */ member
2999 it->it_seq = seq; in list_reversed()
3008 Py_XDECREF(it->it_seq); in listreviter_dealloc()
3015 Py_VISIT(it->it_seq); in listreviter_traverse()
3027 seq = it->it_seq; in listreviter_next()
3041 it->it_seq = NULL; in listreviter_next()
3050 if (it->it_seq == NULL || PyList_GET_SIZE(it->it_seq) < len) in listreviter_len()