/AliOS-Things-master/components/py_engine/engine/py/ |
A D | bc.c | 153 if (n_args > n_pos_args) { in mp_setup_code_state() 156 fun_pos_args_mismatch(self, n_pos_args, n_args); in mp_setup_code_state() 159 *var_pos_kw_args-- = mp_obj_new_tuple(n_args - n_pos_args, args + n_pos_args); in mp_setup_code_state() 160 n_args = n_pos_args; in mp_setup_code_state() 169 if (n_args >= (size_t)(n_pos_args - n_def_pos_args)) { in mp_setup_code_state() 171 for (size_t i = n_args; i < n_pos_args; i++) { 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() 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() 230 mp_obj_t *d = &code_state->state[n_state - n_pos_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() [all …]
|
A D | emitglue.c | 107 mp_uint_t n_pos_args, mp_uint_t scope_flags, mp_uint_t type_sig) { in mp_emit_glue_assign_native() argument 138 rc->n_pos_args = n_pos_args; in mp_emit_glue_assign_native() 153 …NT_FMT " n_pos_args=" UINT_FMT " flags=%x\n", kind, fun_data, fun_len, n_pos_args, (uint)scope_fla… in mp_emit_glue_assign_native() 198 fun = mp_obj_new_fun_asm(rc->n_pos_args, rc->fun_data, rc->type_sig); in mp_make_function_from_raw_code()
|
A D | bc.h | 130 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 182 uint n_pos_args; member
|
A D | persistentcode.c | 121 uint n_pos_args; member 134 prelude->n_pos_args = n_pos_args; in extract_prelude() 421 prelude.n_pos_args = 0; in load_raw_code() 424 prelude.n_pos_args = read_uint(reader, NULL); 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() 543 prelude.n_pos_args, prelude.scope_flags, type_sig); in load_raw_code() 736 prelude.n_pos_args = 0; in save_raw_code() 739 mp_print_uint(print, rc->n_pos_args); in save_raw_code() 757 for (size_t i = 0; i < prelude.n_pos_args + prelude.n_kwonly_args; ++i) { in save_raw_code() [all …]
|
A D | emitglue.h | 60 mp_uint_t n_pos_args : 11; member 105 mp_uint_t n_pos_args, mp_uint_t scope_flags, mp_uint_t type_sig);
|
A D | objfun.c | 201 size_t n_exc_stack, scope_flags, n_pos_args, n_kwonly_args, n_def_args; \ 202 …MP_BC_PRELUDE_SIG_DECODE_INTO(ip, n_state_out_var, n_exc_stack, scope_flags, n_pos_args, n_kwonly_… 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 D | objgenerator.c | 102 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 …MP_BC_PRELUDE_SIG_DECODE_INTO(ip, n_state, n_exc_stack_unused, scope_flags, n_pos_args, n_kwonly_a… in native_gen_wrap_call()
|
A D | profile.c | 47 prelude->n_pos_args = n_pos_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 D | showbc.c | 113 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 D | mpy-tool.py | 208 n_pos_args, 219 return ip, ip2, (n_state, n_exc_stack, scope_flags, n_pos_args, n_kwonly_args, n_def_pos_args) 693 n_pos_args, 702 return n_state, n_exc_stack, scope_flags, n_pos_args, n_kwonly_args, n_def_pos_args 757 n_pos_args = 0 759 n_pos_args = read_uint(f) 761 prelude = (None, None, scope_flags, n_pos_args, 0)
|
/AliOS-Things-master/components/py_engine/adapter/haas/ |
A D | _frozen_mpy.c | 172 .n_pos_args = 0,
|
/AliOS-Things-master/components/py_engine/adapter/haas510/ |
A D | _frozen_mpy.c | 99 .n_pos_args = 0,
|
/AliOS-Things-master/components/py_engine/adapter/haas600/ |
A D | _frozen_mpy.c | 99 .n_pos_args = 0,
|