Lines Matching defs:ndx
93 int tfd, *shndx, ndx = 1, off = 0;
142 shndx[ndx] = -1;
158 shndx[ndx] = ndx - off;
159 ndx++;
195 ndx = 1;
201 if (shndx[ndx] == -1) {
202 ndx++;
242 tshdr.sh_info = shndx[ndx];
263 ndx++;
306 for (ndx = 0; ndx < (int)phnum; ndx++) {
307 if (gelf_getphdr(elf, ndx, &phdr) == NULL ||
308 gelf_getphdr(telf, ndx, &tphdr) == NULL) {
315 (void) gelf_update_phdr(telf, ndx, &tphdr);