Lines Matching refs:hash
434 unsigned long hash; in bfd_hash_hash() local
438 hash = 0; in bfd_hash_hash()
443 hash += c + (c << 17); in bfd_hash_hash()
444 hash ^= hash >> 2; in bfd_hash_hash()
447 hash += len + (len << 17); in bfd_hash_hash()
448 hash ^= hash >> 2; in bfd_hash_hash()
451 return hash; in bfd_hash_hash()
462 unsigned long hash; in bfd_hash_lookup() local
467 hash = bfd_hash_hash (string, &len); in bfd_hash_lookup()
468 _index = hash % table->size; in bfd_hash_lookup()
473 if (hashp->hash == hash in bfd_hash_lookup()
496 return bfd_hash_insert (table, string, hash); in bfd_hash_lookup()
504 unsigned long hash) in bfd_hash_insert() argument
513 hashp->hash = hash; in bfd_hash_insert()
514 _index = hash % table->size; in bfd_hash_insert()
549 while (chain_end->next && chain_end->next->hash == chain->hash) in bfd_hash_insert()
553 _index = chain->hash % newsize; in bfd_hash_insert()
574 _index = ent->hash % table->size; in bfd_hash_rename()
583 ent->hash = bfd_hash_hash (string, NULL); in bfd_hash_rename()
584 _index = ent->hash % table->size; in bfd_hash_rename()
599 _index = old->hash % table->size; in bfd_hash_replace()
817 bfd_boolean hash, in _bfd_stringtab_add() argument
822 if (hash) in _bfd_stringtab_add()