Home
last modified time | relevance | path

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

/AliOS-Things-master/components/py_engine/engine/py/
A Dscope.c65 scope->id_info = m_new(id_info_t, scope->id_info_alloc); in scope_new()
71 m_del(id_info_t, scope->id_info, scope->id_info_alloc); in scope_free()
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()
76 id_info_t *id_info = scope_find(scope, qst); in scope_find_or_add_id()
83 …scope->id_info = m_renew(id_info_t, scope->id_info, scope->id_info_alloc, scope->id_info_alloc + M… 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()
119 id_info_t *id = scope_find_or_add_id(s, qst, ID_INFO_KIND_UNDECIDED); in scope_close_over_in_parents()
138 void scope_check_to_close_over(scope_t *scope, id_info_t *id) { in scope_check_to_close_over()
141 id_info_t *id2 = scope_find(s, id->qst); in scope_check_to_close_over()
A Dscope.h55 } id_info_t; typedef
90 id_info_t *id_info;
95 id_info_t *scope_find_or_add_id(scope_t *scope, qstr qstr, id_info_kind_t kind);
96 id_info_t *scope_find(scope_t *scope, qstr qstr);
97 id_info_t *scope_find_global(scope_t *scope, qstr qstr);
98 void scope_check_to_close_over(scope_t *scope, id_info_t *id);
A Demitcommon.c35 id_info_t *id = scope_find_or_add_id(scope, qst, ID_INFO_KIND_GLOBAL_IMPLICIT); in mp_emit_common_get_id_for_modification()
45 id_info_t *id = scope_find(scope, qst); in mp_emit_common_id_op()
A Dcompile.c624 id_info_t *id = &comp->scope_cur->id_info[i]; in close_over_variables_etc()
2304 id_info_t *id = &comp->scope_cur->id_info[0]; in compile_atom_expr_normal()
3407 id_info_t *id_param = NULL; in scope_compute_things()
3409 id_info_t *id = &scope->id_info[i]; in scope_compute_things()
3413 id_info_t temp = *id_param; in scope_compute_things()
3428 id_info_t *id = &scope->id_info[i]; in scope_compute_things()
3455 id_info_t *id = &scope->id_info[i]; in scope_compute_things()
3470 id_info_t *id = &scope->parent->id_info[i]; in scope_compute_things()
3473 id_info_t *id2 = &scope->id_info[j]; in scope_compute_things()
3486 id_info_t *id = &scope->id_info[i]; in scope_compute_things()
[all …]
A Demitbc.c380 id_info_t *id = &scope->id_info[j]; in mp_emit_bc_start_pass()
407 id_info_t *id = &emit->scope->id_info[i]; in mp_emit_bc_end_pass()
A Demitnative.c394 id_info_t *id = &emit->scope->id_info[i]; in emit_native_start_pass()
626 id_info_t *id = &scope->id_info[i]; in emit_native_start_pass()
638 id_info_t *id = &scope->id_info[j]; in emit_native_start_pass()
684 id_info_t *id = &emit->scope->id_info[i]; in emit_native_end_pass()

Completed in 22 milliseconds