Home
last modified time | relevance | path

Searched refs:n_kwonly_args (Results 1 – 8 of 8) sorted by relevance

/AliOS-Things-master/components/py_engine/engine/py/
A Dbc.c135 … size_t n_state_unused, n_exc_stack_unused, scope_flags, n_pos_args, n_kwonly_args, n_def_pos_args; in mp_setup_code_state() local
136 …ate->ip, n_state_unused, n_exc_stack_unused, scope_flags, n_pos_args, n_kwonly_args, n_def_pos_arg… in mp_setup_code_state()
149 mp_obj_t *var_pos_kw_args = &code_state->state[n_state - 1 - n_pos_args - n_kwonly_args]; in mp_setup_code_state()
189 … dump_args(code_state->state + n_state - n_pos_args - n_kwonly_args, n_pos_args + n_kwonly_args); in mp_setup_code_state()
203 for (size_t j = 0; j < n_pos_args + n_kwonly_args; j++) { in mp_setup_code_state()
227 … dump_args(code_state->state + n_state - n_pos_args - n_kwonly_args, n_pos_args + n_kwonly_args); in mp_setup_code_state()
239 … dump_args(code_state->state + n_state - n_pos_args - n_kwonly_args, n_pos_args + n_kwonly_args); in mp_setup_code_state()
251 for (size_t i = 0; i < n_kwonly_args; i++) { in mp_setup_code_state()
268 if (n_kwonly_args != 0) { in mp_setup_code_state()
298 DEBUG_printf("Calling: n_pos_args=%d, n_kwonly_args=%d\n", n_pos_args, n_kwonly_args); in mp_setup_code_state()
[all …]
A Dbc.h130 size_t n_state, n_exc_stack, scope_flags, n_pos_args, n_kwonly_args, n_def_pos_args; \
131 …MP_BC_PRELUDE_SIG_DECODE_INTO(ip, n_state, n_exc_stack, scope_flags, n_pos_args, n_kwonly_args, n_…
133 (void)n_pos_args; (void)n_kwonly_args; (void)n_def_pos_args
183 uint n_kwonly_args; member
A Dobjfun.c201 size_t n_exc_stack, scope_flags, n_pos_args, n_kwonly_args, n_def_args; \
202 …ECODE_INTO(ip, n_state_out_var, n_exc_stack, scope_flags, n_pos_args, n_kwonly_args, n_def_args); \
203 (void)scope_flags; (void)n_pos_args; (void)n_kwonly_args; (void)n_def_args; \
301 size_t n_pos_args, n_kwonly_args, n_def_args_unused; in fun_bc_call() local
303 scope_flags_unused, n_pos_args, n_kwonly_args, n_def_args_unused); in fun_bc_call()
307 if (!(vm_return_kind == MP_VM_RETURN_EXCEPTION && n_pos_args + n_kwonly_args == 0)) { in fun_bc_call()
310 for (size_t i = 0; i < n_state - n_pos_args - n_kwonly_args; ++i) { in fun_bc_call()
A Dpersistentcode.c122 uint n_kwonly_args; member
135 prelude->n_kwonly_args = n_kwonly_args; in extract_prelude()
422 prelude.n_kwonly_args = 0; in load_raw_code()
443 size_t n_alloc = prelude.n_pos_args + prelude.n_kwonly_args + n_obj + n_raw_code; in load_raw_code()
461 for (size_t i = 0; i < prelude.n_pos_args + prelude.n_kwonly_args; ++i) { in load_raw_code()
737 prelude.n_kwonly_args = 0; in save_raw_code()
757 for (size_t i = 0; i < prelude.n_pos_args + prelude.n_kwonly_args; ++i) { in save_raw_code()
787 + prelude.n_pos_args + prelude.n_kwonly_args in mp_raw_code_has_native()
A Dobjgenerator.c102 size_t n_state, n_exc_stack_unused, scope_flags, n_pos_args, n_kwonly_args, n_def_args; in native_gen_wrap_call() local
103 …G_DECODE_INTO(ip, n_state, n_exc_stack_unused, scope_flags, n_pos_args, n_kwonly_args, n_def_args); in native_gen_wrap_call()
A Dprofile.c48 prelude->n_kwonly_args = n_kwonly_args; in mp_prof_extract_prelude()
81 int start = prelude->n_pos_args + prelude->n_kwonly_args + rc->n_obj; in code_consts()
82 int stop = prelude->n_pos_args + prelude->n_kwonly_args + rc->n_obj + rc->n_raw_code; in code_consts()
A Dshowbc.c113 for (mp_uint_t i = 0; i < n_pos_args + n_kwonly_args; i++) { in mp_bytecode_print()
/AliOS-Things-master/components/py_engine/engine/tools/
A Dmpy-tool.py209 n_kwonly_args,
219 return ip, ip2, (n_state, n_exc_stack, scope_flags, n_pos_args, n_kwonly_args, n_def_pos_args)
694 n_kwonly_args,
702 return n_state, n_exc_stack, scope_flags, n_pos_args, n_kwonly_args, n_def_pos_args

Completed in 14 milliseconds