Lines Matching full:ed
132 _dwarf_elf_relocate(Dwarf_Debug dbg, Elf *elf, Dwarf_Elf_Data *ed, size_t shndx, in _dwarf_elf_relocate() argument
176 if (ed->ed_alloc == NULL) { in _dwarf_elf_relocate()
177 ed->ed_alloc = malloc(ed->ed_size); in _dwarf_elf_relocate()
178 if (ed->ed_alloc == NULL) { in _dwarf_elf_relocate()
183 memcpy(ed->ed_alloc, ed->ed_data->d_buf, in _dwarf_elf_relocate()
184 ed->ed_size); in _dwarf_elf_relocate()
188 ed->ed_alloc, ed->ed_size, in _dwarf_elf_relocate()
192 ed->ed_alloc, ed->ed_size, rel, symtab_data, in _dwarf_elf_relocate()
209 Dwarf_Elf_Data *ed, GElf_Shdr *shdr, Dwarf_Error *error) in _dwarf_elf_decompress() argument
225 if ((ed->ed_alloc = malloc(chdr.ch_size)) == NULL) { in _dwarf_elf_decompress()
233 if (uncompress(ed->ed_alloc, &csize, (char *)ed->ed_data->d_buf + hsize, in _dwarf_elf_decompress()
234 ed->ed_data->d_size - hsize) != Z_OK) { in _dwarf_elf_decompress()
244 ed->ed_size = chdr.ch_size; in _dwarf_elf_decompress()
255 Dwarf_Elf_Data *ed; in _dwarf_elf_init() local
382 ed = &e->eo_data[j]; in _dwarf_elf_init()
390 if ((ed->ed_data = elf_getdata(scn, NULL)) == NULL) { in _dwarf_elf_init()
402 ed, es, error)) != DW_DLE_NONE) in _dwarf_elf_init()
405 ed->ed_size = ed->ed_data->d_size; in _dwarf_elf_init()