Searched defs:ndx (Results 1 - 25 of 127) sorted by relevance

123456

/external/elfutils/libebl/
H A Debl_check_special_section.c37 ebl_check_special_section (Ebl *ebl, int ndx, const GElf_Shdr *shdr, argument
40 return ebl != NULL && ebl->check_special_section (ebl, ndx, shdr, sname);
/external/elfutils/libelf/
H A Dgelf_getsyminfo.c42 gelf_getsyminfo (Elf_Data *data, int ndx, GElf_Syminfo *dst) argument
63 if (INVALID_NDX (ndx, GElf_Syminfo, data))
69 *dst = ((GElf_Syminfo *) data->d_buf)[ndx];
H A Dgelf_update_move.c42 gelf_update_move (Elf_Data *data, int ndx, GElf_Move *src) argument
54 if (INVALID_NDX (ndx, GElf_Move, &data_scn->d))
69 ((GElf_Move *) data_scn->d.d_buf)[ndx] = *src;
H A Dgelf_update_versym.c42 gelf_update_versym (Elf_Data *data, int ndx, GElf_Versym *src) argument
54 if (INVALID_NDX (ndx, GElf_Versym, &data_scn->d))
69 ((GElf_Versym *) data_scn->d.d_buf)[ndx] = *src;
H A Dgelf_getlib.c42 gelf_getlib (Elf_Data *data, int ndx, GElf_Lib *dst) argument
65 if (INVALID_NDX (ndx, GElf_Lib, data))
69 *dst = ((GElf_Lib *) data->d_buf)[ndx];
H A Dgelf_getmove.c42 gelf_getmove (Elf_Data *data, int ndx, GElf_Move *dst) argument
62 if (INVALID_NDX (ndx, GElf_Move, data))
71 *dst = ((GElf_Move *) data->d_buf)[ndx];
H A Dgelf_getversym.c42 gelf_getversym (Elf_Data *data, int ndx, GElf_Versym *dst) argument
71 if (INVALID_NDX (ndx, GElf_Versym, data))
78 *dst = ((GElf_Versym *) data->d_buf)[ndx];
H A Dgelf_update_lib.c42 gelf_update_lib (Elf_Data *data, int ndx, GElf_Lib *src) argument
60 if (INVALID_NDX (ndx, Elf64_Lib, &data_scn->d))
64 ((Elf64_Lib *) data_scn->d.d_buf)[ndx] = *src;
H A Dgelf_update_syminfo.c42 gelf_update_syminfo (Elf_Data *data, int ndx, GElf_Syminfo *src) argument
66 if (INVALID_NDX (ndx, GElf_Syminfo, &data_scn->d))
72 ((GElf_Syminfo *) data_scn->d.d_buf)[ndx] = *src;
H A Dgelf_getauxv.c41 gelf_getauxv (Elf_Data *data, int ndx, GElf_auxv_t *dst) argument
71 if (unlikely ((ndx + 1) * sizeof (Elf32_auxv_t) > data_scn->d.d_size))
77 src = &((Elf32_auxv_t *) data_scn->d.d_buf)[ndx];
91 if (unlikely ((ndx + 1) * sizeof (GElf_auxv_t) > data_scn->d.d_size))
97 memcpy (dst, data_scn->d.d_buf + ndx * sizeof (GElf_auxv_t),
H A Dgelf_getdyn.c42 gelf_getdyn (Elf_Data *data, int ndx, GElf_Dyn *dst) argument
72 if (INVALID_NDX (ndx, Elf32_Dyn, &data_scn->d))
78 src = &((Elf32_Dyn *) data_scn->d.d_buf)[ndx];
93 if (INVALID_NDX (ndx, GElf_Dyn, &data_scn->d))
99 *dst = ((GElf_Dyn *) data_scn->d.d_buf)[ndx];
H A Dgelf_getphdr.c42 gelf_getphdr (Elf *elf, int ndx, GElf_Phdr *dst) argument
81 || (size_t) ndx >= phnum)
91 phdr += ndx;
121 || (size_t) ndx >= phnum)
128 result = memcpy (dst, phdr + ndx, sizeof (GElf_Phdr));
H A Dgelf_getrel.c41 gelf_getrel (Elf_Data *data, int ndx, GElf_Rel *dst) argument
66 if (INVALID_NDX (ndx, Elf32_Rel, &data_scn->d))
73 Elf32_Rel *src = &((Elf32_Rel *) data_scn->d.d_buf)[ndx];
86 if (INVALID_NDX (ndx, Elf64_Rel, &data_scn->d))
92 result = memcpy (dst, &((Elf64_Rel *) data_scn->d.d_buf)[ndx],
H A Dgelf_getrela.c41 gelf_getrela (Elf_Data *data, int ndx, GElf_Rela *dst) argument
66 if (INVALID_NDX (ndx, Elf32_Rela, &data_scn->d))
73 Elf32_Rela *src = &((Elf32_Rela *) data_scn->d.d_buf)[ndx];
87 if (INVALID_NDX (ndx, Elf64_Rela, &data_scn->d))
93 result = memcpy (dst, &((Elf64_Rela *) data_scn->d.d_buf)[ndx],
H A Dgelf_getsym.c42 gelf_getsym (Elf_Data *data, int ndx, GElf_Sym *dst) argument
69 if (INVALID_NDX (ndx, Elf32_Sym, data))
75 src = &((Elf32_Sym *) data->d_buf)[ndx];
98 if (INVALID_NDX (ndx, GElf_Sym, data))
104 *dst = ((GElf_Sym *) data->d_buf)[ndx];
H A Dgelf_update_auxv.c40 gelf_update_auxv (Elf_Data *data, int ndx, GElf_auxv_t *src) argument
49 if (unlikely (ndx < 0))
79 if (unlikely ((ndx + 1) * sizeof (Elf32_auxv_t) > data_scn->d.d_size))
85 auxv = &((Elf32_auxv_t *) data_scn->d.d_buf)[ndx];
93 if (unlikely ((ndx + 1) * sizeof (Elf64_auxv_t) > data_scn->d.d_size))
99 ((Elf64_auxv_t *) data_scn->d.d_buf)[ndx] = *src;
H A Dgelf_update_dyn.c41 gelf_update_dyn (Elf_Data *data, int ndx, GElf_Dyn *src) argument
75 if (INVALID_NDX (ndx, Elf32_Dyn, &data_scn->d))
81 dyn = &((Elf32_Dyn *) data_scn->d.d_buf)[ndx];
89 if (INVALID_NDX (ndx, Elf64_Dyn, &data_scn->d))
95 ((Elf64_Dyn *) data_scn->d.d_buf)[ndx] = *src;
H A Dgelf_update_phdr.c41 gelf_update_phdr (Elf *elf, int ndx, GElf_Phdr *src) argument
84 if (ndx >= elf->state.elf32.ehdr->e_phnum
87 || (size_t) ndx >= phnum))
94 phdr += ndx;
121 if (ndx >= elf->state.elf64.ehdr->e_phnum
124 || (size_t) ndx >= phnum))
131 memcpy (phdr + ndx, src, sizeof (Elf64_Phdr));
H A Dgelf_update_rel.c41 gelf_update_rel (Elf_Data *dst, int ndx, GElf_Rel *src) argument
75 if (INVALID_NDX (ndx, Elf32_Rel, &data_scn->d))
81 rel = &((Elf32_Rel *) data_scn->d.d_buf)[ndx];
90 if (INVALID_NDX (ndx, Elf64_Rel, &data_scn->d))
96 ((Elf64_Rel *) data_scn->d.d_buf)[ndx] = *src;
/external/ltrace/sysdeps/linux-gnu/aarch64/
H A Dplt.c35 arch_plt_sym_val(struct ltelf *lte, size_t ndx, GElf_Rela *rela) argument
37 return lte->plt_addr + 32 + ndx * 16;
/external/ltrace/sysdeps/linux-gnu/alpha/
H A Dplt.c26 arch_plt_sym_val(struct ltelf *lte, size_t ndx, GElf_Rela *rela) argument
28 return lte->plt_addr + ndx * 12 + 32;
/external/ltrace/sysdeps/linux-gnu/cris/
H A Dplt.c26 GElf_Addr arch_plt_sym_val(struct ltelf *lte, size_t ndx, GElf_Rela * rela) argument
28 return lte->plt_addr + 0x20 + (ndx * 26);
/external/ltrace/sysdeps/linux-gnu/m68k/
H A Dplt.c27 arch_plt_sym_val(struct ltelf *lte, size_t ndx, GElf_Rela * rela) { argument
28 return lte->plt_addr + (ndx + 1)
/external/ltrace/sysdeps/linux-gnu/metag/
H A Dplt.c29 arch_plt_sym_val(struct ltelf *lte, size_t ndx, GElf_Rela * rela) argument
31 return lte->plt_addr + ( ndx * 0x14 ) + 0x14;
/external/ltrace/sysdeps/linux-gnu/sparc/
H A Dplt.c26 arch_plt_sym_val(struct ltelf *lte, size_t ndx, GElf_Rela * rela) { argument

Completed in 315 milliseconds

123456