Home
last modified time | relevance | path

Searched refs:fun_data (Results 1 – 12 of 12) sorted by relevance

/AliOS-Things-master/components/py_engine/engine/py/
A Demitglue.c74 rc->fun_data = 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() argument
117 MP_HAL_CLEAN_DCACHE(fun_data, fun_len); in mp_emit_glue_assign_native()
123 __builtin___clear_cache(fun_data, (uint8_t *)fun_data + fun_len); in mp_emit_glue_assign_native()
139 rc->fun_data = fun_data; in mp_emit_glue_assign_native()
153 …d=%d fun=%p len=" UINT_FMT " n_pos_args=" UINT_FMT " flags=%x\n", kind, fun_data, fun_len, n_pos_a… in mp_emit_glue_assign_native()
158 DEBUG_printf(" %02x", ((byte *)fun_data)[i]); in mp_emit_glue_assign_native()
164 fwrite(fun_data, fun_len, 1, fp_write_code); 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()
198 fun = mp_obj_new_fun_asm(rc->n_pos_args, rc->fun_data, rc->type_sig); in mp_make_function_from_raw_code()
[all …]
A Dpersistentcode.c364 uint8_t *fun_data = NULL; in load_raw_code() local
374 fun_data = m_new(uint8_t, fun_data_len); in load_raw_code()
377 byte *ip = fun_data; in load_raw_code()
388 read_bytes(reader, fun_data, fun_data_len); in load_raw_code()
500 mp_emit_glue_assign_bytecode(rc, fun_data, in load_raw_code()
516 fun_data = MP_PLAT_COMMIT_EXEC(fun_data, fun_data_len, opt_ri); in load_raw_code()
531 mp_native_relocate(&ri, fun_data, (uintptr_t)fun_data); in load_raw_code()
537 fun_data, fun_data_len, const_table, in load_raw_code()
699 const byte *ip = rc->fun_data; in save_raw_code()
703 mp_print_bytes(print, rc->fun_data, ip_info - (const byte *)rc->fun_data); in save_raw_code()
[all …]
A Demitglue.h61 const void *fun_data; member
98 void mp_emit_glue_assign_native(mp_raw_code_t *rc, mp_raw_code_kind_t kind, void *fun_data, mp_uint…
A Dobjfun.c426 mp_obj_t mp_obj_new_fun_native(mp_obj_t def_args_in, mp_obj_t def_kw_args, const void *fun_data, co… in mp_obj_new_fun_native() argument
427 …mp_obj_fun_bc_t *o = mp_obj_new_fun_bc(def_args_in, def_kw_args, (const byte *)fun_data, const_tab… in mp_obj_new_fun_native()
442 const void *fun_data; // GC must be able to trace this pointer member
501 const void *fun = MICROPY_MAKE_POINTER_CALLABLE(self->fun_data); in fun_asm_call()
534 mp_obj_t mp_obj_new_fun_asm(size_t n_args, const void *fun_data, mp_uint_t type_sig) { in mp_obj_new_fun_asm() argument
538 o->fun_data = fun_data; in mp_obj_new_fun_asm()
A Ddynruntime.h202 (mp_make_function_from_raw_code((rc.fun_data = (f), &rc), MP_OBJ_NULL, MP_OBJ_NULL))
A Dobj.h754 mp_obj_t mp_obj_new_fun_native(mp_obj_t def_args_in, mp_obj_t def_kw_args, const void *fun_data, co…
755 mp_obj_t mp_obj_new_fun_asm(size_t n_args, const void *fun_data, mp_uint_t type_sig);
A Dprofile.c148 rc->fun_data_len - (prelude->opcodes - (const byte *)rc->fun_data) in code_attr()
/AliOS-Things-master/components/py_engine/engine/tools/
A Dmpy-tool.py477 fun_data, argument
487 code_kind, fun_data, prelude_offset, qstrs, objs, raw_codes
730 fun_data = BytecodeBuffer(fun_data_len)
733 prelude = read_prelude(f, fun_data, qstr_win)
734 read_bytecode(f, fun_data, qstr_win)
736 fun_data.buf[:] = f.read(fun_data_len)
751 fun_data.idx = name_idx # rewind to where qstrs are in prelude
752 read_qstr_and_pack(f, fun_data, qstr_win) # simple_name
753 read_qstr_and_pack(f, fun_data, qstr_win) # source_file
777 return RawCodeBytecode(fun_data.buf, qstrs, objs, raw_codes)
[all …]
/AliOS-Things-master/components/py_engine/adapter/haas/
A D_frozen_mpy.c173 .fun_data = fun_data_frozentest__lt_module_gt_,
/AliOS-Things-master/components/py_engine/adapter/haas510/
A D_frozen_mpy.c100 .fun_data = fun_data_frozentest__lt_module_gt_,
/AliOS-Things-master/components/py_engine/adapter/haas600/
A D_frozen_mpy.c100 .fun_data = fun_data_frozentest__lt_module_gt_,
/AliOS-Things-master/components/amp/engine/duktape_engine/duktape/
A Dduktape.c19920 duk_uint8_t *fun_data; in duk__load_func() local
20000 fun_data = (duk_uint8_t *) duk_push_fixed_buffer_nozero(thr, data_size); in duk__load_func()
20001 DUK_ASSERT(fun_data != NULL); in duk__load_func()
20007 q = fun_data + sizeof(duk_tval) * count_const + sizeof(duk_hobject *) * count_funcs; in duk__load_func()
20013 q = fun_data + sizeof(duk_tval) * count_const + sizeof(duk_hobject *) * count_funcs; in duk__load_func()
20072 q = fun_data; in duk__load_func()

Completed in 282 milliseconds