Home | History | Annotate | Download | only in libelf

Lines Matching refs:ndx

47 gelf_getsym(Elf_Data *ed, int ndx, GElf_Sym *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 sym32 = (Elf32_Sym *) d->d_data.d_buf + ndx;
100 sym64 = (Elf64_Sym *) d->d_data.d_buf + ndx;
109 gelf_update_sym(Elf_Data *ed, int ndx, GElf_Sym *gs)
122 if (d == NULL || ndx < 0 || gs == NULL ||
145 assert(ndx >= 0);
147 if (msz * (size_t) ndx >= d->d_data.d_size) {
153 sym32 = (Elf32_Sym *) d->d_data.d_buf + ndx;
163 sym64 = (Elf64_Sym *) d->d_data.d_buf + ndx;