Searched refs:d_buf (Results 1 - 25 of 107) sorted by relevance

12345

/external/elfutils/src/libdwelf/
H A Ddwelf_dwarf_gnu_debugaltlink.c46 const void *ptr = memchr (data->d_buf, '\0', data->d_size);
52 size_t build_id_len = data->d_size - (ptr - data->d_buf + 1);
58 *name_p = data->d_buf;
H A Ddwelf_elf_gnu_debuglink.c63 if (rawdata == NULL || rawdata->d_buf == NULL)
69 || memchr (rawdata->d_buf, '\0', rawdata->d_size - sizeof *crc) == NULL)
75 .d_buf = crc,
82 .d_buf = rawdata->d_buf + rawdata->d_size - sizeof *crc,
97 return rawdata->d_buf;
/external/elfutils/src/libelf/
H A Delf32_xlatetof.c96 if (src->d_buf != dest->d_buf)
97 memmove (dest->d_buf, src->d_buf, src->d_size);
113 (*fctp) (dest->d_buf, src->d_buf, src->d_size, 1);
H A Delf32_xlatetom.c101 if (src->d_buf != dest->d_buf)
102 memmove (dest->d_buf, src->d_buf, src->d_size);
118 (*fctp) (dest->d_buf, src->d_buf, src->d_size, 0);
H A Dgelf_getsymshndx.c78 shndx = ((Elf32_Word *) shndxdata_scn->d.d_buf)[ndx];
98 src = &((Elf32_Sym *) symdata->d_buf)[ndx];
127 *dst = ((GElf_Sym *) symdata->d_buf)[ndx];
H A Dgelf_update_symshndx.c81 shndx = &((Elf32_Word *) shndxdata_scn->d.d_buf)[ndx];
110 sym = &((Elf32_Sym *) symdata_scn->d.d_buf)[ndx];
133 ((Elf64_Sym *) symdata_scn->d.d_buf)[ndx] = *src;
H A Dgelf_getauxv.c80 src = &((Elf32_auxv_t *) data_scn->d.d_buf)[ndx];
100 memcpy (dst, data_scn->d.d_buf + ndx * sizeof (GElf_auxv_t),
H A Dgelf_getdyn.c81 src = &((Elf32_Dyn *) data_scn->d.d_buf)[ndx];
102 *dst = ((GElf_Dyn *) data_scn->d.d_buf)[ndx];
H A Dgelf_getrel.c76 Elf32_Rel *src = &((Elf32_Rel *) data_scn->d.d_buf)[ndx];
95 result = memcpy (dst, &((Elf64_Rel *) data_scn->d.d_buf)[ndx],
H A Dgelf_getrela.c76 Elf32_Rela *src = &((Elf32_Rela *) data_scn->d.d_buf)[ndx];
96 result = memcpy (dst, &((Elf64_Rela *) data_scn->d.d_buf)[ndx],
H A Dgelf_getsym.c78 src = &((Elf32_Sym *) data->d_buf)[ndx];
107 *dst = ((GElf_Sym *) data->d_buf)[ndx];
H A Dgelf_update_auxv.c88 auxv = &((Elf32_auxv_t *) data_scn->d.d_buf)[ndx];
102 ((Elf64_auxv_t *) data_scn->d.d_buf)[ndx] = *src;
H A Dgelf_update_dyn.c84 dyn = &((Elf32_Dyn *) data_scn->d.d_buf)[ndx];
98 ((Elf64_Dyn *) data_scn->d.d_buf)[ndx] = *src;
H A Dgelf_update_rel.c81 rel = &((Elf32_Rel *) data_scn->d.d_buf)[ndx];
96 ((Elf64_Rel *) data_scn->d.d_buf)[ndx] = *src;
H A Dgelf_update_rela.c83 rel = &((Elf32_Rela *) data_scn->d.d_buf)[ndx];
99 ((Elf64_Rela *) data_scn->d.d_buf)[ndx] = *src;
H A Dgelf_update_sym.c84 sym = &((Elf32_Sym *) data_scn->d.d_buf)[ndx];
107 ((Elf64_Sym *) data_scn->d.d_buf)[ndx] = *src;
/external/elfutils/src/backends/
H A Dppc64_resolve_sym.c53 opd_in.d_buf = ebl->fd_data->d_buf + (*addr - ebl->fd_addr);
54 opd_out.d_buf = addr;
/external/elfutils/src/src/
H A Dxelf.h69 name = &((Elf32_Sym *) (data)->d_buf)[idx]
71 name = &((Elf32_Sym *) (data)->d_buf)[idx]
73 (name1 = &((Elf32_Sym *) ((data)->d_buf))[idx]); \
75 ? ((Elf32_Word *) ((ndxdata)->d_buf))[idx] : 0)
80 ((Elf32_Sym *) ((data)->d_buf))[idx] = *name1; \
82 ((Elf32_Word *) ((ndxdata)->d_buf))[idx] = name2
86 (name = ((Elf32_Versym *) ((data)->d_buf))[idx], &name)
90 name = &((Elf32_Dyn *) ((data)->d_buf))[idx]
92 name = &((Elf32_Dyn *) ((data)->d_buf))[idx]
98 name = &((Elf32_Rel *) ((data)->d_buf))[id
[all...]
/external/elfutils/src/libdw/
H A Ddwarf_getstring.c55 const char *result = ((const char *) dbg->sectiondata[IDX_debug_str]->d_buf
H A Ddwarf_begin_elf.c155 || unlikely (memcmp (data->d_buf, "ZLIB", 4) != 0))
159 memcpy (&size, data->d_buf + 4, sizeof size);
172 zdata->d_buf = &zdata[1];
181 .next_in = data->d_buf + 4 + 8,
183 .next_out = zdata->d_buf,
189 z.next_out = zdata->d_buf + (zdata->d_size - z.avail_out);
253 = result->sectiondata[IDX_debug_loc]->d_buf;
255 = (result->sectiondata[IDX_debug_loc]->d_buf
293 Elf32_Word *scnidx = (Elf32_Word *) data->d_buf;
H A Ddwarf_ranges.c160 readp = d->d_buf + offset;
161 readendp = d->d_buf + d->d_size;
188 return readp - (unsigned char *) d->d_buf;
H A Ddwarf_formstring.c74 return (const char *) dbg_ret->sectiondata[IDX_debug_str]->d_buf + off;
H A Ddwarf_hasattr.c59 = ((unsigned char *) dbg->sectiondata[IDX_debug_abbrev]->d_buf
H A Dencoded-value.h60 while (end < (uint8_t *) data->d_buf + data->d_size)
103 + (*p - (const uint8_t *) cache->data->d.d_buf));
121 + (*p - (const uint8_t *) cache->data->d.d_buf))
190 const uint8_t *ptr = cache->data->d.d_buf + *result;
/external/elfutils/src/libdwfl/
H A Delf-from-memory.c105 .d_buf = buffer,
111 .d_buf = &ehdr,
164 xlatefrom.d_buf = buffer + phoff;
184 xlatefrom.d_buf = buffer;
193 xlateto.d_buf = &phdrs;
318 xlatefrom.d_buf = &ehdr.e32;
319 xlateto.d_buf = buffer;
345 xlatefrom.d_buf = &ehdr.e64;
346 xlateto.d_buf = buffer;

Completed in 197 milliseconds

12345