Home
last modified time | relevance | path

Searched refs:d_buf (Results 1 – 25 of 75) sorted by relevance

123

/external/elfutils/src/
Dxelf.h65 name = &((Elf32_Sym *) (data)->d_buf)[idx]
67 name = &((Elf32_Sym *) (data)->d_buf)[idx]
69 (name1 = &((Elf32_Sym *) ((data)->d_buf))[idx]); \
71 ? ((Elf32_Word *) ((ndxdata)->d_buf))[idx] : 0)
76 ((Elf32_Sym *) ((data)->d_buf))[idx] = *name1; \
78 ((Elf32_Word *) ((ndxdata)->d_buf))[idx] = name2
82 (name = ((Elf32_Versym *) ((data)->d_buf))[idx], &name)
86 name = &((Elf32_Dyn *) ((data)->d_buf))[idx]
88 name = &((Elf32_Dyn *) ((data)->d_buf))[idx]
94 name = &((Elf32_Rel *) ((data)->d_buf))[idx]
[all …]
Di386_ld.c158 add_4ubyte_unaligned (reltgtdata->d_buf + rel->r_offset, in elf_i386_relocate_section()
204 data->d_buf = xcalloc (1, data->d_size); in elf_i386_initialize_plt()
224 data->d_buf = xcalloc (1, data->d_size); in elf_i386_initialize_pltrel()
251 data->d_buf = xcalloc (1, data->d_size); in elf_i386_initialize_got()
352 ((Elf32_Word *) data->d_buf)[0] = shdr->sh_addr; in elf_i386_finalize_plt()
382 ((Elf32_Word *) data->d_buf)[3 + cnt] = pltentryaddr + 6; in elf_i386_finalize_plt()
387 ((Elf32_Sym *) dynsymdata->d_buf)[1 + cnt].st_value = pltentryaddr; in elf_i386_finalize_plt()
390 ((Elf32_Sym *) symdata->d_buf)[nsym - statep->nplt + cnt].st_value in elf_i386_finalize_plt()
403 memcpy (data->d_buf, elf_i386_pic_plt0_entry, PLT_ENTRY_SIZE); in elf_i386_finalize_plt()
407 memcpy (data->d_buf, elf_i386_plt0_entry, PLT_ENTRY_SIZE); in elf_i386_finalize_plt()
[all …]
/external/elfutils/libelf/
Delf32_xlatetom.c85 if (src->d_buf != dest->d_buf)
86 memmove (dest->d_buf, src->d_buf, src->d_size);
102 (*fctp) (dest->d_buf, src->d_buf, src->d_size, 0);
Delf32_xlatetof.c84 if (src->d_buf != dest->d_buf)
85 memmove (dest->d_buf, src->d_buf, src->d_size);
101 (*fctp) (dest->d_buf, src->d_buf, src->d_size, 1);
Delf_getdata.c166 scn->data_list.data.d.d_buf = scn->data_base; in convert_data()
260 scn->rawdata_base = scn->rawdata.d.d_buf in __libelf_set_rawdata()
267 scn->rawdata_base = scn->rawdata.d.d_buf in __libelf_set_rawdata()
269 if (scn->rawdata.d.d_buf == NULL) in __libelf_set_rawdata()
275 if ((size_t) pread (elf->fildes, scn->rawdata.d.d_buf, size, in __libelf_set_rawdata()
279 free (scn->rawdata.d.d_buf); in __libelf_set_rawdata()
280 scn->rawdata_base = scn->rawdata.d.d_buf = NULL; in __libelf_set_rawdata()
426 if (scn->rawdata.d.d_buf != NULL && scn->rawdata.d.d_size > 0)
Dgelf_getsymshndx.c66 shndx = ((Elf32_Word *) shndxdata_scn->d.d_buf)[ndx];
86 src = &((Elf32_Sym *) symdata->d_buf)[ndx];
115 *dst = ((GElf_Sym *) symdata->d_buf)[ndx];
Dgelf_update_symshndx.c75 shndx = &((Elf32_Word *) shndxdata_scn->d.d_buf)[ndx];
104 sym = &((Elf32_Sym *) symdata_scn->d.d_buf)[ndx];
127 ((Elf64_Sym *) symdata_scn->d.d_buf)[ndx] = *src;
Dgelf_getdyn.c69 src = &((Elf32_Dyn *) data_scn->d.d_buf)[ndx];
90 *dst = ((GElf_Dyn *) data_scn->d.d_buf)[ndx];
Dgelf_getrel.c70 Elf32_Rel *src = &((Elf32_Rel *) data_scn->d.d_buf)[ndx];
89 result = memcpy (dst, &((Elf64_Rel *) data_scn->d.d_buf)[ndx],
Dgelf_getsym.c66 src = &((Elf32_Sym *) data->d_buf)[ndx];
95 *dst = ((GElf_Sym *) data->d_buf)[ndx];
Dgelf_update_dyn.c78 dyn = &((Elf32_Dyn *) data_scn->d.d_buf)[ndx];
92 ((Elf64_Dyn *) data_scn->d.d_buf)[ndx] = *src;
Dgelf_update_sym.c78 sym = &((Elf32_Sym *) data_scn->d.d_buf)[ndx];
101 ((Elf64_Sym *) data_scn->d.d_buf)[ndx] = *src;
Dgelf_update_rel.c75 rel = &((Elf32_Rel *) data_scn->d.d_buf)[ndx]; in gelf_update_rel()
90 ((Elf64_Rel *) data_scn->d.d_buf)[ndx] = *src; in gelf_update_rel()
Dgelf_getrela.c70 Elf32_Rela *src = &((Elf32_Rela *) data_scn->d.d_buf)[ndx];
90 result = memcpy (dst, &((Elf64_Rela *) data_scn->d.d_buf)[ndx],
/external/elfcopy/
Dhash.c14 hash_data->d_buf = CALLOC(hash_data->d_size, sizeof(Elf32_Word)); in setup_hash()
16 ((Elf32_Word *)hash_data->d_buf)[0] = nbuckets; in setup_hash()
17 ((Elf32_Word *)hash_data->d_buf)[1] = nchains; in setup_hash()
24 Elf32_Word *buckets = (Elf32_Word *)hash_data->d_buf; in add_to_hash()
56 Elf32_Word *hash_data = (Elf32_Word *)hash_info->data->d_buf; in hash_lookup()
/external/elfutils/libdw/
Ddwarf_getpubnames.c34 unsigned char *const startp = dbg->sectiondata[IDX_debug_pubnames]->d_buf; in get_offsets()
90 assert (dbg->sectiondata[IDX_debug_info]->d_buf != NULL); in get_offsets()
94 = ((unsigned char *) dbg->sectiondata[IDX_debug_info]->d_buf in get_offsets()
159 = (unsigned char *) dbg->sectiondata[IDX_debug_pubnames]->d_buf;
199 startp = (unsigned char *) dbg->sectiondata[IDX_debug_pubnames]->d_buf;
Ddwarf_getaranges.c48 if (dbg->sectiondata[IDX_debug_aranges]->d_buf == NULL)
55 = (const char *) dbg->sectiondata[IDX_debug_aranges]->d_buf;
142 const char *cu_header = (dbg->sectiondata[IDX_debug_info]->d_buf
Ddwarf_siblingof.c61 sibattr.cu->dbg->sectiondata[IDX_debug_info]->d_buf
89 >= ((unsigned char *) sibattr.cu->dbg->sectiondata[IDX_debug_info]->d_buf
Ddwarf_nextcu.c50 char *bytes = (char *) dwarf->sectiondata[IDX_debug_info]->d_buf + off;
124 - ((char *) dwarf->sectiondata[IDX_debug_info]->d_buf
/external/elfutils/libasm/
Dasm_end.c100 newdata->d_buf = content->data; in binary_end()
161 data->d_buf = symtab; in binary_end()
235 xshndx = xndxdata->d_buf = calloc (1, xndxdata->d_size); in binary_end()
323 grpdata = data->d_buf = malloc (data->d_size); in binary_end()
456 free (shstrtabdata->d_buf); in binary_end()
458 free (strtabdata->d_buf); in binary_end()
461 free (xndxdata->d_buf); in binary_end()
467 free (elf_getdata (scngrp->scn, NULL)->d_buf); in binary_end()
/external/elfutils/tests/
Dupdate4.c141 data->d_buf = "hello"; in main()
177 data->d_buf = "world"; in main()
213 data->d_buf = "!!!!!"; in main()
250 data->d_buf = NULL; in main()
327 free (data->d_buf); in main()
/external/elfutils/libebl/
Deblstrtab.c316 data->d_buf = malloc (st->total + nulllen); in ebl_strtabfinalize()
317 if (data->d_buf == NULL) in ebl_strtabfinalize()
323 *((char *) data->d_buf) = '\0'; in ebl_strtabfinalize()
333 endp = (char *) data->d_buf + nulllen; in ebl_strtabfinalize()
Deblwstrtab.c316 data->d_buf = malloc ((st->total + nulllen) * sizeof (wchar_t)); in ebl_wstrtabfinalize()
317 if (data->d_buf == NULL) in ebl_wstrtabfinalize()
323 *((wchar_t *) data->d_buf) = L'\0'; in ebl_wstrtabfinalize()
333 endp = (wchar_t *) data->d_buf + nulllen; in ebl_wstrtabfinalize()
/external/chromium/third_party/zlib/
Ddeflate.h238 ushf *d_buf; member
310 s->d_buf[s->last_lit] = 0; \
318 s->d_buf[s->last_lit] = dist; \
/external/zlib/
Ddeflate.h238 ushf *d_buf; member
321 s->d_buf[s->last_lit] = 0; \
329 s->d_buf[s->last_lit] = dist; \

123