Lines Matching refs:mp_obj_t
34 mp_obj_t meth;
35 mp_obj_t self;
39 STATIC void bound_meth_print(const mp_print_t *print, mp_obj_t o_in, mp_print_kind_t kind) { in bound_meth_print()
50 mp_obj_t mp_call_method_self_n_kw(mp_obj_t meth, mp_obj_t self, size_t n_args, size_t n_kw, const m… in mp_call_method_self_n_kw()
53 mp_obj_t *args2 = NULL; in mp_call_method_self_n_kw()
55 args2 = mp_pystack_alloc(sizeof(mp_obj_t) * (1 + n_total)); in mp_call_method_self_n_kw()
57 mp_obj_t *free_args2 = NULL; in mp_call_method_self_n_kw()
60 args2 = m_new_maybe(mp_obj_t, 1 + n_total); in mp_call_method_self_n_kw()
65 args2 = alloca(sizeof(mp_obj_t) * (1 + n_total)); in mp_call_method_self_n_kw()
69 memcpy(args2 + 1, args, n_total * sizeof(mp_obj_t)); in mp_call_method_self_n_kw()
70 mp_obj_t res = mp_call_function_n_kw(meth, n_args + 1, n_kw, args2); in mp_call_method_self_n_kw()
75 m_del(mp_obj_t, free_args2, 1 + n_total); in mp_call_method_self_n_kw()
81 STATIC mp_obj_t bound_meth_call(mp_obj_t self_in, size_t n_args, size_t n_kw, const mp_obj_t *args)… in bound_meth_call()
87 STATIC void bound_meth_attr(mp_obj_t self_in, qstr attr, mp_obj_t *dest) { in bound_meth_attr()
110 mp_obj_t mp_obj_new_bound_meth(mp_obj_t meth, mp_obj_t self) { in mp_obj_new_bound_meth()