Searched refs:mp_raw_code_t (Results 1 – 19 of 19) sorted by relevance
/AliOS-Things-master/components/py_engine/engine/py/ |
A D | emitglue.h | 84 } mp_raw_code_t; typedef 86 mp_raw_code_t *mp_emit_glue_new_raw_code(void); 88 void mp_emit_glue_assign_bytecode(mp_raw_code_t *rc, const byte *code, 98 void mp_emit_glue_assign_native(mp_raw_code_t *rc, mp_raw_code_kind_t kind, void *fun_data, mp_uint… 107 mp_obj_t mp_make_function_from_raw_code(const mp_raw_code_t *rc, mp_obj_t def_args, mp_obj_t def_kw… 108 mp_obj_t mp_make_closure_from_raw_code(const mp_raw_code_t *rc, mp_uint_t n_closed_over, const mp_o…
|
A D | persistentcode.h | 106 mp_raw_code_t *mp_raw_code_load(mp_reader_t *reader); 107 mp_raw_code_t *mp_raw_code_load_mem(const byte *buf, size_t len); 108 mp_raw_code_t *mp_raw_code_load_file(const char *filename); 110 void mp_raw_code_save(mp_raw_code_t *rc, mp_print_t *print); 111 void mp_raw_code_save_file(mp_raw_code_t *rc, const char *filename);
|
A D | emitglue.c | 53 mp_raw_code_t *mp_emit_glue_new_raw_code(void) { in mp_emit_glue_new_raw_code() 54 mp_raw_code_t *rc = m_new0(mp_raw_code_t, 1); in mp_emit_glue_new_raw_code() 62 void mp_emit_glue_assign_bytecode(mp_raw_code_t *rc, const byte *code, in mp_emit_glue_assign_bytecode() 101 void mp_emit_glue_assign_native(mp_raw_code_t *rc, mp_raw_code_kind_t kind, void *fun_data, mp_uint… in mp_emit_glue_assign_native() 173 mp_obj_t mp_make_function_from_raw_code(const mp_raw_code_t *rc, mp_obj_t def_args, mp_obj_t def_kw… in mp_make_function_from_raw_code() 221 mp_obj_t mp_make_closure_from_raw_code(const mp_raw_code_t *rc, mp_uint_t n_closed_over, const mp_o… in mp_make_closure_from_raw_code()
|
A D | frozenmod.c | 83 extern const mp_raw_code_t *const mp_frozen_mpy_content[]; 85 STATIC const mp_raw_code_t *mp_find_frozen_mpy(const char *str, size_t len) { in mp_find_frozen_mpy() 147 const mp_raw_code_t *rc = mp_find_frozen_mpy(str, len); in mp_find_frozen_module()
|
A D | profile.h | 38 const mp_raw_code_t *rc; 56 mp_obj_t mp_obj_new_code(const mp_raw_code_t *rc);
|
A D | profile.c | 68 const mp_raw_code_t *rc = o->rc; in code_print() 79 STATIC mp_obj_tuple_t *code_consts(const mp_raw_code_t *rc) { in code_consts() 98 STATIC mp_obj_t raw_code_lnotab(const mp_raw_code_t *rc) { in raw_code_lnotab() 142 const mp_raw_code_t *rc = o->rc; in code_attr() 183 mp_obj_t mp_obj_new_code(const mp_raw_code_t *rc) { in mp_obj_new_code() 202 const mp_raw_code_t *rc = code->rc; in frame_print() 266 const mp_raw_code_t *rc = code->rc; in mp_obj_new_frame() 328 const mp_raw_code_t *rc = code_state->fun_bc->rc; in mp_prof_frame_enter() 366 const mp_raw_code_t *rc = code->rc; in mp_prof_frame_update() 404 const mp_raw_code_t *rc = code_state->fun_bc->rc; in mp_prof_instr_tick() [all …]
|
A D | persistentcode.c | 352 STATIC mp_raw_code_t *load_raw_code(mp_reader_t *reader, qstr_window_t *qw) { in load_raw_code() 497 mp_raw_code_t *rc = mp_emit_glue_new_raw_code(); in load_raw_code() 549 mp_raw_code_t *mp_raw_code_load(mp_reader_t *reader) { in mp_raw_code_load() 567 mp_raw_code_t *rc = load_raw_code(reader, &qw); in mp_raw_code_load() 572 mp_raw_code_t *mp_raw_code_load_mem(const byte *buf, size_t len) { in mp_raw_code_load_mem() 580 mp_raw_code_t *mp_raw_code_load_file(const char *filename) { in mp_raw_code_load_file() 772 save_raw_code(print, (mp_raw_code_t *)(uintptr_t)*const_table++, qstr_window); in save_raw_code() 777 STATIC bool mp_raw_code_has_native(mp_raw_code_t *rc) { in mp_raw_code_has_native() 791 if (mp_raw_code_has_native((mp_raw_code_t *)(uintptr_t)*const_table++)) { in mp_raw_code_has_native() 799 void mp_raw_code_save(mp_raw_code_t *rc, mp_print_t *print) { in mp_raw_code_save() [all …]
|
A D | compile.h | 39 mp_raw_code_t *mp_compile_to_raw_code(mp_parse_tree_t *parse_tree, qstr source_file, bool is_repl);
|
A D | scope.h | 77 mp_raw_code_t *raw_code;
|
A D | nativeglue.h | 115 …mp_obj_t (*make_function_from_raw_code)(const mp_raw_code_t *rc, mp_obj_t def_args, mp_obj_t def_k… 132 …mp_obj_t (*make_closure_from_raw_code)(const mp_raw_code_t *rc, mp_uint_t n_closed_over, const mp_…
|
A D | builtinimport.c | 146 STATIC void do_execute_raw_code(mp_obj_t module_obj, mp_raw_code_t *raw_code, const char *source_na… in do_execute_raw_code() 216 mp_raw_code_t *raw_code = mp_raw_code_load_file(file_str); in do_load()
|
A D | dynruntime.h | 191 mp_raw_code_t rc; \
|
A D | emitbc.c | 262 STATIC void emit_write_bytecode_byte_raw_code(emit_t *emit, int stack_adj, byte b, mp_raw_code_t *r… in emit_write_bytecode_byte_raw_code()
|
A D | compile.c | 3500 mp_raw_code_t *mp_compile_to_raw_code(mp_parse_tree_t *parse_tree, qstr source_file, bool is_repl) { in mp_compile_to_raw_code() 3656 mp_raw_code_t *outer_raw_code = module_scope->raw_code; in mp_compile_to_raw_code() 3671 mp_raw_code_t *rc = mp_compile_to_raw_code(parse_tree, source_file, is_repl); in mp_compile()
|
A D | emitnative.c | 1159 STATIC void emit_load_reg_with_raw_code(emit_t *emit, int reg, mp_raw_code_t *rc) { in emit_load_reg_with_raw_code()
|
/AliOS-Things-master/components/py_engine/adapter/haas/ |
A D | _frozen_mpy.c | 169 const mp_raw_code_t raw_code_frozentest__lt_module_gt_ = { 194 const mp_raw_code_t *const mp_frozen_mpy_content[] = {
|
/AliOS-Things-master/components/py_engine/adapter/haas510/ |
A D | _frozen_mpy.c | 96 const mp_raw_code_t raw_code_frozentest__lt_module_gt_ = { 120 const mp_raw_code_t *const mp_frozen_mpy_content[] = {
|
/AliOS-Things-master/components/py_engine/adapter/haas600/ |
A D | _frozen_mpy.c | 96 const mp_raw_code_t raw_code_frozentest__lt_module_gt_ = { 120 const mp_raw_code_t *const mp_frozen_mpy_content[] = {
|
/AliOS-Things-master/components/py_engine/engine/mpy-cross/ |
A D | main.c | 75 mp_raw_code_t *rc = mp_compile_to_raw_code(&parse_tree, source_name, false); in compile_and_save()
|
Completed in 34 milliseconds