Lines Matching refs:sym

209                         tn->u.sym->s_name,  in debug_node()
210 scl_name(tn->u.sym->s_scl)); in debug_node()
402 debug_sym(const char *prefix, const sym_t *sym, const char *suffix) in debug_sym() argument
405 debug_printf("%s%s", prefix, sym->s_name); in debug_sym()
406 if (sym->s_type != NULL) in debug_sym()
407 debug_printf(" type='%s'", type_name(sym->s_type)); in debug_sym()
408 if (sym->s_rename != NULL) in debug_sym()
409 debug_printf(" rename=%s", sym->s_rename); in debug_sym()
410 debug_printf(" %s", symbol_kind_name(sym->s_kind)); in debug_sym()
411 debug_word(sym->s_keyword != NULL, "keyword"); in debug_sym()
412 debug_word(sym->s_bitfield, "bit-field"); in debug_sym()
413 debug_word(sym->s_set, "set"); in debug_sym()
414 debug_word(sym->s_used, "used"); in debug_sym()
415 debug_word(sym->s_param, "parameter"); in debug_sym()
416 debug_word(sym->s_register, "register"); in debug_sym()
417 debug_word(sym->s_defparam, "old-style-undefined"); in debug_sym()
418 debug_word(sym->s_return_type_implicit_int, "return-int"); in debug_sym()
419 debug_word(sym->s_osdef, "old-style"); in debug_sym()
420 debug_word(sym->s_inline, "inline"); in debug_sym()
421 debug_word(sym->s_ext_sym != NULL, "has-external"); in debug_sym()
422 debug_word(sym->s_scl != NO_SCL, scl_name(sym->s_scl)); in debug_sym()
423 debug_word(sym->s_keyword == NULL, def_name(sym->s_def)); in debug_sym()
425 if (sym->s_def_pos.p_file != NULL) in debug_sym()
427 sym->s_def_pos.p_file, sym->s_def_pos.p_line); in debug_sym()
428 if (sym->s_set_pos.p_file != NULL) in debug_sym()
430 sym->s_set_pos.p_file, sym->s_set_pos.p_line); in debug_sym()
431 if (sym->s_use_pos.p_file != NULL) in debug_sym()
433 sym->s_use_pos.p_file, sym->s_use_pos.p_line); in debug_sym()
435 if (sym->s_type != NULL && sym->s_type->t_is_enum) in debug_sym()
436 debug_printf(" value=%d", sym->u.s_enum_constant); in debug_sym()
437 if (sym->s_type != NULL && sym->s_type->t_tspec == BOOL) in debug_sym()
439 sym->u.s_bool_constant ? "true" : "false"); in debug_sym()
441 if (is_member(sym)) { in debug_sym()
442 struct_or_union *sou = sym->u.s_member.sm_containing_type; in debug_sym()
451 if (sym->s_keyword != NULL) { in debug_sym()
452 int t = sym->u.s_keyword.sk_token; in debug_sym()
455 tspec_name(sym->u.s_keyword.u.sk_tspec)); in debug_sym()
458 sym->u.s_keyword.u.sk_type_qualifier)); in debug_sym()
461 sym->u.s_keyword.u.function_specifier)); in debug_sym()
464 debug_word(sym->s_osdef && sym->u.s_old_style_params != NULL, in debug_sym()
525 for (const sym_t *sym = dl->d_func_proto_syms; in debug_decl_level() local
526 sym != NULL; sym = sym->s_next) in debug_decl_level()
527 debug_sym(" func_proto_sym(", sym, ")"); in debug_decl_level()