Lines Matching refs:tab
642 _bfd_stringtab_add (struct bfd_strtab_hash *tab, in _bfd_stringtab_add() argument
651 entry = strtab_hash_lookup (tab, str, TRUE, copy); in _bfd_stringtab_add()
657 entry = bfd_hash_allocate (&tab->table, sizeof (* entry)); in _bfd_stringtab_add()
666 n = bfd_hash_allocate (&tab->table, strlen (str) + 1); in _bfd_stringtab_add()
677 entry->index = tab->size; in _bfd_stringtab_add()
678 tab->size += strlen (str) + 1; in _bfd_stringtab_add()
679 if (tab->xcoff) in _bfd_stringtab_add()
682 tab->size += 2; in _bfd_stringtab_add()
684 if (tab->first == NULL) in _bfd_stringtab_add()
685 tab->first = entry; in _bfd_stringtab_add()
687 tab->last->next = entry; in _bfd_stringtab_add()
688 tab->last = entry; in _bfd_stringtab_add()
697 _bfd_stringtab_size (struct bfd_strtab_hash *tab) in _bfd_stringtab_size() argument
699 return tab->size; in _bfd_stringtab_size()
706 _bfd_stringtab_emit (bfd *abfd, struct bfd_strtab_hash *tab) in _bfd_stringtab_emit() argument
711 xcoff = tab->xcoff; in _bfd_stringtab_emit()
713 for (entry = tab->first; entry != NULL; entry = entry->next) in _bfd_stringtab_emit()