Home
last modified time | relevance | path

Searched refs:mp_map_elem_t (Results 1 – 18 of 18) sorted by relevance

/AliOS-Things-master/components/py_engine/engine/py/
A Dmap.c74 map->table = m_new0(mp_map_elem_t, map->alloc); in mp_map_init()
88 map->table = (mp_map_elem_t *)table; in mp_map_init_fixed_table()
94 m_del(mp_map_elem_t, map->table, map->alloc); in mp_map_deinit()
101 m_del(mp_map_elem_t, map->table, map->alloc); in mp_map_clear()
114 mp_map_elem_t *old_table = map->table; in mp_map_rehash()
115 mp_map_elem_t *new_table = m_new0(mp_map_elem_t, new_alloc); in mp_map_rehash()
126 m_del(mp_map_elem_t, old_table, old_alloc); in mp_map_rehash()
185 map->table = m_renew(mp_map_elem_t, map->table, map->used, map->alloc); in mp_map_lookup()
188 mp_map_elem_t *elem = map->table + map->used++; in mp_map_lookup()
219 mp_map_elem_t *avail_slot = NULL; in mp_map_lookup()
[all …]
A Dobjmodule.c43mp_map_elem_t *elem = mp_map_lookup(&self->globals->map, MP_OBJ_NEW_QSTR(MP_QSTR___name__), MP_MAP… in module_print()
65mp_map_elem_t *elem = mp_map_lookup(&self->globals->map, MP_OBJ_NEW_QSTR(attr), MP_MAP_LOOKUP); in module_attr()
113mp_map_elem_t *el = mp_map_lookup(mp_loaded_modules_map, MP_OBJ_NEW_QSTR(module_name), MP_MAP_LOOK… in mp_obj_new_module()
249mp_map_elem_t *el = mp_map_lookup(mp_loaded_modules_map, MP_OBJ_NEW_QSTR(module_name), MP_MAP_LOOK… in mp_module_get()
273 const mp_map_elem_t *entry = (const mp_map_elem_t *)&mp_builtin_module_table[i]; in mp_module_search_umodule()
A Dobjdict.c53 STATIC mp_map_elem_t *dict_iter_next(mp_obj_dict_t *dict, size_t *cur) { in dict_iter_next()
87 mp_map_elem_t *next = NULL; in dict_print()
150 mp_map_elem_t *elem = mp_map_lookup(&o->map, rhs_in, MP_MAP_LOOKUP); in dict_binary_op()
176 mp_map_elem_t *next = NULL; 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()
257 memcpy(other->map.table, self->map.table, self->map.alloc * sizeof(mp_map_elem_t)); in mp_obj_dict_copy()
300 mp_map_elem_t *elem = mp_map_lookup(&self->map, args[1], lookup_kind); in dict_get_helper()
352 mp_map_elem_t *next = dict_iter_next(self, &cur); in dict_popitem()
378 mp_map_elem_t *elem = NULL; in dict_update()
[all …]
A Dmoduerrno.c79 .table = (mp_map_elem_t *)(mp_rom_map_elem_t *)errorcode_table,
105 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 Dobjtype.c158mp_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()
787mp_map_elem_t *elem = mp_map_lookup(&self->members, MP_OBJ_NEW_QSTR(attr), MP_MAP_LOOKUP_REMOVE_IF… in mp_obj_instance_store_attr()
1067mp_map_elem_t *elem = mp_map_lookup(locals_map, MP_OBJ_NEW_QSTR(attr), MP_MAP_LOOKUP_REMOVE_IF_FOU… in type_attr()
1086mp_map_elem_t *elem = mp_map_lookup(locals_map, MP_OBJ_NEW_QSTR(attr), MP_MAP_LOOKUP_ADD_IF_NOT_FO… in type_attr()
1183 const mp_map_elem_t *elem = &o->locals_dict->map.table[i]; in mp_obj_new_type()
1200mp_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 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 Dvm.c184 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()
187 mp_map_elem_t *elem = NULL; in mp_map_cached_lookup()
375mp_map_elem_t *elem = mp_map_cached_lookup(&mp_locals_get()->map, qst, (uint8_t*)ip); in mp_execute_bytecode()
399mp_map_elem_t *elem = mp_map_cached_lookup(&mp_globals_get()->map, qst, (uint8_t*)ip); in mp_execute_bytecode()
426 mp_map_elem_t *elem = NULL; in mp_execute_bytecode()
516 mp_map_elem_t *elem = NULL; in mp_execute_bytecode()
A Dobj.h364 .table = (mp_map_elem_t *)(mp_rom_map_elem_t *)table_name, \
376 .table = (mp_map_elem_t *)(mp_rom_map_elem_t *)table_name, \
401 } mp_map_elem_t; typedef
414 mp_map_elem_t *table;
435 mp_map_elem_t *mp_map_lookup(mp_map_t *map, mp_obj_t index, mp_map_lookup_kind_t lookup_kind);
A Druntime.c165mp_map_elem_t *elem = mp_map_lookup(&mp_locals_get()->map, MP_OBJ_NEW_QSTR(qst), MP_MAP_LOOKUP); in mp_load_name()
176mp_map_elem_t *elem = mp_map_lookup(&mp_globals_get()->map, MP_OBJ_NEW_QSTR(qst), MP_MAP_LOOKUP); in mp_load_global()
204mp_map_elem_t *elem = mp_map_lookup(&MP_STATE_VM(mp_module_builtins_override_dict)->map, MP_OBJ_NE… 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()
1396mp_map_elem_t *import = mp_map_lookup(&bo_dict->map, MP_OBJ_NEW_QSTR(MP_QSTR___import__), MP_MAP_L… in mp_import_name()
A Dbc.c253 mp_map_elem_t *elem = NULL; in mp_setup_code_state()
A Dparse.c485 mp_map_elem_t *elem; in push_result_token()
728mp_map_elem_t *elem = mp_map_lookup(&parser->consts, MP_OBJ_NEW_QSTR(id), MP_MAP_LOOKUP_ADD_IF_NOT… in fold_constants()
766mp_map_elem_t *elem = mp_map_lookup((mp_map_t *)&mp_constants_map, MP_OBJ_NEW_QSTR(q_base), MP_MAP… in fold_constants()
A Dbuiltinimport.c290mp_map_elem_t *elem = mp_map_lookup(globals_map, MP_OBJ_NEW_QSTR(MP_QSTR___path__), MP_MAP_LOOKUP); in mp_builtin___import__()
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()
268 mp_map_elem_t *default_elem; in mp_builtin_min_max()
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/engine/extmod/
A Dmoduselect.c52mp_map_elem_t *elem = mp_map_lookup(poll_map, mp_obj_id(obj[i]), MP_MAP_LOOKUP_ADD_IF_NOT_FOUND); in poll_map_add()
215 mp_map_elem_t *elem = mp_map_lookup(&self->poll_map, mp_obj_id(obj_in), MP_MAP_LOOKUP); in poll_modify()
A Dnetwork_cyw43.c367 mp_map_elem_t *e = &kwargs->table[i]; in network_cyw43_config()
A Dmodbluetooth.c336 mp_map_elem_t *e = &kwargs->table[i]; in bluetooth_ble_config()
1584mp_map_elem_t *elem = mp_map_lookup(db, MP_OBJ_NEW_SMALL_INT(handle), MP_MAP_LOOKUP_ADD_IF_NOT_FOU… in mp_bluetooth_gatts_db_create_entry()
1594 mp_map_elem_t *elem = mp_map_lookup(db, MP_OBJ_NEW_SMALL_INT(handle), MP_MAP_LOOKUP); in mp_bluetooth_gatts_db_lookup()
/AliOS-Things-master/components/py_engine/modules/aliyunIoT/
A Dmodule_aiot_gateway.c646 mp_map_elem_t *elem; in aiot_topo_common()

Completed in 39 milliseconds