Home
last modified time | relevance | path

Searched refs:mp_globals_get (Results 1 – 10 of 10) sorted by relevance

/AliOS-Things-master/components/py_engine/engine/py/
A Dbuiltinevex.c48 mp_obj_dict_t *old_globals = mp_globals_get(); in code_execute()
119 mp_obj_dict_t *globals = mp_globals_get(); in eval_exec_helper()
A Dbuiltinimport.c157 mp_obj_dict_t *volatile old_globals = mp_globals_get(); in do_execute_raw_code()
281 …mp_obj_t this_name_q = mp_obj_dict_get(MP_OBJ_FROM_PTR(mp_globals_get()), MP_OBJ_NEW_QSTR(MP_QSTR_… in mp_builtin___import__()
286 …this_name_q = mp_obj_dict_get(MP_OBJ_FROM_PTR(mp_globals_get()), MP_OBJ_NEW_QSTR(MP_QSTR___main__)… in mp_builtin___import__()
289 mp_map_t *globals_map = &mp_globals_get()->map; in mp_builtin___import__()
A Druntime.c164 if (mp_locals_get() != mp_globals_get()) { in mp_load_name()
176 … mp_map_elem_t *elem = mp_map_lookup(&mp_globals_get()->map, MP_OBJ_NEW_QSTR(qst), MP_MAP_LOOKUP); in mp_load_global()
226 mp_obj_dict_store(MP_OBJ_FROM_PTR(mp_globals_get()), MP_OBJ_NEW_QSTR(qst), obj); in mp_store_global()
232 mp_obj_dict_delete(MP_OBJ_FROM_PTR(mp_globals_get()), MP_OBJ_NEW_QSTR(qst)); in mp_delete_global()
1476 mp_obj_dict_t *volatile old_globals = mp_globals_get(); in mp_parse_compile_execute()
A Dobjfun.c215 code_state->old_globals = mp_globals_get();
394 o->globals = mp_globals_get(); in mp_obj_new_fun_bc()
A Dnativeglue.c145 mp_obj_dict_t *old_globals = mp_globals_get(); in mp_native_swap_globals()
A Dmodthread.c263 th_args->dict_globals = mp_globals_get(); in mod_thread_start_new_thread()
A Druntime.h97 static inline mp_obj_dict_t *mp_globals_get(void) { in mp_globals_get() function
A Dobjgenerator.c186 self->code_state.old_globals = mp_globals_get(); in mp_obj_gen_resume()
A Dmodbuiltins.c608 return MP_OBJ_FROM_PTR(mp_globals_get()); in mp_builtin_globals()
A Dvm.c399 … mp_map_elem_t *elem = mp_map_cached_lookup(&mp_globals_get()->map, qst, (uint8_t*)ip); in mp_execute_bytecode()

Completed in 17 milliseconds