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()
83 Py_ssize_t seqsize, len; in iter_len() local87 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()
354 Py_ssize_t position, seqsize; in reversed_len() local358 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()