Lines Matching refs:ndx
99 elfedit_dyn_elt_save(elfedit_dyn_elt_t *elt, Word ndx, Dyn *dyn) in elfedit_dyn_elt_save() argument
102 elt->dn_ndx = ndx; in elfedit_dyn_elt_save()
122 Word ndx; in elfedit_name_to_shndx() local
125 for (ndx = 0; ndx < shnum; ndx++, sec++) { in elfedit_name_to_shndx()
130 return (ndx); in elfedit_name_to_shndx()
158 Word ndx; in elfedit_type_to_shndx() local
161 for (ndx = 0; ndx < shnum; ndx++, sec++) { in elfedit_type_to_shndx()
170 return (ndx); in elfedit_type_to_shndx()
218 Word ndx, offset; in elfedit_name_to_symndx() local
221 for (ndx = 0; ndx < cnt; ndx++) { in elfedit_name_to_symndx()
222 offset = sym[ndx].st_name; in elfedit_name_to_symndx()
230 symsec->sec_name, EC_WORD(ndx), name); in elfedit_name_to_symndx()
231 *ret_symndx = ndx; in elfedit_name_to_symndx()
572 Word ndx; in elfedit_sec_getsymtab() local
587 for (ndx = 0; ndx < obj_state->os_symtabnum; ndx++, symtab++) { in elfedit_sec_getsymtab()
648 Word ndx; in elfedit_sec_getxshndx() local
654 for (ndx = 0; ndx < obj_state->os_symtabnum; ndx++, symtab++) in elfedit_sec_getxshndx()
664 if ((ndx == obj_state->os_symtabnum) || in elfedit_sec_getxshndx()
711 Word ndx; in elfedit_sec_getversym() local
717 for (ndx = 0; ndx < obj_state->os_symtabnum; ndx++, symtab++) in elfedit_sec_getversym()
725 if ((ndx == obj_state->os_symtabnum) || in elfedit_sec_getversym()