Lines Matching refs:hash
651 int hash = 0; in sym_lookup() local
662 hash += *ptr; in sym_lookup()
663 hash &= 0xff; in sym_lookup()
665 for (symbol = symbol_hash[hash]; symbol; symbol = symbol->next) { in sym_lookup()
675 hash = 256; in sym_lookup()
686 symbol->next = symbol_hash[hash]; in sym_lookup()
687 symbol_hash[hash] = symbol; in sym_lookup()
696 int hash = 0; in sym_find() local
709 hash += *ptr; in sym_find()
710 hash &= 0xff; in sym_find()
712 for (symbol = symbol_hash[hash]; symbol; symbol = symbol->next) { in sym_find()