Lines Matching refs:sym
115 void (*add_symbol) (struct dictionary *dict, struct symbol *sym);
229 struct symbol *sym);
257 struct symbol *sym);
283 struct symbol *sym);
341 struct symbol *sym);
491 dict_add_symbol (struct dictionary *dict, struct symbol *sym)
493 (DICT_VECTOR (dict))->add_symbol (dict, sym);
563 add_symbol_nonexpandable (struct dictionary *dict, struct symbol *sym)
606 struct symbol *sym = DICT_HASHED_BUCKET (dict, i);
608 if (sym != NULL)
611 DICT_ITERATOR_CURRENT (iterator) = sym;
612 return sym;
626 struct symbol *sym;
634 for (sym = DICT_HASHED_BUCKET (dict, hash_index);
635 sym != NULL;
636 sym = sym->hash_next)
639 if (strcmp_iw (SYMBOL_NATURAL_NAME (sym), name) == 0)
646 DICT_ITERATOR_CURRENT (iterator) = sym;
647 return sym;
672 struct symbol *sym)
677 hash_index = (msymbol_hash_iw (SYMBOL_NATURAL_NAME (sym))
679 sym->hash_next = buckets[hash_index];
680 buckets[hash_index] = sym;
700 struct symbol *sym)
707 insert_symbol_hashed (dict, sym);
731 struct symbol *sym, *next_sym;
733 sym = old_buckets[i];
734 if (sym != NULL) {
735 for (next_sym = sym->hash_next;
737 next_sym = sym->hash_next) {
738 insert_symbol_hashed (dict, sym);
739 sym = next_sym;
742 insert_symbol_hashed (dict, sym);
787 struct symbol *sym, *retval = NULL;
791 sym = DICT_LINEAR_SYM (dict, i);
792 if (strcmp_iw (SYMBOL_NATURAL_NAME (sym), name) == 0)
794 retval = sym;
822 struct symbol *sym)
835 DICT_LINEAR_SYM (dict, nsyms - 1) = sym;