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