/freebsd-10.3-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 | 211 int hashval, ret = 0; local 218 hashval = hash_func(convname); 220 convname, hashval); 237 _CITRUS_HASH_INSERT(&shared_pool, ci, ci_hash_entry, hashval);
|
H A D | citrus_mapper.c | 319 int hashval, ret; local 326 hashval = hash_func(mapname); 328 hashval); 358 _CITRUS_HASH_INSERT(&ma->ma_cache, cm, cm_entry, hashval);
|
/freebsd-10.3-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.3-release/crypto/openssl/engines/ccgost/ |
H A D | gosthash.h | 50 int finish_hash(gost_hash_ctx * ctx, byte * hashval);
|
H A D | gosthash.c | 241 int finish_hash(gost_hash_ctx * ctx, byte * hashval) argument 266 memcpy(hashval, H, 32);
|
/freebsd-10.3-release/sys/kern/ |
H A D | vfs_init.c | 175 uint32_t hashval; local 201 hashval = fnv_32_str(vfc->vfc_name, FNV1_32_INIT); 202 hashval &= 0xff; 207 if (hashval == tvfc->vfc_typenum) { 208 if (hashval == 255 && secondpass == 0) { 209 hashval = 1; 212 hashval++; 217 vfc->vfc_typenum = hashval;
|
/freebsd-10.3-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.3-release/lib/libc/stdlib/ |
H A D | hcreate.c | 157 uint32_t hashval; local 161 hashval = (*__default_hash)(item.key, len); 163 head = &htable[hashval & (htablesize - 1)];
|
/freebsd-10.3-release/bin/sh/ |
H A D | alias.c | 249 unsigned int hashval; local 251 hashval = (unsigned char)*p << 4; 253 hashval+= *p++; 254 return &atab[hashval % ATABSIZE];
|
H A D | var.c | 922 unsigned int hashval; local 927 hashval = 0; 929 hashval = 2 * hashval + (unsigned char)*p++; 934 vpp = &vartab[hashval % VTABSIZE];
|
H A D | exec.c | 527 unsigned int hashval; local 534 hashval = (unsigned char)*p << 4; 536 hashval += *p++; 537 pp = &cmdtable[hashval % CMDTABLESIZE];
|
/freebsd-10.3-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.3-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.3-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.3-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.3-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.3-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.3-release/sys/cddl/contrib/opensolaris/uts/common/dtrace/ |
H A D | dtrace.c | 1711 uint64_t hashval = DTRACE_DYNHASH_VALID; local 1738 hashval += (val >> 48) & 0xffff; 1739 hashval += (hashval << 10); 1740 hashval ^= (hashval >> 6); 1742 hashval += (val >> 32) & 0xffff; 1743 hashval += (hashval << 10); 1744 hashval 2374 uint32_t hashval = 0, limit, isstr; local [all...] |
/freebsd-10.3-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.3-release/libexec/rtld-elf/ |
H A D | rtld.c | 891 const Elf32_Word *hashval; local 1199 hashval = &obj->chain_zero_gnu[obj->buckets_gnu[bkt]]; 1202 while ((*hashval++ & 1u) == 0); 4041 const Elf32_Word *hashval; local 4067 hashval = &obj->chain_zero_gnu[bucket]; 4069 if (((*hashval ^ req->hash_gnu) >> 1) == 0) { 4070 symnum = hashval - obj->chain_zero_gnu; 4077 } while ((*hashval++ & 1) == 0);
|
/freebsd-10.3-release/sys/fs/nfsserver/ |
H A D | nfs_nfsdport.c | 3272 uint32_t hashval; local 3274 hashval = hash32_buf(&fhp->fh_fid, sizeof(struct fid), 0); 3275 return (hashval); 3284 uint32_t hashval; local 3286 hashval = hash32_buf(sessionid, NFSX_V4SESSIONID, 0); 3287 return (hashval);
|