Lines Matching defs:idx
179 _bfd_elf_strtab_addref (struct elf_strtab_hash *tab, bfd_size_type idx)
181 if (idx == 0 || idx == (bfd_size_type) -1)
184 BFD_ASSERT (idx < tab->size);
185 ++tab->array[idx]->refcount;
189 _bfd_elf_strtab_delref (struct elf_strtab_hash *tab, bfd_size_type idx)
191 if (idx == 0 || idx == (bfd_size_type) -1)
194 BFD_ASSERT (idx < tab->size);
195 BFD_ASSERT (tab->array[idx]->refcount > 0);
196 --tab->array[idx]->refcount;
202 bfd_size_type idx;
204 for (idx = 1; idx < tab->size; ++idx)
205 tab->array[idx]->refcount = 0;
215 _bfd_elf_strtab_offset (struct elf_strtab_hash *tab, bfd_size_type idx)
219 if (idx == 0)
221 BFD_ASSERT (idx < tab->size);
223 entry = tab->array[idx];
226 return tab->array[idx]->u.index;