Searched refs:seqsize (Results 1 – 2 of 2) 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()
321 Py_ssize_t position, seqsize; in reversed_len() local325 seqsize = PySequence_Size(ro->seq); in reversed_len()326 if (seqsize == -1) in reversed_len()329 return PyInt_FromSsize_t((seqsize < position) ? 0 : position); in reversed_len()