Home
last modified time | relevance | path

Searched refs:attrp (Results 1 – 8 of 8) sorted by relevance

/external/elfutils/libdw/
Ddwarf_formstring.c24 dwarf_formstring (attrp) in dwarf_formstring() argument
25 Dwarf_Attribute *attrp; in dwarf_formstring()
28 if (attrp == NULL)
32 if (attrp->form == DW_FORM_string)
34 return (const char *) attrp->valp;
36 Dwarf *dbg = attrp->cu->dbg;
38 if (unlikely (attrp->form != DW_FORM_strp)
48 if (attrp->cu->offset_size == 8)
49 off = read_8ubyte_unaligned (dbg, attrp->valp);
51 off = read_4ubyte_unaligned (dbg, attrp->valp);
Ddwarf_getattrs.c46 unsigned char *attrp = die->abbrev->attrp + offset; in dwarf_getattrs() local
53 if (unlikely (attrp in dwarf_getattrs()
64 get_uleb128 (attr.code, attrp); in dwarf_getattrs()
65 get_uleb128 (attr.form, attrp); in dwarf_getattrs()
77 return attrp - die->abbrev->attrp; in dwarf_getattrs()
Ddwarf_getabbrevattr.c36 unsigned char *attrp = abbrev->attrp; local
43 start_attrp = attrp;
46 get_uleb128 (name, attrp);
47 get_uleb128 (form, attrp);
61 *offsetp = (start_attrp - abbrev->attrp) + abbrev->offset;
Ddwarf_child.c57 unsigned char *attrp = die->abbrev->attrp; in __libdw_find_attr() local
61 if (unlikely (attrp + 1 >= endp)) in __libdw_find_attr()
72 get_uleb128 (attr_name, attrp); in __libdw_find_attr()
74 get_uleb128 (attr_form, attrp); in __libdw_find_attr()
Ddwarf_getabbrev.c91 abb->attrp = abbrevp;
DlibdwP.h162 unsigned char *attrp; member
Dlibdw.h236 extern const char *dwarf_formstring (Dwarf_Attribute *attrp);
/external/elfutils/src/
Dreadelf.c3379 attr_callback (Dwarf_Attribute *attrp, void *arg) in attr_callback() argument
3384 unsigned int attr = dwarf_whatattr (attrp); in attr_callback()
3392 unsigned int form = dwarf_whatform (attrp); in attr_callback()
3404 if (unlikely (dwarf_formaddr (attrp, &addr) != 0)) in attr_callback()
3419 const char *str = dwarf_formstring (attrp); in attr_callback()
3433 if (unlikely (dwarf_formref (attrp, &ref) != 0)) in attr_callback()
3448 if (unlikely (dwarf_formudata (attrp, &num) != 0)) in attr_callback()
3466 if (unlikely (dwarf_formflag (attrp, &flag) != 0)) in attr_callback()
3479 if (unlikely (dwarf_formblock (attrp, &block) != 0)) in attr_callback()