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.c84 Py_ssize_t seqsize, len; in iter_len() local
88 seqsize = PySequence_Size(it->it_seq); in iter_len()
89 if (seqsize == -1) in iter_len()
95 len = seqsize - it->it_index; in iter_len()
Denumobject.c356 Py_ssize_t position, seqsize; in reversed_len() local
360 seqsize = PySequence_Size(ro->seq); in reversed_len()
361 if (seqsize == -1) in reversed_len()
364 return PyLong_FromSsize_t((seqsize < position) ? 0 : position); in reversed_len()