Lines Matching refs:ndx
47 gelf_getdyn(Elf_Data *ed, int ndx, GElf_Dyn *dst)
60 if (d == NULL || ndx < 0 || dst == NULL ||
83 assert(ndx >= 0);
85 if (msz * (size_t) ndx >= d->d_data.d_size) {
91 dyn32 = (Elf32_Dyn *) d->d_data.d_buf + ndx;
98 dyn64 = (Elf64_Dyn *) d->d_data.d_buf + ndx;
107 gelf_update_dyn(Elf_Data *ed, int ndx, GElf_Dyn *ds)
120 if (d == NULL || ndx < 0 || ds == NULL ||
143 assert(ndx >= 0);
145 if (msz * (size_t) ndx >= d->d_data.d_size) {
151 dyn32 = (Elf32_Dyn *) d->d_data.d_buf + ndx;
156 dyn64 = (Elf64_Dyn *) d->d_data.d_buf + ndx;