Home
last modified time | relevance | path

Searched refs:MP_MAP_LOOKUP (Results 1 – 19 of 19) sorted by relevance

/AliOS-Things-master/components/py_engine/engine/py/
A Dobjmodule.c43 …lem_t *elem = mp_map_lookup(&self->globals->map, MP_OBJ_NEW_QSTR(MP_QSTR___name__), MP_MAP_LOOKUP); in module_print()
51 elem = mp_map_lookup(&self->globals->map, MP_OBJ_NEW_QSTR(MP_QSTR___file__), MP_MAP_LOOKUP); in module_print()
65 … mp_map_elem_t *elem = mp_map_lookup(&self->globals->map, MP_OBJ_NEW_QSTR(attr), MP_MAP_LOOKUP); in module_attr()
70 … elem = mp_map_lookup(&self->globals->map, MP_OBJ_NEW_QSTR(MP_QSTR___getattr__), MP_MAP_LOOKUP); in module_attr()
249 …map_elem_t *el = mp_map_lookup(mp_loaded_modules_map, MP_OBJ_NEW_QSTR(module_name), MP_MAP_LOOKUP); in mp_module_get()
253 …l = mp_map_lookup((mp_map_t *)&mp_builtin_module_map, MP_OBJ_NEW_QSTR(module_name), MP_MAP_LOOKUP); in mp_module_get()
A Dobjdict.c150 mp_map_elem_t *elem = mp_map_lookup(&o->map, rhs_in, MP_MAP_LOOKUP); in dict_binary_op()
178 mp_map_elem_t *elem = mp_map_lookup(&rhs->map, next->key, MP_MAP_LOOKUP); in dict_binary_op()
198 mp_map_elem_t *elem = mp_map_lookup(&self->map, index, MP_MAP_LOOKUP); in mp_obj_dict_get()
214 mp_map_elem_t *elem = mp_map_lookup(&self->map, index, MP_MAP_LOOKUP); in dict_subscr()
297 if (lookup_kind != MP_MAP_LOOKUP) { in dict_get_helper()
325 return dict_get_helper(n_args, args, MP_MAP_LOOKUP); in dict_get()
A Dmoduerrno.c105 mp_map_elem_t *elem = mp_map_lookup((mp_map_t *)&errorcode_dict.map, errno_val, MP_MAP_LOOKUP); in mp_errno_to_str()
A Dobjset.c248 if (mp_set_lookup(&self->set, next, MP_MAP_LOOKUP)) { in set_intersect_int()
281 if (mp_set_lookup(&self->set, next, MP_MAP_LOOKUP)) { in set_isdisjoint()
315 if (!mp_set_lookup(&other->set, next, MP_MAP_LOOKUP)) { in set_issubset_internal()
510 mp_obj_t elem = mp_set_lookup(&o->set, rhs, MP_MAP_LOOKUP); in set_binary_op()
A Druntime.c165 … mp_map_elem_t *elem = mp_map_lookup(&mp_locals_get()->map, MP_OBJ_NEW_QSTR(qst), MP_MAP_LOOKUP); 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()
181 …p_lookup(&MP_STATE_VM(mp_module_builtins_override_dict)->map, MP_OBJ_NEW_QSTR(qst), MP_MAP_LOOKUP); in mp_load_global()
187 … = mp_map_lookup((mp_map_t *)&mp_module_builtins_globals.map, MP_OBJ_NEW_QSTR(qst), MP_MAP_LOOKUP); in mp_load_global()
204 …M(mp_module_builtins_override_dict)->map, MP_OBJ_NEW_QSTR(MP_QSTR___build_class__), MP_MAP_LOOKUP); in mp_load_build_class()
1109 mp_map_elem_t *elem = mp_map_lookup(locals_map, MP_OBJ_NEW_QSTR(attr), MP_MAP_LOOKUP); in mp_load_method_maybe()
1396 …_elem_t *import = mp_map_lookup(&bo_dict->map, MP_OBJ_NEW_QSTR(MP_QSTR___import__), MP_MAP_LOOKUP); in mp_import_name()
A Dargcheck.c90 mp_map_elem_t *kw = mp_map_lookup(kws, MP_OBJ_NEW_QSTR(allowed[i].qst), MP_MAP_LOOKUP); in mp_arg_parse_all()
A Drepl.c156 MP_OBJ_NEW_QSTR(name), MP_MAP_LOOKUP); in test_qstr()
A Dbc.c255 …*)MP_OBJ_TO_PTR(self->extra_args[n_def_pos_args]))->map, arg_names[n_pos_args + i], MP_MAP_LOOKUP); in mp_setup_code_state()
A Dobjtype.c158 … mp_map_elem_t *elem = mp_map_lookup(locals_map, MP_OBJ_NEW_QSTR(lookup->attr), MP_MAP_LOOKUP); in mp_obj_class_lookup()
582 mp_map_elem_t *elem = mp_map_lookup(&self->members, MP_OBJ_NEW_QSTR(attr), MP_MAP_LOOKUP); in mp_obj_instance_load_attr()
1200 … mp_map_elem_t *elem = mp_map_lookup(locals_map, MP_OBJ_NEW_QSTR(MP_QSTR___new__), MP_MAP_LOOKUP); in mp_obj_new_type()
A Dbuiltinimport.c290 …mp_map_elem_t *elem = mp_map_lookup(globals_map, MP_OBJ_NEW_QSTR(MP_QSTR___path__), MP_MAP_LOOKUP); in mp_builtin___import__()
A Dmap.c137 assert(!map->is_fixed || lookup_kind == MP_MAP_LOOKUP); in mp_map_lookup()
A Dmodbuiltins.c267 mp_map_elem_t *key_elem = mp_map_lookup(kwargs, MP_OBJ_NEW_QSTR(MP_QSTR_key), MP_MAP_LOOKUP); in mp_builtin_min_max()
285 default_elem = mp_map_lookup(kwargs, MP_OBJ_NEW_QSTR(MP_QSTR_default), MP_MAP_LOOKUP); in mp_builtin_min_max()
A Dparse.c487 … && (elem = mp_map_lookup(&parser->consts, MP_OBJ_NEW_QSTR(id), MP_MAP_LOOKUP)) != NULL) { in push_result_token()
766 …lem_t *elem = mp_map_lookup((mp_map_t *)&mp_constants_map, MP_OBJ_NEW_QSTR(q_base), MP_MAP_LOOKUP); in fold_constants()
A Dobj.h419 MP_MAP_LOOKUP = 0, enumerator
A Dvm.c191 elem = mp_map_lookup(map, key, MP_MAP_LOOKUP); in mp_map_cached_lookup()
A Dobjstr.c1082 mp_map_elem_t *key_elem = mp_map_lookup(kwargs, field_q, MP_MAP_LOOKUP); in mp_obj_str_format_helper()
/AliOS-Things-master/components/py_engine/modules/aliyunIoT/
A Dmodule_aiot_gateway.c670 elem = mp_map_lookup(&dict_self->map, index, MP_MAP_LOOKUP); in aiot_topo_common()
678 elem = mp_map_lookup(&dict_self->map, index, MP_MAP_LOOKUP); in aiot_topo_common()
686 elem = mp_map_lookup(&dict_self->map, index, MP_MAP_LOOKUP); in aiot_topo_common()
694 elem = mp_map_lookup(&dict_self->map, index, MP_MAP_LOOKUP); in aiot_topo_common()
/AliOS-Things-master/components/py_engine/engine/extmod/
A Dmoduselect.c215 mp_map_elem_t *elem = mp_map_lookup(&self->poll_map, mp_obj_id(obj_in), MP_MAP_LOOKUP); in poll_modify()
A Dmodbluetooth.c1594 mp_map_elem_t *elem = mp_map_lookup(db, MP_OBJ_NEW_SMALL_INT(handle), MP_MAP_LOOKUP); in mp_bluetooth_gatts_db_lookup()

Completed in 43 milliseconds