Home
last modified time | relevance | path

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

/external/python/cpython2/Objects/
Diterobject.c81 Py_ssize_t seqsize, len; in iter_len() local
84 seqsize = PySequence_Size(it->it_seq); in iter_len()
85 if (seqsize == -1) in iter_len()
87 len = seqsize - it->it_index; in iter_len()
Denumobject.c327 Py_ssize_t position, seqsize; in reversed_len() local
331 seqsize = PySequence_Size(ro->seq); in reversed_len()
332 if (seqsize == -1) in reversed_len()
335 return PyInt_FromSsize_t((seqsize < position) ? 0 : position); in reversed_len()
/external/python/cpython3/Objects/
Diterobject.c83 Py_ssize_t seqsize, len; in iter_len() local
87 seqsize = PySequence_Size(it->it_seq); in iter_len()
88 if (seqsize == -1) in iter_len()
94 len = seqsize - it->it_index; in iter_len()
Denumobject.c354 Py_ssize_t position, seqsize; in reversed_len() local
358 seqsize = PySequence_Size(ro->seq); in reversed_len()
359 if (seqsize == -1) in reversed_len()
362 return PyLong_FromSsize_t((seqsize < position) ? 0 : position); in reversed_len()