Lines Matching defs:ndx
35 gelf_getrel(Elf_Data *d, int ndx, GElf_Rel *dst)
45 if (d == NULL || ndx < 0 || dst == NULL ||
69 if (msz * ndx >= d->d_size) {
75 rel32 = (Elf32_Rel *) d->d_buf + ndx;
82 rel64 = (Elf64_Rel *) d->d_buf + ndx;
91 gelf_update_rel(Elf_Data *d, int ndx, GElf_Rel *dr)
101 if (d == NULL || ndx < 0 || dr == NULL ||
124 if (msz * ndx >= d->d_size) {
130 rel32 = (Elf32_Rel *) d->d_buf + ndx;
135 rel64 = (Elf64_Rel *) d->d_buf + ndx;