Home
last modified time | relevance | path

Searched refs:n_iters (Results 1 – 2 of 2) sorted by relevance

/AliOS-Things-master/components/py_engine/engine/py/
A Dobjmap.c34 size_t n_iters; member
43 o->n_iters = n_args - 1; in map_make_new()
54 mp_obj_t *nextses = m_new(mp_obj_t, self->n_iters); in map_iternext()
56 for (size_t i = 0; i < self->n_iters; i++) { in map_iternext()
59 m_del(mp_obj_t, nextses, self->n_iters); in map_iternext()
64 return mp_call_function_n_kw(self->fun, self->n_iters, 0, nextses); in map_iternext()
A Dobjzip.c35 size_t n_iters; member
44 o->n_iters = n_args; in zip_make_new()
54 if (self->n_iters == 0) { in zip_iternext()
57 mp_obj_tuple_t *tuple = MP_OBJ_TO_PTR(mp_obj_new_tuple(self->n_iters, NULL)); in zip_iternext()
59 for (size_t i = 0; i < self->n_iters; i++) { in zip_iternext()

Completed in 2 milliseconds