/AliOS-Things-master/components/py_engine/engine/py/ |
A D | scope.c | 75 id_info_t *scope_find_or_add_id(scope_t *scope, qstr qst, id_info_kind_t kind) { in scope_find_or_add_id() 99 id_info_t *scope_find(scope_t *scope, qstr qst) { in scope_find() 108 id_info_t *scope_find_global(scope_t *scope, qstr qst) { in scope_find_global() 115 STATIC void scope_close_over_in_parents(scope_t *scope, qstr qst) { in scope_close_over_in_parents()
|
A D | emitcommon.c | 33 void mp_emit_common_get_id_for_modification(scope_t *scope, qstr qst) { in mp_emit_common_get_id_for_modification() 42 …p(emit_t *emit, const mp_emit_method_table_id_ops_t *emit_method_table, scope_t *scope, qstr qst) { in mp_emit_common_id_op()
|
A D | emitbc.c | 128 STATIC void emit_write_code_info_qstr(emit_t *emit, qstr qst) { in emit_write_code_info_qstr() 378 qstr qst = MP_QSTR__star_; in mp_emit_bc_start_pass() local 504 void mp_emit_bc_import(emit_t *emit, qstr qst, int kind) { in mp_emit_bc_import() 535 void mp_emit_bc_load_const_str(emit_t *emit, qstr qst) { in mp_emit_bc_load_const_str() 547 void mp_emit_bc_load_local(emit_t *emit, qstr qst, mp_uint_t local_num, int kind) { in mp_emit_bc_load_local() 558 void mp_emit_bc_load_global(emit_t *emit, qstr qst, int kind) { in mp_emit_bc_load_global() 568 void mp_emit_bc_load_method(emit_t *emit, qstr qst, bool is_super) { in mp_emit_bc_load_method() 589 void mp_emit_bc_attr(emit_t *emit, qstr qst, int kind) { in mp_emit_bc_attr() 604 void mp_emit_bc_store_local(emit_t *emit, qstr qst, mp_uint_t local_num, int kind) { in mp_emit_bc_store_local() 615 void mp_emit_bc_store_global(emit_t *emit, qstr qst, int kind) { in mp_emit_bc_store_global() [all …]
|
A D | persistentcode.c | 74 STATIC void qstr_window_push(qstr_window_t *qw, qstr qst) { in qstr_window_push() 81 qstr qst = qw->window[idx]; in qstr_window_pull() local 104 STATIC size_t qstr_window_insert(qstr_window_t *qw, qstr qst) { in qstr_window_insert() 170 STATIC void arch_link_qstr(uint8_t *pc, bool is_obj, qstr qst) { in arch_link_qstr() 279 qstr qst = qstr_from_strn(str, len); in load_qstr() local 339 qstr qst = load_qstr(reader, qw); in load_bytecode() local 395 qstr qst = load_qstr(reader, qw); in load_raw_code() local 610 STATIC void save_qstr(mp_print_t *print, qstr_window_t *qw, qstr qst) { in save_qstr() 681 qstr qst = ip[1] | (ip[2] << 8); in save_bytecode() local
|
A D | emitnative.c | 311 STATIC void emit_native_mov_reg_qstr(emit_t *emit, int arg_reg, qstr qst) { in emit_native_mov_reg_qstr() 636 qstr qst = MP_QSTR__star_; in emit_native_start_pass() local 1337 STATIC void emit_native_import_name(emit_t *emit, qstr qst) { in emit_native_import_name() 1356 STATIC void emit_native_import_from(emit_t *emit, qstr qst) { in emit_native_import_from() 1375 STATIC void emit_native_import(emit_t *emit, qstr qst, int kind) { in emit_native_import() 1409 STATIC void emit_native_load_const_str(emit_t *emit, qstr qst) { in emit_native_load_const_str() 1475 STATIC void emit_native_load_global(emit_t *emit, qstr qst, int kind) { in emit_native_load_global() 1496 STATIC void emit_native_load_attr(emit_t *emit, qstr qst) { in emit_native_load_attr() 1729 STATIC void emit_native_store_attr(emit_t *emit, qstr qst) { in emit_native_store_attr() 1935 STATIC void emit_native_delete_attr(emit_t *emit, qstr qst) { in emit_native_delete_attr() [all …]
|
A D | makeqstrdata.py | 234 def qstr_escape(qst): argument
|
A D | runtime.c | 160 mp_obj_t mp_load_name(qstr qst) { in mp_load_name() 173 mp_obj_t mp_load_global(qstr qst) { in mp_load_global() 213 void mp_store_name(qstr qst, mp_obj_t obj) { in mp_store_name() 218 void mp_delete_name(qstr qst) { in mp_delete_name() 224 void mp_store_global(qstr qst, mp_obj_t obj) { in mp_store_global() 229 void mp_delete_global(qstr qst) { in mp_delete_global()
|
A D | dynruntime.h | 168 #define mp_load_name(qst) (mp_fun_table.load_name((qst))) argument 169 #define mp_load_global(qst) (mp_fun_table.load_global((qst))) argument 173 #define mp_store_name(qst, obj) (mp_fun_table.store_name((qst), (obj))) argument 174 #define mp_store_global(qst, obj) (mp_fun_table.store_global((qst), (obj))) argument
|
A D | objmodule.c | 264 void mp_module_register(qstr qst, mp_obj_t module) { in mp_module_register()
|
A D | showbc.c | 155 qstr qst; in mp_bytecode_print_str() local
|
A D | emitglue.h | 54 uint16_t qst; member
|
A D | nativeglue.c | 45 int mp_native_type_from_qstr(qstr qst) { in mp_native_type_from_qstr()
|
A D | runtime.h | 55 uint16_t qst; member
|
A D | scope.h | 54 qstr qst; member
|
A D | compile.c | 69 #define EMIT_LOAD_FAST(qst, local_num) (comp->emit_method_table->load_id.local(comp->emit, qst, loc… argument 70 #define EMIT_LOAD_GLOBAL(qst) (comp->emit_method_table->load_id.global(comp->emit, qst, MP_EMIT_IDO… argument 77 #define EMIT_LOAD_FAST(qst, local_num) (mp_emit_bc_load_local(comp->emit, qst, local_num, MP_EMIT_I… argument 78 #define EMIT_LOAD_GLOBAL(qst) (mp_emit_bc_load_global(comp->emit, qst, MP_EMIT_IDOP_GLOBAL_GLOBAL)) argument 284 STATIC void compile_load_id(compiler_t *comp, qstr qst) { in compile_load_id() 296 STATIC void compile_store_id(compiler_t *comp, qstr qst) { in compile_store_id() 308 STATIC void compile_delete_id(compiler_t *comp, qstr qst) { in compile_delete_id() 1290 qstr qst = MP_PARSE_NODE_LEAF_ARG(nodes[i]); in compile_global_nonlocal_stmt() local
|
A D | modio.c | 57 STATIC mp_uint_t iobase_read_write(mp_obj_t obj, void *buf, mp_uint_t size, int *errcode, qstr qst)… in iobase_read_write()
|
A D | emitinlinextensa.c | 144 qstr qst = MP_PARSE_NODE_LEAF_ARG(pn); in get_arg_str() local
|
A D | mpprint.c | 484 qstr qst = va_arg(args, qstr); in mp_vprintf() local
|
A D | obj.h | 96 #define MP_OBJ_NEW_QSTR(qst) ((mp_obj_t)((((mp_uint_t)(qst)) << 3) | 2)) argument 131 #define MP_OBJ_NEW_QSTR(qst) ((mp_obj_t)((((mp_uint_t)(qst)) << 3) | 3)) argument 189 #define MP_OBJ_NEW_QSTR(qst) ((mp_obj_t)((((mp_uint_t)(qst)) << 4) | 0x00000006)) argument 213 #define MP_OBJ_NEW_QSTR(qst) ((mp_obj_t)(((uint64_t)(((uint32_t)(qst)) << 1)) | 0x0002000000000001)) argument
|
A D | objexcept.c | 180 qstr qst = mp_errno_to_str(o->args->items[0]); in mp_obj_exception_print() local
|
A D | profile.c | 474 qstr qst; in mp_prof_opcode_decode() local
|
A D | vm.c | 184 static inline mp_map_elem_t *mp_map_cached_lookup(mp_map_t *map, qstr qst, uint8_t *idx_cache) { in mp_map_cached_lookup()
|
A D | emit.h | 164 static inline void mp_emit_common_get_id_for_load(scope_t *scope, qstr qst) { in mp_emit_common_get_id_for_load()
|
A D | emitinlinethumb.c | 174 qstr qst = MP_PARSE_NODE_LEAF_ARG(pn); in get_arg_str() local
|
/AliOS-Things-master/components/py_engine/engine/tools/ |
A D | mpy-tool.py | 522 def _link_qstr(self, pc, kind, qst): argument
|