Lines Matching refs:refcount
36 unsigned int refcount; member
85 ret->refcount = 0; in elf_strtab_hash_newfunc()
161 entry->refcount++; in _bfd_elf_strtab_add()
190 ++tab->array[idx]->refcount; in _bfd_elf_strtab_addref()
200 BFD_ASSERT (tab->array[idx]->refcount > 0); in _bfd_elf_strtab_delref()
201 --tab->array[idx]->refcount; in _bfd_elf_strtab_delref()
207 return tab->array[idx]->refcount; in _bfd_elf_strtab_refcount()
216 tab->array[idx]->refcount = 0; in _bfd_elf_strtab_clear_all_refs()
224 unsigned int refcount[1]; member
233 size = sizeof (*save) + (tab->size - 1) * sizeof (save->refcount[0]); in _bfd_elf_strtab_save()
240 save->refcount[idx] = tab->array[idx]->refcount; in _bfd_elf_strtab_save()
259 tab->array[idx]->refcount = save->refcount[idx]; in _bfd_elf_strtab_restore()
266 tab->array[idx]->refcount = 0; in _bfd_elf_strtab_restore()
293 BFD_ASSERT (entry->refcount > 0); in _bfd_elf_strtab_offset()
294 entry->refcount--; in _bfd_elf_strtab_offset()
306 if (tab->array[idx]->refcount == 0) in _bfd_elf_strtab_str()
327 BFD_ASSERT (tab->array[i]->refcount == 0); in _bfd_elf_strtab_emit()
402 if (e->refcount) in _bfd_elf_strtab_finalize()
456 if (e->refcount && e->len > 0) in _bfd_elf_strtab_finalize()
469 if (e->refcount && e->len < 0) in _bfd_elf_strtab_finalize()