Lines Matching refs:mc

680 construct_at_path_from_parts(Dwarf_Macro_Context mc)  in construct_at_path_from_parts()  argument
682 if (mc->mc_file_path) { in construct_at_path_from_parts()
683 return mc->mc_file_path; in construct_at_path_from_parts()
685 if(!mc->mc_at_comp_dir || !mc->mc_at_comp_dir[0]) { in construct_at_path_from_parts()
686 return mc->mc_at_name; in construct_at_path_from_parts()
688 if (!mc->mc_at_name || !mc->mc_at_name[0]) { in construct_at_path_from_parts()
691 if(_dwarf_file_name_is_full_path((Dwarf_Small *)mc->mc_at_name)) { in construct_at_path_from_parts()
692 return mc->mc_at_name; in construct_at_path_from_parts()
695 mc->mc_file_path = construct_from_dir_and_name( in construct_at_path_from_parts()
696 mc->mc_at_comp_dir,mc->mc_at_name); in construct_at_path_from_parts()
697 return mc->mc_file_path; in construct_at_path_from_parts()
1530 dwarf_dealloc_macro_context(Dwarf_Macro_Context mc) in dwarf_dealloc_macro_context() argument
1534 if (!mc) { in dwarf_dealloc_macro_context()
1537 dbg = mc->mc_dbg; in dwarf_dealloc_macro_context()
1539 dwarf_dealloc(dbg,mc,DW_DLA_MACRO_CONTEXT); in dwarf_dealloc_macro_context()
1546 Dwarf_Macro_Context mc= (Dwarf_Macro_Context)m; in _dwarf_macro_constructor() local
1548 mc->mc_sentinel = 0xada; in _dwarf_macro_constructor()
1549 mc->mc_dbg = dbg; in _dwarf_macro_constructor()
1571 Dwarf_Macro_Context mc= (Dwarf_Macro_Context)m; in _dwarf_macro_destructor() local
1573 dealloc_macro_srcfiles(mc->mc_srcfiles, mc->mc_srcfiles_count); in _dwarf_macro_destructor()
1574 mc->mc_srcfiles = 0; in _dwarf_macro_destructor()
1575 mc->mc_srcfiles_count = 0; in _dwarf_macro_destructor()
1576 free((void *)mc->mc_file_path); in _dwarf_macro_destructor()
1577 mc->mc_file_path = 0; in _dwarf_macro_destructor()
1578 free(mc->mc_ops); in _dwarf_macro_destructor()
1579 mc->mc_ops = 0; in _dwarf_macro_destructor()
1580 free(mc->mc_opcode_forms); in _dwarf_macro_destructor()
1581 mc->mc_opcode_forms = 0; in _dwarf_macro_destructor()
1582 memset(mc,0,sizeof(*mc)); in _dwarf_macro_destructor()
1584 mc->mc_sentinel = 0xdeadbeef; in _dwarf_macro_destructor()