/external/elfutils/libdw/ |
D | dwarf_getpubnames.c | 28 get_offsets (Dwarf *dbg) in get_offsets() argument 34 unsigned char *const startp = dbg->sectiondata[IDX_debug_pubnames]->d_buf; in get_offsets() 36 unsigned char *endp = readp + dbg->sectiondata[IDX_debug_pubnames]->d_size; in get_offsets() 59 Dwarf_Off len = read_4ubyte_unaligned_inc (dbg, readp); in get_offsets() 62 len = read_8ubyte_unaligned_inc (dbg, readp); in get_offsets() 69 if (mem[cnt].set_start >= dbg->sectiondata[IDX_debug_pubnames]->d_size) in get_offsets() 75 uint16_t version = read_2ubyte_unaligned (dbg, readp); in get_offsets() 84 mem[cnt].cu_offset = read_4ubyte_unaligned (dbg, readp + 2); in get_offsets() 86 mem[cnt].cu_offset = read_8ubyte_unaligned (dbg, readp + 2); in get_offsets() 89 assert (dbg->sectiondata[IDX_debug_info] != NULL); in get_offsets() [all …]
|
D | dwarf_getaranges.c | 32 dwarf_getaranges (dbg, aranges, naranges) in dwarf_getaranges() argument 33 Dwarf *dbg; in dwarf_getaranges() 37 if (dbg == NULL) 40 if (dbg->aranges != NULL) 42 *aranges = dbg->aranges; 44 *naranges = dbg->aranges->naranges; 48 if (dbg->sectiondata[IDX_debug_aranges]->d_buf == NULL) 55 = (const char *) dbg->sectiondata[IDX_debug_aranges]->d_buf; 56 const char *readendp = readp + dbg->sectiondata[IDX_debug_aranges]->d_size; 79 Dwarf_Word length = read_4ubyte_unaligned_inc (dbg, readp); [all …]
|
D | libdw_findcu.c | 52 __libdw_findcu (dbg, start) in __libdw_findcu() argument 53 Dwarf *dbg; in __libdw_findcu() 58 struct Dwarf_CU **found = tfind (&fake, &dbg->cu_tree, findcu_cb); 62 if (start < dbg->next_cu_offset) 71 Dwarf_Off oldoff = dbg->next_cu_offset; 76 if (dwarf_nextcu (dbg, oldoff, &dbg->next_cu_offset, NULL, 82 struct Dwarf_CU *newp = libdw_typed_alloc (dbg, struct Dwarf_CU); 84 newp->dbg = dbg; 86 newp->end = dbg->next_cu_offset; 95 if (tsearch (newp, &dbg->cu_tree, findcu_cb) == NULL) [all …]
|
D | libdwP.h | 172 Dwarf *dbg; member 209 Dwarf *dbg; member 224 Dwarf *dbg; member 258 #define libdw_alloc(dbg, type, tsize, cnt) \ argument 259 ({ struct libdw_memblock *_tail = (dbg)->mem_tail; \ 267 _result = (type *) __libdw_allocate (dbg, _required); \ 268 _tail = (dbg)->mem_tail; \ 278 #define libdw_typed_alloc(dbg, type) \ argument 279 libdw_alloc (dbg, type, sizeof (type), 1) 282 extern void *__libdw_allocate (Dwarf *dbg, size_t minsize) [all …]
|
D | libdw_alloc.c | 27 __libdw_allocate (Dwarf *dbg, size_t minsize) in __libdw_allocate() argument 29 size_t size = MAX (dbg->mem_default_size, in __libdw_allocate() 33 dbg->oom_handler (); in __libdw_allocate() 37 newp->prev = dbg->mem_tail; in __libdw_allocate() 38 dbg->mem_tail = newp; in __libdw_allocate() 45 dwarf_new_oom_handler (Dwarf *dbg, Dwarf_OOM handler) in dwarf_new_oom_handler() argument 47 Dwarf_OOM old = dbg->oom_handler; in dwarf_new_oom_handler() 48 dbg->oom_handler = handler; in dwarf_new_oom_handler()
|
D | dwarf_getstring.c | 24 dwarf_getstring (dbg, offset, lenp) in dwarf_getstring() argument 25 Dwarf *dbg; in dwarf_getstring() 29 if (dbg == NULL) 32 if (dbg->sectiondata[IDX_debug_str] == NULL 33 || offset >= dbg->sectiondata[IDX_debug_str]->d_size) 40 const char *result = ((const char *) dbg->sectiondata[IDX_debug_str]->d_buf 43 dbg->sectiondata[IDX_debug_str]->d_size - offset);
|
D | dwarf_getsrclines.c | 90 Dwarf *dbg = cu->dbg; in dwarf_getsrclines() local 91 if (dbg->sectiondata[IDX_debug_line] == NULL) in dwarf_getsrclines() 96 uint8_t *linep = dbg->sectiondata[IDX_debug_line]->d_buf + offset; in dwarf_getsrclines() 97 uint8_t *lineendp = (dbg->sectiondata[IDX_debug_line]->d_buf in dwarf_getsrclines() 98 + dbg->sectiondata[IDX_debug_line]->d_size); in dwarf_getsrclines() 112 Dwarf_Word unit_length = read_4ubyte_unaligned_inc (dbg, linep); in dwarf_getsrclines() 118 unit_length = read_8ubyte_unaligned_inc (dbg, linep); in dwarf_getsrclines() 129 uint_fast16_t version = read_2ubyte_unaligned_inc (dbg, linep); in dwarf_getsrclines() 139 header_length = read_4ubyte_unaligned_inc (dbg, linep); in dwarf_getsrclines() 141 header_length = read_8ubyte_unaligned_inc (dbg, linep); in dwarf_getsrclines() [all …]
|
D | dwarf_formstring.c | 36 Dwarf *dbg = attrp->cu->dbg; local 39 || dbg->sectiondata[IDX_debug_str] == NULL) 49 off = read_8ubyte_unaligned (dbg, attrp->valp); 51 off = read_4ubyte_unaligned (dbg, attrp->valp); 53 if (off >= dbg->sectiondata[IDX_debug_str]->d_size) 56 return (const char *) dbg->sectiondata[IDX_debug_str]->d_buf + off;
|
D | dwarf_getloclist.c | 70 Dwarf *dbg = cu->dbg; local 120 newloc->number = read_4ubyte_unaligned_inc (dbg, data); 127 newloc->number = read_8ubyte_unaligned_inc (dbg, data); 188 newloc->number = read_2ubyte_unaligned_inc (dbg, data); 198 newloc->number = read_2sbyte_unaligned_inc (dbg, data); 205 newloc->number = read_4ubyte_unaligned_inc (dbg, data); 213 newloc->number = read_4sbyte_unaligned_inc (dbg, data); 220 newloc->number = read_8ubyte_unaligned_inc (dbg, data); 227 newloc->number = read_8sbyte_unaligned_inc (dbg, data); 265 Dwarf_Loc *result = libdw_alloc (dbg, Dwarf_Loc, sizeof (Dwarf_Loc), n); [all …]
|
D | memory-access.h | 152 read_2ubyte_unaligned (Dwarf *dbg, const void *p) in read_2ubyte_unaligned() argument 155 if (dbg->other_byte_order) in read_2ubyte_unaligned() 160 read_2sbyte_unaligned (Dwarf *dbg, const void *p) in read_2sbyte_unaligned() argument 163 if (dbg->other_byte_order) in read_2sbyte_unaligned() 175 read_4ubyte_unaligned (Dwarf *dbg, const void *p) in read_4ubyte_unaligned() argument 178 if (dbg->other_byte_order) in read_4ubyte_unaligned() 183 read_4sbyte_unaligned (Dwarf *dbg, const void *p) in read_4sbyte_unaligned() argument 186 if (dbg->other_byte_order) in read_4sbyte_unaligned() 192 read_8ubyte_unaligned (Dwarf *dbg, const void *p) in read_8ubyte_unaligned() argument 195 if (dbg->other_byte_order) in read_8ubyte_unaligned() [all …]
|
D | dwarf_offdie.c | 24 dwarf_offdie (dbg, offset, result) in dwarf_offdie() argument 25 Dwarf *dbg; in dwarf_offdie() 29 if (dbg == NULL) 32 if (offset >= dbg->sectiondata[IDX_debug_info]->d_size) 42 result->addr = (char *) dbg->sectiondata[IDX_debug_info]->d_buf + offset; 45 result->cu = __libdw_findcu (dbg, offset);
|
D | dwarf_getabbrev.c | 26 __libdw_getabbrev (dbg, cu, offset, lengthp, result) in __libdw_getabbrev() argument 27 Dwarf *dbg; in __libdw_getabbrev() 34 if (dbg->sectiondata[IDX_debug_abbrev] == NULL) 38 = (unsigned char *) dbg->sectiondata[IDX_debug_abbrev]->d_buf + offset; 70 abb = libdw_typed_alloc (dbg, Dwarf_Abbrev); 124 return __libdw_getabbrev (die->cu->dbg, die->cu,
|
D | dwarf_getattrs.c | 49 Dwarf *dbg = die->cu->dbg; in dwarf_getattrs() local 54 >= ((unsigned char *) dbg->sectiondata[IDX_debug_abbrev]->d_buf in dwarf_getattrs() 55 + dbg->sectiondata[IDX_debug_abbrev]->d_size))) in dwarf_getattrs() 82 size_t len = __libdw_form_val_len (dbg, die->cu, attr.form, in dwarf_getattrs()
|
D | dwarf_child.c | 31 Dwarf *dbg = die->cu->dbg; in __libdw_find_attr() local 54 = ((unsigned char *) dbg->sectiondata[IDX_debug_abbrev]->d_buf in __libdw_find_attr() 55 + dbg->sectiondata[IDX_debug_abbrev]->d_size); in __libdw_find_attr() 94 size_t len = __libdw_form_val_len (dbg, die->cu, attr_form, readp); in __libdw_find_attr()
|
D | dwarf_formblock.c | 42 return_block->length = read_2ubyte_unaligned (attr->cu->dbg, attr->valp); 47 return_block->length = read_4ubyte_unaligned (attr->cu->dbg, attr->valp); 64 > ((unsigned char *) attr->cu->dbg->sectiondata[IDX_debug_info]->d_buf 65 + attr->cu->dbg->sectiondata[IDX_debug_info]->d_size))
|
D | libdw_form.c | 27 __libdw_form_val_len (Dwarf *dbg, struct Dwarf_CU *cu, unsigned int form, in __libdw_form_val_len() argument 50 result = read_2ubyte_unaligned (dbg, valp) + 2; in __libdw_form_val_len() 54 result = read_4ubyte_unaligned (dbg, valp) + 4; in __libdw_form_val_len() 100 result = __libdw_form_val_len (dbg, cu, u128, valp); in __libdw_form_val_len()
|
D | dwarf_offabbrev.c | 23 dwarf_offabbrev (Dwarf *dbg, Dwarf_Off offset, size_t *lengthp, in dwarf_offabbrev() argument 26 if (dbg == NULL) in dwarf_offabbrev() 29 return __libdw_getabbrev (dbg, NULL, offset, lengthp, abbrevp) == NULL; in dwarf_offabbrev()
|
D | dwarf_formref.c | 41 *return_offset = read_2ubyte_unaligned (attr->cu->dbg, attr->valp); 45 *return_offset = read_4ubyte_unaligned (attr->cu->dbg, attr->valp); 49 *return_offset = read_8ubyte_unaligned (attr->cu->dbg, attr->valp);
|
/external/bluetooth/glib/debian/ |
D | rules | 14 build-dbg: build-dbg-stamp 15 build-dbg-stamp: 19 touch build-dbg-stamp 24 rm -f build-stamp build-dbg-stamp install-stamp install-dbg-stamp 31 clean-dbg: 34 rm -f build-stamp build-dbg-stamp install-stamp install-dbg-stamp 49 install-dbg: install-dbg-stamp 50 install-dbg-stamp: build-dbg 54 $(MAKE) prefix=`pwd`/debian/libglib-cvs-dbg/usr install 55 touch install-dbg-stamp [all …]
|
/external/elfutils/tests/ |
D | get-pubnames.c | 24 callback (Dwarf *dbg, Dwarf_Global *gl, void *arg) in callback() argument 34 if (dwarf_offdie (dbg, gl->cu_offset, &cu_die) == NULL in callback() 45 if (dwarf_offdie (dbg, gl->die_offset, &die) == NULL in callback() 67 Dwarf *dbg = dwarf_begin (fd, DWARF_C_READ); in main() local 68 if (dbg == NULL) in main() 78 if (dwarf_getpubnames (dbg, callback, NULL, 0) != 0) in main() 85 dwarf_end (dbg); in main()
|
D | get-aranges.c | 40 Dwarf *dbg = dwarf_begin (fd, DWARF_C_READ); in main() local 41 if (dbg == NULL) in main() 51 if (dwarf_getaranges (dbg, &aranges, &naranges) != 0) in main() 74 if (dwarf_offdie (dbg, cu_offset, &cu_die) == NULL in main() 117 if (dwarf_offdie (dbg, cu_offset, &cu_die) == NULL in main() 129 dwarf_end (dbg); in main()
|
D | get-files.c | 31 Dwarf *dbg = dwarf_begin (fd, DWARF_C_READ); in main() local 32 if (dbg == NULL) in main() 47 while (dwarf_nextcu (dbg, o, &ncu, &cuhl, &ao, &asz, &osz) == 0) in main() 54 Dwarf_Die *die = dwarf_offdie (dbg, o + cuhl, &die_mem); in main() 78 dwarf_end (dbg); in main()
|
D | show-abbrev.c | 31 Dwarf *dbg = dwarf_begin (fd, DWARF_C_READ); in main() local 32 if (dbg == NULL) in main() 42 while (dwarf_nextcu (dbg, cuoff, &cuoff, &hsize, NULL, NULL, NULL) == 0) in main() 46 if (dwarf_offdie (dbg, old_cuoff + hsize, &die) == NULL) in main() 119 if (dwarf_end (dbg) != 0) in main()
|
D | get-lines.c | 32 Dwarf *dbg = dwarf_begin (fd, DWARF_C_READ); in main() local 33 if (dbg == NULL) in main() 46 while (dwarf_nextcu (dbg, cuoff, &cuoff, &hsize, &ao, &asz, &osz) == 0) in main() 54 if (dwarf_offdie (dbg, old_cuoff + hsize, &die) == NULL) in main() 124 dwarf_end (dbg); in main()
|
D | show-die-info.c | 175 handle (Dwarf *dbg, Dwarf_Die *die, int n) in handle() argument 422 handle (dbg, &child, n + 1); in handle() 424 handle (dbg, die, n); in handle() 436 Dwarf *dbg; in main() local 440 dbg = dwarf_begin (fd, DWARF_C_READ); in main() 441 if (dbg == NULL) in main() 454 while (dwarf_nextcu (dbg, off, &off, &hsize, &abbrev, &addresssize, in main() 464 if (dwarf_offdie (dbg, old_off + hsize, &die) != NULL) in main() 465 handle (dbg, &die, 1); in main() 470 dwarf_end (dbg); in main()
|