Searched refs:hashval (Results 1 - 25 of 28) sorted by relevance

12

/freebsd-10-stable/lib/libc/iconv/
H A Dcitrus_hash.h46 #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 Dcitrus_db.c105 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 Dcitrus_iconv.c211 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 Dcitrus_mapper.c319 int hashval, ret; local
326 hashval = hash_func(mapname);
328 hashval);
358 _CITRUS_HASH_INSERT(&ma->ma_cache, cm, cm_entry, hashval);
/freebsd-10-stable/contrib/flex/
H A Dsym.c177 int hashval; local
180 hashval = 0;
184 hashval = (hashval << 1) + (unsigned char) str[locstr++];
185 hashval %= hash_size;
188 return hashval;
H A Ddfa.c235 * 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-stable/crypto/openssl/engines/ccgost/
H A Dgosthash.h50 int finish_hash(gost_hash_ctx * ctx, byte * hashval);
H A Dgosthash.c241 int finish_hash(gost_hash_ctx * ctx, byte * hashval) argument
266 memcpy(hashval, H, 32);
/freebsd-10-stable/sys/kern/
H A Dvfs_init.c175 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-stable/contrib/ncurses/ncurses/tty/
H A Dhashmap.c325 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-stable/lib/libc/stdlib/
H A Dhcreate.c157 uint32_t hashval; local
161 hashval = (*__default_hash)(item.key, len);
163 head = &htable[hashval & (htablesize - 1)];
/freebsd-10-stable/bin/sh/
H A Dalias.c249 unsigned int hashval; local
251 hashval = (unsigned char)*p << 4;
253 hashval+= *p++;
254 return &atab[hashval % ATABSIZE];
H A Dvar.c922 unsigned int hashval; local
927 hashval = 0;
929 hashval = 2 * hashval + (unsigned char)*p++;
934 vpp = &vartab[hashval % VTABSIZE];
H A Dexec.c527 unsigned int hashval; local
534 hashval = (unsigned char)*p << 4;
536 hashval += *p++;
537 pp = &cmdtable[hashval % CMDTABLESIZE];
/freebsd-10-stable/usr.bin/mkstr/
H A Dmkstr.c282 long hashval = 0; local
288 hashval = (hashval << 1) + *cp++;
289 i = hashval % NBUCKETS;
294 if (hp->hval == hashval) {
308 hp->hval = hashval;
/freebsd-10-stable/contrib/subversion/subversion/libsvn_ra_svn/
H A Dcram.c57 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-stable/contrib/tcsh/
H A Dsh.exec.c155 int hashval, i; local
265 hashval = havhash ? hashname(*av) : 0;
283 if (!bit(hashval, i))
286 int hashval1 = hash(hashval, i);
648 int hashval; local
651 USE(hashval);
743 hashval = hashname(str2short(dp->d_name));
744 bis(hashval, i);
751 hashval = hashname(str2short(dp->d_name));
752 bis(hashval,
821 int hashval, rehashed, i; local
1091 int hashval, rehashed, i, ex, rval = 0; local
[all...]
H A Dsh.hist.c758 * Histlist. The specified hashval matches the new Hist entry but has not yet
761 insertHistHashTable(struct Hist *np, unsigned hashval) argument
769 assert(hashval == np->Hhash);
776 ((hi = hash2tableIndex(hashval + rehashes, histHashTableLength)),
802 np->Hhash = hashval;
844 /* Search the history hash table for a command matching lp, using hashval as
847 findHistHashTable(struct wordent *lp, unsigned hashval) argument
850 unsigned hi = hashval;
858 else if (hp->Hhash == hashval && heq(lp, &(hp->Hlex)))
864 return findHistHashTable(lp, hashval);
[all...]
/freebsd-10-stable/contrib/one-true-awk/
H A Dtran.c240 unsigned hashval; local
242 for (hashval = 0; *s != '\0'; s++)
243 hashval = (*s + 31 * hashval);
244 return hashval % n;
/freebsd-10-stable/contrib/serf/auth/
H A Dauth_digest.c68 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-stable/contrib/gcc/
H A Dcselib.c930 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-stable/sys/cddl/contrib/opensolaris/uts/common/dtrace/
H A Ddtrace.c1731 uint64_t hashval = DTRACE_DYNHASH_VALID; local
1758 hashval += (val >> 48) & 0xffff;
1759 hashval += (hashval << 10);
1760 hashval ^= (hashval >> 6);
1762 hashval += (val >> 32) & 0xffff;
1763 hashval += (hashval << 10);
1764 hashval
2394 uint32_t hashval = 0, limit, isstr; local
[all...]
/freebsd-10-stable/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_aggregate.c441 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-stable/libexec/rtld-elf/
H A Drtld.c906 const Elf32_Word *hashval; local
1214 hashval = &obj->chain_zero_gnu[obj->buckets_gnu[bkt]];
1217 while ((*hashval++ & 1u) == 0);
4169 const Elf32_Word *hashval; local
4195 hashval = &obj->chain_zero_gnu[bucket];
4197 if (((*hashval ^ req->hash_gnu) >> 1) == 0) {
4198 symnum = hashval - obj->chain_zero_gnu;
4205 } while ((*hashval++ & 1) == 0);
/freebsd-10-stable/sys/fs/nfsserver/
H A Dnfs_nfsdport.c3286 uint32_t hashval; local
3288 hashval = hash32_buf(&fhp->fh_fid, sizeof(struct fid), 0);
3289 return (hashval);
3298 uint32_t hashval; local
3300 hashval = hash32_buf(sessionid, NFSX_V4SESSIONID, 0);
3301 return (hashval);

Completed in 336 milliseconds

12