Searched refs:iter_len (Results 1 – 3 of 3) sorted by relevance
82 iter_len(seqiterobject *it, PyObject *Py_UNUSED(ignored)) in iter_len() function133 {"__length_hint__", (PyCFunction)iter_len, METH_NOARGS, length_hint_doc},
2719 Py_ssize_t iter_len = PyObject_Size(iterable); in list___init___impl() local2720 if (iter_len == -1) { in list___init___impl()2726 if (iter_len > 0 && self->ob_item == NULL in list___init___impl()2727 && list_preallocate_exact(self, iter_len)) { in list___init___impl()
10194 size_t iter_len, in wuffs_base__iterate_total_advance() argument10196 if (total_len >= iter_len) { in wuffs_base__iterate_total_advance()10197 size_t n = total_len - iter_len; in wuffs_base__iterate_total_advance()