Lines Matching refs:refcount
36 unsigned int refcount; member
85 ret->refcount = 0; in elf_strtab_hash_newfunc()
160 entry->refcount++; in _bfd_elf_strtab_add()
189 ++tab->array[idx]->refcount; in _bfd_elf_strtab_addref()
199 BFD_ASSERT (tab->array[idx]->refcount > 0); in _bfd_elf_strtab_delref()
200 --tab->array[idx]->refcount; in _bfd_elf_strtab_delref()
206 return tab->array[idx]->refcount; in _bfd_elf_strtab_refcount()
215 tab->array[idx]->refcount = 0; in _bfd_elf_strtab_clear_all_refs()
223 unsigned int refcount[1]; member
232 size = sizeof (*save) + (tab->size - 1) * sizeof (save->refcount[0]); in _bfd_elf_strtab_save()
239 save->refcount[idx] = tab->array[idx]->refcount; in _bfd_elf_strtab_save()
255 tab->array[idx]->refcount = save->refcount[idx]; in _bfd_elf_strtab_restore()
262 tab->array[idx]->refcount = 0; in _bfd_elf_strtab_restore()
289 BFD_ASSERT (entry->refcount > 0); in _bfd_elf_strtab_offset()
290 entry->refcount--; in _bfd_elf_strtab_offset()
321 BFD_ASSERT (tab->array[i]->refcount == 0); in _bfd_elf_strtab_emit()
396 if (e->refcount) in _bfd_elf_strtab_finalize()
451 if (e->refcount && e->len > 0) in _bfd_elf_strtab_finalize()
464 if (e->refcount && e->len < 0) in _bfd_elf_strtab_finalize()