Searched refs:mp_parse_node_t (Results 1 – 8 of 8) sorted by relevance
/AliOS-Things-master/components/py_engine/engine/py/ |
A D | parse.h | 52 typedef uintptr_t mp_parse_node_t; // must be pointer size typedef 57 mp_parse_node_t nodes[]; // nodes 79 static inline mp_parse_node_t mp_parse_node_new_small_int(mp_int_t val) { in mp_parse_node_new_small_int() 80 return (mp_parse_node_t)(MP_PARSE_NODE_SMALL_INT | ((mp_uint_t)val << 1)); in mp_parse_node_new_small_int() 82 static inline mp_parse_node_t mp_parse_node_new_leaf(size_t kind, mp_int_t arg) { in mp_parse_node_new_leaf() 83 return (mp_parse_node_t)(kind | ((mp_uint_t)arg << 4)); in mp_parse_node_new_leaf() 85 bool mp_parse_node_is_const_false(mp_parse_node_t pn); 86 bool mp_parse_node_is_const_true(mp_parse_node_t pn); 87 bool mp_parse_node_get_int_maybe(mp_parse_node_t pn, mp_obj_t *o); 88 size_t mp_parse_node_extract_list(mp_parse_node_t *pn, size_t pn_kind, mp_parse_node_t **nodes); [all …]
|
A D | compile.c | 672 mp_parse_node_t pn_id; in compile_funcdef_lambdef_param() 876 mp_parse_node_t *nodes; in compile_decorated() 1170 mp_parse_node_t pn_rel; in compile_import_from() 1348 mp_parse_node_t *pn_elif; in compile_if_stmt() 1434 …*comp, mp_parse_node_t pn_var, mp_parse_node_t pn_start, mp_parse_node_t pn_end, mp_parse_node_t p… in compile_for_stmt_optimised_range() 1598 …mpile_try_except(compiler_t *comp, mp_parse_node_t pn_body, int n_except, mp_parse_node_t *pn_exce… in compile_try_except() 1693 …ally(compiler_t *comp, mp_parse_node_t pn_body, int n_except, mp_parse_node_t *pn_except, mp_parse… in compile_try_finally() 1769 mp_parse_node_t *nodes; in compile_with_stmt() 1957 mp_parse_node_t *nodes; in compile_async_with_stmt() 2376 mp_parse_node_t *args; in compile_trailer_paren_helper() [all …]
|
A D | parse.c | 233 mp_parse_node_t *result_stack; 325 bool mp_parse_node_is_const_true(mp_parse_node_t pn) { in mp_parse_node_is_const_true() 348 size_t mp_parse_node_extract_list(mp_parse_node_t *pn, size_t pn_kind, mp_parse_node_t **nodes) { in mp_parse_node_extract_list() 432 STATIC mp_parse_node_t pop_result(parser_t *parser) { in pop_result() 463 return (mp_parse_node_t)pn; in make_node_const_object() 479 mp_parse_node_t pn; in push_result_token() 595 mp_parse_node_t pn = peek_result(parser, 0); in fold_logical_constants() 683 mp_parse_node_t pn = peek_result(parser, 0); in fold_constants() 699 mp_parse_node_t pn1 = peek_result(parser, 0); in fold_constants() 802 mp_parse_node_t pn = peek_result(parser, 0); in push_result_rule() [all …]
|
A D | emitinlinethumb.c | 172 STATIC const char *get_arg_str(mp_parse_node_t pn) { in get_arg_str() 205 STATIC mp_uint_t get_arg_special_reg(emit_inline_asm_t *emit, const char *op, mp_parse_node_t pn) { in get_arg_special_reg() 220 STATIC mp_uint_t get_arg_vfpreg(emit_inline_asm_t *emit, const char *op, mp_parse_node_t pn) { in get_arg_vfpreg() 248 STATIC mp_uint_t get_arg_reglist(emit_inline_asm_t *emit, const char *op, mp_parse_node_t pn) { in get_arg_reglist() 276 mp_parse_node_t *nodes; in get_arg_reglist() 314 …addr(emit_inline_asm_t *emit, const char *op, mp_parse_node_t pn, mp_parse_node_t *pn_base, mp_par… in get_arg_addr() 336 STATIC int get_arg_label(emit_inline_asm_t *emit, const char *op, mp_parse_node_t pn) { in get_arg_label() 502 mp_parse_node_t pn_base, pn_offset; in emit_inline_thumb_op() 727 mp_parse_node_t pn_base, pn_offset; in emit_inline_thumb_op() 739 mp_parse_node_t pn_base, pn_offset; in emit_inline_thumb_op() [all …]
|
A D | emitinlinextensa.c | 84 …line_xtensa_count_params(emit_inline_asm_t *emit, mp_uint_t n_params, mp_parse_node_t *pn_params) { in emit_inline_xtensa_count_params() 142 STATIC const char *get_arg_str(mp_parse_node_t pn) { in get_arg_str() 151 STATIC mp_uint_t get_arg_reg(emit_inline_asm_t *emit, const char *op, mp_parse_node_t pn) { in get_arg_reg() 168 STATIC uint32_t get_arg_i(emit_inline_asm_t *emit, const char *op, mp_parse_node_t pn, int min, int… in get_arg_i() 182 STATIC int get_arg_label(emit_inline_asm_t *emit, const char *op, mp_parse_node_t pn) { in get_arg_label() 245 …it_inline_xtensa_op(emit_inline_asm_t *emit, qstr op, mp_uint_t n_args, mp_parse_node_t *pn_args) { in emit_inline_xtensa_op()
|
A D | scope.h | 76 mp_parse_node_t pn; 93 scope_t *scope_new(scope_kind_t kind, mp_parse_node_t pn, qstr source_file, mp_uint_t emit_options);
|
A D | scope.c | 43 scope_t *scope_new(scope_kind_t kind, mp_parse_node_t pn, qstr source_file, mp_uint_t emit_options)… in scope_new()
|
A D | emit.h | 268 …mp_uint_t (*count_params)(emit_inline_asm_t *emit, mp_uint_t n_params, mp_parse_node_t *pn_params); 270 void (*op)(emit_inline_asm_t *emit, qstr op, mp_uint_t n_args, mp_parse_node_t *pn_args);
|
Completed in 22 milliseconds