Lines Matching refs:stmt
64 *do_statement(usage_t mode, struct statement *stmt);
497 static struct symbol *do_statement(usage_t mode, struct statement *stmt) in do_statement() argument
501 if (stmt) switch (stmt->type) { in do_statement()
503 warning(stmt->pos, "bad stmt->type: %d", stmt->type); in do_statement()
510 do_sym_list(stmt->declaration); in do_statement()
513 ret = do_expression(mode, stmt->expression); in do_statement()
517 do_expression(u_lval(base_type(type)), stmt->expression); in do_statement()
521 do_expression(U_R_VAL, stmt->asm_string); in do_statement()
522 do_asm_xputs(U_W_VAL, stmt->asm_outputs); in do_statement()
523 do_asm_xputs(U_R_VAL, stmt->asm_inputs); in do_statement()
528 count = statement_list_size(stmt->stmts); in do_statement()
529 DO_LIST(stmt->stmts, st, in do_statement()
534 do_sym_list(stmt->iterator_syms); in do_statement()
535 do_statement(U_VOID, stmt->iterator_pre_statement); in do_statement()
536 do_expression(U_R_VAL, stmt->iterator_pre_condition); in do_statement()
537 do_statement(U_VOID, stmt->iterator_post_statement); in do_statement()
538 do_statement(U_VOID, stmt->iterator_statement); in do_statement()
539 do_expression(U_R_VAL, stmt->iterator_post_condition); in do_statement()
542 do_expression(U_R_VAL, stmt->if_conditional); in do_statement()
543 do_statement(U_VOID, stmt->if_true); in do_statement()
544 do_statement(U_VOID, stmt->if_false); in do_statement()
547 do_expression(U_R_VAL, stmt->switch_expression); in do_statement()
548 do_statement(U_VOID, stmt->switch_statement); in do_statement()
551 do_expression(U_R_VAL, stmt->case_expression); in do_statement()
552 do_expression(U_R_VAL, stmt->case_to); in do_statement()
553 do_statement(U_VOID, stmt->case_statement); in do_statement()
556 do_expression(U_R_PTR, stmt->goto_expression); in do_statement()
559 do_statement(mode, stmt->label_statement); in do_statement()
617 struct statement *stmt; in do_symbol() local
632 stmt = sym->ctype.modifiers & MOD_INLINE in do_symbol()
633 ? type->inline_stmt : type->stmt; in do_symbol()
634 if (!stmt) in do_symbol()
643 do_statement(U_VOID, stmt); in do_symbol()