Lines Matching refs:attrp
38 dwarf_formstring (Dwarf_Attribute *attrp)
41 if (attrp == NULL)
45 if (attrp->form == DW_FORM_string)
47 return (const char *) attrp->valp;
49 Dwarf_CU *cu = attrp->cu;
51 Dwarf *dbg_ret = ((attrp->form == DW_FORM_GNU_strp_alt
52 || attrp->form == DW_FORM_strp_sup)
61 Elf_Data *data = ((attrp->form == DW_FORM_line_strp)
66 __libdw_seterrno ((attrp->form == DW_FORM_line_strp)
73 if (attrp->form == DW_FORM_strp
74 || attrp->form == DW_FORM_GNU_strp_alt
75 || attrp->form == DW_FORM_strp_sup)
78 attrp->valp, cu->offset_size, &off,
82 else if (attrp->form == DW_FORM_line_strp)
85 attrp->valp, cu->offset_size, &off,
92 const unsigned char *datap = attrp->valp;
94 switch (attrp->form)