Home
last modified time | relevance | path

Searched refs:const_table (Results 1 – 21 of 21) sorted by relevance

/AliOS-Things-master/components/py_engine/engine/py/
A Demitglue.c66 const mp_uint_t *const_table, in mp_emit_glue_assign_bytecode() argument
75 rc->const_table = const_table; in mp_emit_glue_assign_bytecode()
95 mp_bytecode_print(&mp_plat_print, rc, code, len, const_table); in mp_emit_glue_assign_bytecode()
101 …de_t *rc, mp_raw_code_kind_t kind, void *fun_data, mp_uint_t fun_len, const mp_uint_t *const_table, in mp_emit_glue_assign_native() argument
140 rc->const_table = const_table; in mp_emit_glue_assign_native()
189 fun = mp_obj_new_fun_native(def_args, def_kw_args, rc->fun_data, rc->const_table); in mp_make_function_from_raw_code()
204 fun = mp_obj_new_fun_bc(def_args, def_kw_args, rc->fun_data, rc->const_table); in mp_make_function_from_raw_code()
A Dpersistentcode.c157 mp_uint_t *const_table; member
223 dest = ri->const_table[op]; in mp_native_relocate()
433 mp_uint_t *const_table = NULL; in load_raw_code() local
456 const_table = m_new(mp_uint_t, n_alloc); in load_raw_code()
457 mp_uint_t *ct = const_table; in load_raw_code()
504 const_table, in load_raw_code()
513 reloc_info_t ri = {reader, const_table}; in load_raw_code()
537 fun_data, fun_data_len, const_table, in load_raw_code()
753 const mp_uint_t *const_table = rc->const_table; in save_raw_code() local
764 ++const_table; in save_raw_code()
[all …]
A Demitglue.h62 const mp_uint_t *const_table; member
92 const mp_uint_t *const_table,
99 const mp_uint_t *const_table,
A Dbc.h232 …_print_t *print, const void *descr, const byte *code, mp_uint_t len, const mp_uint_t *const_table);
233 …tecode_print2(const mp_print_t *print, const byte *code, size_t len, const mp_uint_t *const_table);
235 #define mp_bytecode_print_inst(print, code, const_table) mp_bytecode_print2(print, code, 1, const_t… argument
A Dasmxtensa.c68 as->const_table = (uint32_t *)mp_asm_base_get_cur_to_write_bytes(&as->base, as->num_const * 4); in asm_xtensa_entry()
108 as->const_table = (uint32_t *)mp_asm_base_get_cur_to_write_bytes(&as->base, as->num_const * 4); in asm_xtensa_entry_win()
176 uint32_t const_table_offset = (uint8_t *)as->const_table - as->base.code_base; in asm_xtensa_mov_reg_i32()
180 if (as->const_table != NULL) { in asm_xtensa_mov_reg_i32()
181 as->const_table[as->cur_const] = i32; in asm_xtensa_mov_reg_i32()
A Dshowbc.c80 …p_print_t *print, const void *descr, const byte *ip, mp_uint_t len, const mp_uint_t *const_table) { in mp_bytecode_print() argument
114 mp_printf(print, " %s", qstr_str(MP_OBJ_QSTR_VALUE(const_table[i]))); in mp_bytecode_print()
150 mp_bytecode_print2(print, ip, len - prelude_size, const_table); in mp_bytecode_print()
549 …ytecode_print2(const mp_print_t *print, const byte *ip, size_t len, const mp_uint_t *const_table) { in mp_bytecode_print2() argument
551 mp_showbc_const_table = const_table; in mp_bytecode_print2()
A Dobjfun.h35 const mp_uint_t *const_table; // constant table member
A Dobjfun.c380 …un_bc(mp_obj_t def_args_in, mp_obj_t def_kw_args, const byte *code, const mp_uint_t *const_table) { in mp_obj_new_fun_bc() argument
396 o->const_table = const_table; in mp_obj_new_fun_bc()
426 …e(mp_obj_t def_args_in, mp_obj_t def_kw_args, const void *fun_data, const mp_uint_t *const_table) { in mp_obj_new_fun_native() argument
427 …obj_fun_bc_t *o = mp_obj_new_fun_bc(def_args_in, def_kw_args, (const byte *)fun_data, const_table); in mp_obj_new_fun_native()
A Demitbc.c75 mp_uint_t *const_table; member
227 emit->const_table[n] = c; in emit_write_bytecode_byte_const()
386 emit->const_table[i] = (mp_uint_t)MP_OBJ_NEW_QSTR(qst); in mp_emit_bc_start_pass()
432 emit->const_table = m_new0(mp_uint_t, in mp_emit_bc_end_pass()
436 emit->const_table = m_new0(mp_uint_t, in mp_emit_bc_end_pass()
445 emit->const_table, in mp_emit_bc_end_pass()
A Dprofile.c87 mp_obj_t code = mp_obj_new_code((const mp_raw_code_t *)MP_OBJ_TO_PTR(rc->const_table[i])); in code_consts()
458 ptr = (const byte *)const_table[unum]
461 obj = (mp_obj_t)const_table[unum]
470 STATIC const byte *mp_prof_opcode_decode(const byte *ip, const mp_uint_t *const_table, mp_dis_instr… in mp_prof_opcode_decode() argument
944 mp_prof_opcode_decode(ip, code_state->fun_bc->rc->const_table, instruction); in mp_prof_print_instr()
A Ddynruntime.h194 rc.const_table = (void *)self->const_table; \
A Dbc.c198 const mp_obj_t *arg_names = (const mp_obj_t *)self->const_table; in mp_setup_code_state()
A Demitnative.c97 #define OFFSETOF_OBJ_FUN_BC_CONST_TABLE (offsetof(mp_obj_fun_bc_t, const_table) / sizeof(uintptr_t))
238 mp_uint_t *const_table; member
644 emit->const_table[i] = (mp_uint_t)MP_OBJ_NEW_QSTR(qst); in emit_native_start_pass()
698 emit->const_table[table_off] = (uintptr_t)mp_obj_new_bytes(buf, n); in emit_native_end_pass()
720 emit->const_table = m_new(mp_uint_t, const_table_alloc); in emit_native_end_pass()
724 emit->const_table[nqstr] = (mp_uint_t)(uintptr_t)&mp_fun_table; in emit_native_end_pass()
741 f, f_len, emit->const_table, in emit_native_end_pass()
1146 emit->const_table[table_off] = ptr; in emit_load_reg_with_ptr()
1257 …G_OFFSET(emit->as, REG_LOCAL_1, REG_LOCAL_1, offsetof(mp_obj_fun_bc_t, const_table) / sizeof(uintp… in emit_native_global_exc_entry()
A Dobjgenerator.c98 mp_obj_str_t *prelude_bytes = MP_OBJ_TO_PTR(self_fun->const_table[prelude_offset]); in native_gen_wrap_call()
A Dvm.c47 …TRACE(ip) TRACE_PREFIX; mp_bytecode_print2(&mp_plat_print, ip, 1, code_state->fun_bc->const_table);
74 void *ptr = (void*)(uintptr_t)code_state->fun_bc->const_table[unum]
77 mp_obj_t obj = (mp_obj_t)code_state->fun_bc->const_table[unum]
A Dobj.h753 …ew_fun_bc(mp_obj_t def_args, mp_obj_t def_kw_args, const byte *code, const mp_uint_t *const_table);
754 …ve(mp_obj_t def_args_in, mp_obj_t def_kw_args, const void *fun_data, const mp_uint_t *const_table);
A Dasmxtensa.h117 uint32_t *const_table; member
/AliOS-Things-master/components/py_engine/adapter/haas/
A D_frozen_mpy.c174 .const_table = (mp_uint_t *)const_table_data_frozentest__lt_module_gt_,
/AliOS-Things-master/components/py_engine/adapter/haas510/
A D_frozen_mpy.c101 .const_table = (mp_uint_t*)const_table_data_frozentest__lt_module_gt_,
/AliOS-Things-master/components/py_engine/adapter/haas600/
A D_frozen_mpy.c101 .const_table = (mp_uint_t*)const_table_data_frozentest__lt_module_gt_,
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/swig/
A Dlibwebp_python_wrap.c5216 swig_const_info *const_table, in SWIG_Python_FixMethods() argument
5226 for (j = 0; const_table[j].type; ++j) { in SWIG_Python_FixMethods()
5227 if (strncmp(const_table[j].name, name, in SWIG_Python_FixMethods()
5228 strlen(const_table[j].name)) == 0) { in SWIG_Python_FixMethods()
5229 ci = &(const_table[j]); in SWIG_Python_FixMethods()

Completed in 58 milliseconds