Home
last modified time | relevance | path

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

/external/python/cpython3/Objects/
Denumobject.c18 PyObject* en_longindex; /* index for sequences >= PY_SSIZE_T_MAX */ member
59 en->en_longindex = start; in enum_new_impl()
61 en->en_longindex = NULL; in enum_new_impl()
66 en->en_longindex = NULL; in enum_new_impl()
87 Py_XDECREF(en->en_longindex); in enum_dealloc()
96 Py_VISIT(en->en_longindex); in enum_traverse()
109 if (en->en_longindex == NULL) { in enum_next_long()
110 en->en_longindex = PyLong_FromSsize_t(PY_SSIZE_T_MAX); in enum_next_long()
111 if (en->en_longindex == NULL) { in enum_next_long()
116 next_index = en->en_longindex; in enum_next_long()
[all …]
/external/python/cpython2/Objects/
Denumobject.c10 PyObject* en_longindex; /* index for sequences >= PY_SSIZE_T_MAX */ member
39 en->en_longindex = start; in enum_new()
41 en->en_longindex = NULL; in enum_new()
46 en->en_longindex = NULL; in enum_new()
67 Py_XDECREF(en->en_longindex); in enum_dealloc()
76 Py_VISIT(en->en_longindex); in enum_traverse()
88 if (en->en_longindex == NULL) { in enum_next_long()
89 en->en_longindex = PyInt_FromSsize_t(PY_SSIZE_T_MAX); in enum_next_long()
90 if (en->en_longindex == NULL) { in enum_next_long()
102 next_index = en->en_longindex; in enum_next_long()
[all …]