Lines Matching refs:hash
34 static char sccsid[] = "@(#)hash.c 8.9 (Berkeley) 6/16/94";
37 __FBSDID("$FreeBSD: releng/10.2/lib/libc/db/hash/hash.c 254222 2013-08-11 15:38:48Z jilles $");
55 #include "hash.h"
136 if (info && info->hash)
137 hashp->hash = info->hash;
139 hashp->hash = __default_hash;
149 /* Verify file type, versions and hash function */
156 if ((int32_t)hashp->hash(CHARKEY, sizeof(CHARKEY)) != hashp->H_CHARKEY)
286 hashp->hash = __default_hash;
312 if (info->hash)
313 hashp->hash = info->hash;
483 hashp->H_CHARKEY = hashp->hash(CHARKEY, sizeof(CHARKEY));
859 n = hashp->hash(k, len);