Lines Matching refs:iter_buf
604 mp_obj_iter_buf_t iter_buf; in mp_binary_op() local
605 mp_obj_t iter = mp_getiter(lhs, &iter_buf); in mp_binary_op()
762 mp_obj_iter_buf_t iter_buf; in mp_call_prepare_args_n_kw_var() local
763 mp_obj_t iterable = mp_getiter(pos_seq, &iter_buf); in mp_call_prepare_args_n_kw_var()
870 mp_obj_iter_buf_t iter_buf; in mp_unpack_sequence() local
871 mp_obj_t iterable = mp_getiter(seq_in, &iter_buf); in mp_unpack_sequence()
1176 mp_obj_t mp_getiter(mp_obj_t o_in, mp_obj_iter_buf_t *iter_buf) { in mp_getiter() argument
1188 if (iter_buf == NULL && type->getiter != mp_obj_instance_getiter) { in mp_getiter()
1191 iter_buf = m_new_obj(mp_obj_iter_buf_t); in mp_getiter()
1193 mp_obj_t iter = type->getiter(o_in, iter_buf); in mp_getiter()
1204 if (iter_buf == NULL) { in mp_getiter()
1206 iter_buf = m_new_obj(mp_obj_iter_buf_t); in mp_getiter()
1208 return mp_obj_new_getitem_iter(dest, iter_buf); in mp_getiter()