/external/elfutils/0.153/src/ |
xelf.h | 77 name = &((Elf32_Sym *) (data)->d_buf)[idx] 79 name = &((Elf32_Sym *) (data)->d_buf)[idx] 81 (name1 = &((Elf32_Sym *) ((data)->d_buf))[idx]); \ 83 ? ((Elf32_Word *) ((ndxdata)->d_buf))[idx] : 0) 88 ((Elf32_Sym *) ((data)->d_buf))[idx] = *name1; \ 90 ((Elf32_Word *) ((ndxdata)->d_buf))[idx] = name2 94 (name = ((Elf32_Versym *) ((data)->d_buf))[idx], &name) 98 name = &((Elf32_Dyn *) ((data)->d_buf))[idx] 100 name = &((Elf32_Dyn *) ((data)->d_buf))[idx] 106 name = &((Elf32_Rel *) ((data)->d_buf))[idx [all...] |
i386_ld.c | 170 add_4ubyte_unaligned (reltgtdata->d_buf + rel->r_offset, 216 data->d_buf = xcalloc (1, data->d_size); 237 data->d_buf = xcalloc (1, size); 258 data->d_buf = xcalloc (1, size); 282 data->d_buf = xcalloc (1, size); 390 ((Elf32_Word *) data->d_buf)[0] = shdr->sh_addr; 437 memcpy (pltdata->d_buf, elf_i386_pic_plt0_entry, PLT_ENTRY_SIZE); 441 memcpy (pltdata->d_buf, elf_i386_plt0_entry, PLT_ENTRY_SIZE); 444 struct plt0_entry *addr = (struct plt0_entry *) pltdata->d_buf; 474 ((Elf32_Word *) data->d_buf)[2 + pltidx] = pltentryaddr + 6 [all...] |
elfcmp.c | 424 const char *name1 = data1->d_buf + name_offset; 425 const void *desc1 = data1->d_buf + desc_offset; 440 const char *name2 = data2->d_buf + name_offset; 441 const void *desc2 = data2->d_buf + desc_offset; 509 || (data1->d_buf != NULL || data1->d_size == 0)); 511 || (data2->d_buf != NULL || data1->d_size == 0)); 515 && memcmp (data1->d_buf, data2->d_buf, 838 const Hash_Word *const hash1 = data1->d_buf; \ 839 const Hash_Word *const hash2 = data2->d_buf; \ [all...] |
/external/elfutils/0.153/libelf/ |
elf32_xlatetof.c | 117 if (src->d_buf != dest->d_buf) 118 memmove (dest->d_buf, src->d_buf, src->d_size); 134 (*fctp) (dest->d_buf, src->d_buf, src->d_size, 1);
|
elf32_xlatetom.c | 118 if (src->d_buf != dest->d_buf) 119 memmove (dest->d_buf, src->d_buf, src->d_size); 135 (*fctp) (dest->d_buf, src->d_buf, src->d_size, 0);
|
elf_getdata.c | 178 scn->data_list.data.d.d_buf = scn->data_base; 229 /* If the section has no data (for whatever reason), leave the `d_buf' 275 scn->rawdata_base = scn->rawdata.d.d_buf 282 scn->rawdata_base = scn->rawdata.d.d_buf 284 if (scn->rawdata.d.d_buf == NULL) 290 ssize_t n = pread_retry (elf->fildes, scn->rawdata.d.d_buf, size, 295 free (scn->rawdata.d.d_buf); 296 scn->rawdata_base = scn->rawdata.d.d_buf = NULL; 450 if (scn->rawdata.d.d_buf != NULL && scn->rawdata.d.d_size > 0)
|
gelf_getsymshndx.c | 99 shndx = ((Elf32_Word *) shndxdata_scn->d.d_buf)[ndx]; 119 src = &((Elf32_Sym *) symdata->d_buf)[ndx]; 148 *dst = ((GElf_Sym *) symdata->d_buf)[ndx];
|
gelf_update_symshndx.c | 108 shndx = &((Elf32_Word *) shndxdata_scn->d.d_buf)[ndx]; 137 sym = &((Elf32_Sym *) symdata_scn->d.d_buf)[ndx]; 160 ((Elf64_Sym *) symdata_scn->d.d_buf)[ndx] = *src;
|
elf32_updatefile.c | 272 <= (char *) scn->data_list.data.d.d_buf) 273 && ((char *) scn->data_list.data.d.d_buf 278 > (char *) scn->data_list.data.d.d_buf)) 286 scn->data_list.data.d.d_buf = scn->data_base 287 = memcpy (p, scn->data_list.data.d.d_buf, 373 (*fctp) (last_position, dl->data.d.d_buf, 380 dl->data.d.d_buf, 707 void *buf = dl->data.d.d_buf; 738 (*fctp) (buf, dl->data.d.d_buf, dl->data.d.d_size, 1); 746 if (buf != dl->data.d.d_buf && buf != tmpbuf [all...] |
gelf_getauxv.c | 101 src = &((Elf32_auxv_t *) data_scn->d.d_buf)[ndx]; 121 *dst = ((GElf_auxv_t *) data_scn->d.d_buf)[ndx];
|
/external/elfutils/0.153/libdw/ |
dwarf_getmacros.c | 72 if (unlikely (d == NULL) || unlikely (d->d_buf == NULL)) 95 const unsigned char *readp = d->d_buf + offset; 96 const unsigned char *readendp = d->d_buf + d->d_size; 157 return readp - (const unsigned char *) d->d_buf;
|
encoded-value.h | 81 while (end < (uint8_t *) data->d_buf + data->d_size) 124 + (*p - (const uint8_t *) cache->data->d.d_buf)); 142 + (*p - (const uint8_t *) cache->data->d.d_buf)) 209 const uint8_t *ptr = cache->data->d.d_buf + *result;
|
dwarf_getpubnames.c | 71 unsigned char *const startp = dbg->sectiondata[IDX_debug_pubnames]->d_buf; 133 = ((unsigned char *) dbg->sectiondata[IDX_debug_info]->d_buf 206 = (unsigned char *) dbg->sectiondata[IDX_debug_pubnames]->d_buf; 246 startp = (unsigned char *) dbg->sectiondata[IDX_debug_pubnames]->d_buf;
|
dwarf_begin_elf.c | 170 || unlikely (memcmp (data->d_buf, "ZLIB", 4) != 0)) 174 memcpy (&size, data->d_buf + 4, sizeof size); 181 zdata->d_buf = &zdata[1]; 190 .next_in = data->d_buf + 4 + 8, 192 .next_out = zdata->d_buf, 198 z.next_out = zdata->d_buf + (zdata->d_size - z.avail_out); 278 Elf32_Word *scnidx = (Elf32_Word *) data->d_buf;
|
dwarf_ranges.c | 181 readp = d->d_buf + offset; 182 readendp = d->d_buf + d->d_size; 209 return readp - (unsigned char *) d->d_buf;
|
dwarf_siblingof.c | 87 = ((unsigned char *) cu_data (sibattr.cu)->d_buf + sibattr.cu->end); 105 addr = ((unsigned char *) cu_data (sibattr.cu)->d_buf
|
/external/elfutils/0.153/libdwfl/ |
elf-from-memory.c | 121 .d_buf = buffer, 127 .d_buf = &ehdr, 180 xlatefrom.d_buf = buffer + phoff; 200 xlatefrom.d_buf = buffer; 209 xlateto.d_buf = &phdrs; 316 xlatefrom.d_buf = &ehdr.e32; 317 xlateto.d_buf = buffer; 343 xlatefrom.d_buf = &ehdr.e64; 344 xlateto.d_buf = buffer;
|
dwfl_module_getdwarf.c | 264 .d_buf = crc, 271 .d_buf = rawdata->d_buf + rawdata->d_size - sizeof *crc, 286 return rawdata->d_buf; 351 .d_buf = &ehdr, 420 src.d_buf += src.d_size; 431 dst.d_buf = &phdr; 459 src.d_buf += src.d_size; 468 dst.d_buf = &shdr; 740 ? *(const GElf_Word *) data->d_buf [all...] |
link_map.c | 228 void *contents = data->d_buf + vaddr; 725 .d_buf = NULL 727 if ((*memory_callback) (dwfl, phdr_segndx, &in.d_buf, &in.d_size, 741 .d_buf = &buf 772 (*memory_callback) (dwfl, -1, &in.d_buf, &in.d_size, 0, 0, 811 .d_buf = NULL 814 if ((*memory_callback) (dwfl, dyn_segndx, &in.d_buf, &in.d_size, 828 .d_buf = &buf 863 (*memory_callback) (dwfl, -1, &in.d_buf, &in.d_size, 0, 0,
|
dwfl_segment_report_module.c | 191 .d_buf = (void *) buffer, 197 .d_buf = &ehdr, 249 xlatefrom.d_buf = ph_buffer; 257 xlateto.d_buf = &phdrs; 307 xlatefrom.d_buf = (void *) data; 309 xlateto.d_buf = notes; 508 xlatefrom.d_buf = (void *) dyn_data; 510 xlateto.d_buf = &dyn;
|
/external/elfutils/0.153/libasm/ |
asm_end.c | 118 newdata->d_buf = content->data; 174 data->d_buf = symtab; 248 xshndx = xndxdata->d_buf = calloc (1, xndxdata->d_size); 336 grpdata = data->d_buf = malloc (data->d_size); 469 free (shstrtabdata->d_buf); 471 free (strtabdata->d_buf); 474 free (xndxdata->d_buf); 480 free (elf_getdata (scngrp->scn, NULL)->d_buf);
|
/external/elfutils/0.153/libebl/ |
eblobjnote.c | 101 .d_buf = (void *) desc, .d_size = addrs_size 107 .d_buf = &addrs, .d_size = addrs_size 187 .d_buf = (void *) desc 195 .d_buf = buf
|
eblwstrtab.c | 352 data->d_buf = malloc ((st->total + nulllen) * sizeof (wchar_t)); 353 if (data->d_buf == NULL) 359 *((wchar_t *) data->d_buf) = L'\0'; 369 endp = (wchar_t *) data->d_buf + nulllen;
|
/external/ltrace/sysdeps/linux-gnu/arm/ |
plt.c | 96 || strcmp(signature, data->d_buf + offset) != 0) 175 offset += strlen(data->d_buf 215 char *buf = (char *) lte->arch.jmprel_data->d_buf;
|
/external/chromium_org/tools/relocation_packer/src/ |
elf_file.cc | 54 data->d_buf = area; 104 VLOG(" d_buf = %p\n", data->d_buf); 317 const Elf32_Dyn* dynamic_base = reinterpret_cast<Elf32_Dyn*>(data->d_buf); 386 const Elf32_Sym* dynsym_base = reinterpret_cast<Elf32_Sym*>(data->d_buf); 420 const Elf32_Rel* relplt_base = reinterpret_cast<Elf32_Rel*>(data->d_buf); 446 const Elf32_Sym* symtab_base = reinterpret_cast<Elf32_Sym*>(data->d_buf); 488 CHECK(data->d_size && data->d_buf); 649 if (data->d_buf == NULL) 653 uint8_t* area = reinterpret_cast<uint8_t*>(data->d_buf); [all...] |