Lines Matching refs:tab
815 _bfd_stringtab_add (struct bfd_strtab_hash *tab, in _bfd_stringtab_add() argument
824 entry = strtab_hash_lookup (tab, str, TRUE, copy); in _bfd_stringtab_add()
830 entry = (struct strtab_hash_entry *) bfd_hash_allocate (&tab->table, in _bfd_stringtab_add()
841 n = (char *) bfd_hash_allocate (&tab->table, len); in _bfd_stringtab_add()
853 entry->index = tab->size; in _bfd_stringtab_add()
854 tab->size += strlen (str) + 1; in _bfd_stringtab_add()
855 if (tab->xcoff) in _bfd_stringtab_add()
858 tab->size += 2; in _bfd_stringtab_add()
860 if (tab->first == NULL) in _bfd_stringtab_add()
861 tab->first = entry; in _bfd_stringtab_add()
863 tab->last->next = entry; in _bfd_stringtab_add()
864 tab->last = entry; in _bfd_stringtab_add()
873 _bfd_stringtab_size (struct bfd_strtab_hash *tab) in _bfd_stringtab_size() argument
875 return tab->size; in _bfd_stringtab_size()
882 _bfd_stringtab_emit (bfd *abfd, struct bfd_strtab_hash *tab) in _bfd_stringtab_emit() argument
887 xcoff = tab->xcoff; in _bfd_stringtab_emit()
889 for (entry = tab->first; entry != NULL; entry = entry->next) in _bfd_stringtab_emit()