Home
last modified time | relevance | path

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

/AliOS-Things-master/components/py_engine/engine/py/
A Dmap.c114 mp_map_elem_t *old_table = map->table; in mp_map_rehash() local
122 if (old_table[i].key != MP_OBJ_NULL && old_table[i].key != MP_OBJ_SENTINEL) { in mp_map_rehash()
123 … mp_map_lookup(map, old_table[i].key, MP_MAP_LOOKUP_ADD_IF_NOT_FOUND)->value = old_table[i].value; in mp_map_rehash()
126 m_del(mp_map_elem_t, old_table, old_alloc); in mp_map_rehash()
301 mp_obj_t *old_table = set->table; in mp_set_rehash() local
306 if (old_table[i] != MP_OBJ_NULL && old_table[i] != MP_OBJ_SENTINEL) { in mp_set_rehash()
307 mp_set_lookup(set, old_table[i], MP_MAP_LOOKUP_ADD_IF_NOT_FOUND); in mp_set_rehash()
310 m_del(mp_obj_t, old_table, old_alloc); in mp_set_rehash()

Completed in 4 milliseconds