Lines Matching defs:hash
235 unsigned long hash;
237 hash = dcalchash(key);
239 db->dbm_blkno = hash & db->dbm_hmask;
399 dbm_hashinc(DBM *db, unsigned long hash)
403 hash &= db->dbm_hmask;
409 if ((hash&bit) == 0)
410 return (hash|bit);
411 hash &= ~bit;
420 dbm_firsthash(DBM *db, unsigned long hash)
426 dbm_access(db, hash);
443 hash = dbm_hashinc(db, hash);
444 if (hash == 0)
480 * specific key allowing the fast hash order search --
541 unsigned long hash;
560 dbm_access(db, (hash = dcalchash(inkey)));
698 /* really need hash at this point */
699 /* if he gave us a key we have already calculated the hash */
702 hash = dcalchash(key);
703 hash = dbm_hashinc(db, hash);
705 if (hash == 0)
707 /* get first item on next page in hash table order */
708 return (dbm_firsthash(db, hash));
714 dbm_access(DBM *db, unsigned long hash)
725 my_blkno = hash & my_hmask;