Home
last modified time | relevance | path

Searched refs:args2 (Results 1 – 11 of 11) sorted by relevance

/AliOS-Things-master/components/py_engine/engine/py/
A Dobjboundmeth.c53 mp_obj_t *args2 = NULL; in mp_call_method_self_n_kw() local
55 args2 = mp_pystack_alloc(sizeof(mp_obj_t) * (1 + n_total)); 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()
61 free_args2 = args2; in mp_call_method_self_n_kw()
63 if (args2 == NULL) { in mp_call_method_self_n_kw()
65 args2 = alloca(sizeof(mp_obj_t) * (1 + n_total)); in mp_call_method_self_n_kw()
68 args2[0] = self; 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()
72 mp_pystack_free(args2); in mp_call_method_self_n_kw()
A Dobjclosure.c47 mp_obj_t args2[5]; in closure_call() local
48 memcpy(args2, self->closed, self->n_closed * sizeof(mp_obj_t)); in closure_call()
49 memcpy(args2 + self->n_closed, args, (n_args + 2 * n_kw) * sizeof(mp_obj_t)); in closure_call()
50 return mp_call_function_n_kw(self->fun, self->n_closed + n_args, n_kw, args2); in closure_call()
53 mp_obj_t *args2 = m_new(mp_obj_t, n_total); in closure_call() local
54 memcpy(args2, self->closed, self->n_closed * sizeof(mp_obj_t)); in closure_call()
55 memcpy(args2 + self->n_closed, args, (n_args + 2 * n_kw) * sizeof(mp_obj_t)); in closure_call()
56 mp_obj_t res = mp_call_function_n_kw(self->fun, self->n_closed + n_args, n_kw, args2); in closure_call()
57 m_del(mp_obj_t, args2, n_total); in closure_call()
A Druntime.c696 mp_obj_t *args2; in mp_call_prepare_args_n_kw_var() local
717 args2[args2_len++] = self; in mp_call_prepare_args_n_kw_var()
738 args2[args2_len++] = self; in mp_call_prepare_args_n_kw_var()
754 args2[args2_len++] = self; in mp_call_prepare_args_n_kw_var()
767args2 = mp_nonlocal_realloc(args2, args2_alloc * sizeof(mp_obj_t), args2_alloc * 2 * sizeof(mp_obj… in mp_call_prepare_args_n_kw_var()
770 args2[args2_len++] = item; in mp_call_prepare_args_n_kw_var()
796 args2[args2_len++] = key; in mp_call_prepare_args_n_kw_var()
818args2 = mp_nonlocal_realloc(args2, args2_alloc * sizeof(mp_obj_t), new_alloc * sizeof(mp_obj_t)); in mp_call_prepare_args_n_kw_var()
833 args2[args2_len++] = key; in mp_call_prepare_args_n_kw_var()
834 args2[args2_len++] = value; in mp_call_prepare_args_n_kw_var()
[all …]
A Dobjtype.c309 mp_obj_t args2[1] = {MP_OBJ_FROM_PTR(self)}; in mp_obj_instance_make_new() local
310 new_ret = mp_call_function_n_kw(init_fn[0], 1, 0, args2); in mp_obj_instance_make_new()
312 mp_obj_t *args2 = m_new(mp_obj_t, 1 + n_args + 2 * n_kw); in mp_obj_instance_make_new() local
313 args2[0] = MP_OBJ_FROM_PTR(self); in mp_obj_instance_make_new()
314 memcpy(args2 + 1, args, (n_args + 2 * n_kw) * sizeof(mp_obj_t)); in mp_obj_instance_make_new()
316 m_del(mp_obj_t, args2, 1 + n_args + 2 * n_kw); in mp_obj_instance_make_new()
343 mp_obj_t *args2 = m_new(mp_obj_t, 2 + n_args + 2 * n_kw); in mp_obj_instance_make_new() local
344 args2[0] = init_fn[0]; in mp_obj_instance_make_new()
345 args2[1] = init_fn[1]; in mp_obj_instance_make_new()
347 init_ret = mp_call_method_n_kw(n_args, n_kw, args2); in mp_obj_instance_make_new()
[all …]
A Dobjdict.c120 …mp_obj_t args2[2] = {dict_out, args[0]}; // args[0] is always valid, even if it's not a positional… in mp_obj_dict_make_new() local
123 dict_update(n_args + 1, args2, &kwargs); // dict_update will check that n_args + 1 == 1 or 2 in mp_obj_dict_make_new()
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/
A Dgradlew147 (3) set -- "$args0" "$args1" "$args2" ;;
148 (4) set -- "$args0" "$args1" "$args2" "$args3" ;;
149 (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
150 (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
151 (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
152 (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
153 … (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
/AliOS-Things-master/components/freetype/src/base/
A Dftrfork.c774 FT_Open_Args args2; in raccess_guess_linux_double_from_file_name() local
780 args2.flags = FT_OPEN_PATHNAME; in raccess_guess_linux_double_from_file_name()
781 args2.pathname = file_name; in raccess_guess_linux_double_from_file_name()
782 error = FT_Stream_New( library, &args2, &stream2 ); in raccess_guess_linux_double_from_file_name()
A Dftobjs.c1916 FT_Open_Args args2; in load_face_in_embedded_rfork() local
1940 args2.flags = FT_OPEN_PATHNAME; in load_face_in_embedded_rfork()
1941 args2.pathname = file_names[i] ? file_names[i] : args->pathname; in load_face_in_embedded_rfork()
1944 i, args2.pathname, offsets[i] )); in load_face_in_embedded_rfork()
1946 error = FT_Stream_New( library, &args2, &stream2 ); in load_face_in_embedded_rfork()
/AliOS-Things-master/components/py_engine/adapter/haas/
A Dmodmachine.c210 mp_obj_t args2[2] = { MP_OBJ_NULL, args[0] }; in machine_lightsleep() local
220 mp_obj_t args2[2] = { MP_OBJ_NULL, args[0] }; in machine_deepsleep() local
/AliOS-Things-master/components/py_engine/adapter/haas510/
A Dmodmachine.c193 mp_obj_t args2[2] = {MP_OBJ_NULL, args[0]}; in machine_lightsleep() local
201 mp_obj_t args2[2] = {MP_OBJ_NULL, args[0]}; in machine_deepsleep() local
/AliOS-Things-master/components/py_engine/adapter/haas600/
A Dmodmachine.c193 mp_obj_t args2[2] = {MP_OBJ_NULL, args[0]}; in machine_lightsleep() local
201 mp_obj_t args2[2] = {MP_OBJ_NULL, args[0]}; in machine_deepsleep() local

Completed in 25 milliseconds