Searched refs:seqsize (Results 1 – 4 of 4) sorted by relevance
81 Py_ssize_t seqsize, len; in iter_len() local84 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()
327 Py_ssize_t position, seqsize; in reversed_len() local331 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()
84 Py_ssize_t seqsize, len; in iter_len() local88 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()
356 Py_ssize_t position, seqsize; in reversed_len() local360 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()