/freebsd-10.0-release/lib/libc/iconv/ |
H A D | citrus_hash.h | 46 #define _CITRUS_HASH_INSERT(head, elm, field, hashval) \ 47 LIST_INSERT_HEAD(&(head)->chh_table[hashval], elm, field) 48 #define _CITRUS_HASH_SEARCH(head, elm, field, matchfunc, key, hashval) \ 50 LIST_FOREACH((elm), &(head)->chh_table[hashval], field) \
|
H A D | citrus_db.c | 105 uint32_t hashval, num_entries; local 116 hashval = dl->dl_hashval; 121 hashval = db->db_hashfunc(key)%num_entries; 123 hashval * _CITRUS_DB_ENTRY_SIZE; 125 dl->dl_hashval = hashval; 147 if (be32toh(dex->dex_hash_value) != hashval)
|
H A D | citrus_iconv.c | 209 int hashval, ret = 0; local 216 hashval = hash_func(convname); 218 convname, hashval); 235 _CITRUS_HASH_INSERT(&shared_pool, ci, ci_hash_entry, hashval);
|
H A D | citrus_mapper.c | 317 int hashval, ret; local 324 hashval = hash_func(mapname); 326 hashval); 356 _CITRUS_HASH_INSERT(&ma->ma_cache, cm, cm_entry, hashval);
|
/freebsd-10.0-release/cddl/contrib/opensolaris/cmd/sgs/tools/common/ |
H A D | string_table.c | 353 uint_t hashval; local 392 hashval = HASHSEED; 394 hashval = ((hashval << 5) + hashval) + 398 for (sthash = stp->st_hashbcks[hashval % stp->st_hbckcnt]; sthash; 402 if (sthash->hi_hashval != hashval) 450 uint_t hashval = HASHSEED; local 467 hashval = ((hashval << [all...] |
/freebsd-10.0-release/contrib/flex/ |
H A D | sym.c | 177 int hashval; local 180 hashval = 0; 184 hashval = (hashval << 1) + (unsigned char) str[locstr++]; 185 hashval %= hash_size; 188 return hashval;
|
H A D | dfa.c | 235 * hashval is the hash value for the dfa corresponding to the state set. 242 int numstates = *ns_addr, nacc, hashval, transsym, nfaccnum; local 282 hashval += state; \ 299 nacc = stkend = hashval = 0; 310 hashval += ns; 345 *hv_addr = hashval; 384 int sym, hashval, numstates, dsize; local 588 &hashval); 590 if (snstods (nset, numstates, accset, nacc, hashval, &ds)) { 641 &hashval); [all...] |
/freebsd-10.0-release/crypto/openssl/engines/ccgost/ |
H A D | gosthash.h | 46 int finish_hash(gost_hash_ctx *ctx, byte *hashval);
|
H A D | gosthash.c | 225 int finish_hash(gost_hash_ctx *ctx,byte *hashval) argument 252 memcpy(hashval,H,32);
|
/freebsd-10.0-release/sys/kern/ |
H A D | vfs_init.c | 159 uint32_t hashval; local 182 hashval = fnv_32_str(vfc->vfc_name, FNV1_32_INIT); 183 hashval &= 0xff; 188 if (hashval == tvfc->vfc_typenum) { 189 if (hashval == 255 && secondpass == 0) { 190 hashval = 1; 193 hashval++; 198 vfc->vfc_typenum = hashval;
|
/freebsd-10.0-release/contrib/ncurses/ncurses/tty/ |
H A D | hashmap.c | 325 unsigned long hashval = oldhash[i]; local 327 for (sp = hashtab; sp->hashval; sp++) 328 if (sp->hashval == hashval) 330 sp->hashval = hashval; /* in case this is a new entry */ 335 unsigned long hashval = newhash[i]; local 337 for (sp = hashtab; sp->hashval; sp++) 338 if (sp->hashval == hashval) [all...] |
/freebsd-10.0-release/lib/libc/stdlib/ |
H A D | hcreate.c | 158 uint32_t hashval; local 162 hashval = (*__default_hash)(item.key, len); 164 head = &htable[hashval & (htablesize - 1)];
|
/freebsd-10.0-release/usr.bin/mkstr/ |
H A D | mkstr.c | 282 long hashval = 0; local 288 hashval = (hashval << 1) + *cp++; 289 i = hashval % NBUCKETS; 294 if (hp->hval == hashval) { 308 hp->hval = hashval;
|
/freebsd-10.0-release/contrib/subversion/subversion/libsvn_ra_svn/ |
H A D | cram.c | 57 static svn_boolean_t hex_decode(unsigned char *hashval, const char *hexval) 67 hashval[i] = (unsigned char)((h1 << 4) | h2); 72 static void hex_encode(char *hexval, const unsigned char *hashval) 78 hexval[2 * i] = int_to_hex((hashval[i] >> 4) & 0xf); 79 hexval[2 * i + 1] = int_to_hex(hashval[i] & 0xf); 56 hex_decode(unsigned char *hashval, const char *hexval) argument 71 hex_encode(char *hexval, const unsigned char *hashval) argument
|
/freebsd-10.0-release/bin/sh/ |
H A D | alias.c | 288 unsigned int hashval; local 290 hashval = *p << 4; 292 hashval+= *p++; 293 return &atab[hashval % ATABSIZE];
|
H A D | exec.c | 526 int hashval; local 532 hashval = *p << 4; 534 hashval += *p++; 535 hashval &= 0x7FFF; 536 pp = &cmdtable[hashval % CMDTABLESIZE];
|
H A D | var.c | 908 unsigned int hashval; local 913 hashval = 0; 915 hashval = 2 * hashval + (unsigned char)*p++; 920 vpp = &vartab[hashval % VTABSIZE];
|
/freebsd-10.0-release/contrib/tcsh/ |
H A D | sh.exec.c | 155 int hashval, i; local 265 hashval = havhash ? hashname(*av) : 0; 283 if (!bit(hashval, i)) 286 int hashval1 = hash(hashval, i); 647 int hashval; local 650 USE(hashval); 742 hashval = hashname(str2short(dp->d_name)); 743 bis(hashval, i); 750 hashval = hashname(str2short(dp->d_name)); 751 bis(hashval, 820 int hashval, rehashed, i; local 1087 int hashval, rehashed, i, ex, rval = 0; local [all...] |
H A D | sh.hist.c | 768 * Histlist. The specified hashval matches the new Hist entry but has not yet 771 insertHistHashTable(struct Hist *np, unsigned hashval) argument 779 assert(hashval == np->Hhash); 786 ((hi = hash2tableIndex(hashval + rehashes, histHashTableLength)), 812 np->Hhash = hashval; 854 /* Search the history hash table for a command matching lp, using hashval as 857 findHistHashTable(struct wordent *lp, unsigned hashval) argument 860 unsigned hi = hashval; 868 else if (hp->Hhash == hashval && heq(lp, &(hp->Hlex))) 874 return findHistHashTable(lp, hashval); [all...] |
/freebsd-10.0-release/contrib/one-true-awk/ |
H A D | tran.c | 240 unsigned hashval; local 242 for (hashval = 0; *s != '\0'; s++) 243 hashval = (*s + 31 * hashval); 244 return hashval % n;
|
/freebsd-10.0-release/contrib/serf/auth/ |
H A D | auth_digest.c | 68 hex_encode(const unsigned char *hashval, argument 74 hexval[2 * i] = int_to_hex((hashval[i] >> 4) & 0xf); 75 hexval[2 * i + 1] = int_to_hex(hashval[i] & 0xf);
|
/freebsd-10.0-release/contrib/gcc/ |
H A D | cselib.c | 930 unsigned int hashval; 980 hashval = cselib_hash_rtx (x, create); 982 if (! hashval) 986 hashval, create ? INSERT : NO_INSERT); 994 e = new_cselib_val (hashval, mode); 929 unsigned int hashval; local
|
/freebsd-10.0-release/sys/cddl/contrib/opensolaris/uts/common/dtrace/ |
H A D | dtrace.c | 1391 uint64_t hashval = DTRACE_DYNHASH_VALID; local 1418 hashval += (val >> 48) & 0xffff; 1419 hashval += (hashval << 10); 1420 hashval ^= (hashval >> 6); 1422 hashval += (val >> 32) & 0xffff; 1423 hashval += (hashval << 10); 1424 hashval 2053 uint32_t hashval = 0, limit, isstr; local [all...] |
/freebsd-10.0-release/cddl/contrib/opensolaris/lib/libdtrace/common/ |
H A D | dt_aggregate.c | 441 uint64_t hashval; local 515 hashval = 0; 549 hashval += addr[roffs + i]; 552 ndx = hashval % hash->dtah_size; 555 if (h->dtahe_hashval != hashval) 623 h->dtahe_hashval = hashval;
|
/freebsd-10.0-release/libexec/rtld-elf/ |
H A D | rtld.c | 860 const Elf32_Word *hashval; local 1171 hashval = &obj->chain_zero_gnu[obj->buckets_gnu[bkt]]; 1174 while ((*hashval++ & 1u) == 0); 3921 const Elf32_Word *hashval; local 3947 hashval = &obj->chain_zero_gnu[bucket]; 3949 if (((*hashval ^ req->hash_gnu) >> 1) == 0) { 3950 symnum = hashval - obj->chain_zero_gnu; 3957 } while ((*hashval++ & 1) == 0);
|