/freebsd-current/lib/libc/iconv/ |
H A D | citrus_hash.h | 47 #define _CITRUS_HASH_INSERT(head, elm, field, hashval) \ 48 LIST_INSERT_HEAD(&(head)->chh_table[hashval], elm, field) 49 #define _CITRUS_HASH_SEARCH(head, elm, field, matchfunc, key, hashval) \ 51 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 | 214 int hashval, ret = 0; local 221 hashval = hash_func(convname); 223 convname, hashval); 240 _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-current/sys/contrib/openzfs/include/sys/ |
H A D | edonr.h | 70 void EdonRFinal(EdonRState *state, uint8_t *hashval); 71 void EdonRHash(const uint8_t *data, size_t databitlen, uint8_t *hashval);
|
/freebsd-current/sys/netinet/ |
H A D | in_rss.h | 47 uint32_t *hashval, uint32_t *hashtype); 50 int proto, uint32_t *hashval,
|
H A D | in_rss.c | 113 uint32_t *hashval, uint32_t *hashtype) 124 *hashval = hash; 130 *hashval = hash; 136 *hashval = hash; 204 rss_mbuf_software_hash_v4(const struct mbuf *m, int dir, uint32_t *hashval, argument 323 hashval, 337 hashval, 345 hashval, 111 rss_proto_software_hash_v4(struct in_addr s, struct in_addr d, u_short sp, u_short dp, int proto, uint32_t *hashval, uint32_t *hashtype) argument
|
/freebsd-current/sys/netinet6/ |
H A D | in6_rss.h | 48 uint32_t *hashval, uint32_t *hashtype); 51 u_short dst_port, int proto, uint32_t *hashval,
|
H A D | in6_rss.c | 114 uint32_t *hashval, uint32_t *hashtype) 125 *hashval = hash; 131 *hashval = hash; 137 *hashval = hash; 207 rss_mbuf_software_hash_v6(const struct mbuf *m, int dir, uint32_t *hashval, argument 349 hashval, 362 hashval, 370 hashval, 112 rss_proto_software_hash_v6(const struct in6_addr *s, const struct in6_addr *d, u_short sp, u_short dp, int proto, uint32_t *hashval, uint32_t *hashtype) argument
|
/freebsd-current/contrib/flex/src/ |
H A D | sym.c | 160 int hashval; local 163 hashval = 0; 167 hashval = (hashval << 1) + (unsigned char) str[locstr++]; 168 hashval %= hash_size; 171 return hashval;
|
H A D | dfa.c | 226 * hashval is the hash value for the dfa corresponding to the state set. 232 int numstates = *ns_addr, nacc, hashval, transsym, nfaccnum; local 272 hashval += state; \ 289 nacc = stkend = hashval = 0; 300 hashval += ns; 335 *hv_addr = hashval; 374 int sym, hashval, numstates, dsize; local 571 &hashval); 573 if (snstods (nset, numstates, accset, nacc, hashval, &ds)) { 624 &hashval); 806 snstods(int sns[], int numstates, int accset[], int nacc, int hashval, int *newds_addr) argument [all...] |
/freebsd-current/bin/sh/ |
H A D | alias.c | 242 unsigned int hashval; local 244 hashval = (unsigned char)*p << 4; 246 hashval+= *p++; 247 return (hashval % ATABSIZE);
|
H A D | var.c | 937 unsigned int hashval; local 942 hashval = 0; 944 hashval = 2 * hashval + (unsigned char)*p++; 949 vpp = &vartab[hashval % VTABSIZE];
|
H A D | exec.c | 545 unsigned int hashval; local 547 hashval = (unsigned char)*p << 4; 549 hashval += *p++; 551 return (hashval % CMDTABLESIZE);
|
/freebsd-current/usr.bin/mkstr/ |
H A D | mkstr.c | 269 long hashval = 0; local 275 hashval = (hashval << 1) + *cp++; 276 i = hashval % NBUCKETS; 281 if (hp->hval == hashval) { 295 hp->hval = hashval;
|
/freebsd-current/contrib/ncurses/ncurses/tty/ |
H A D | hashmap.c | 345 unsigned long hashval = oldhash(SP_PARM)[i]; local 347 for (hsp = hashtab(SP_PARM); hsp->hashval; hsp++) 348 if (hsp->hashval == hashval) 350 hsp->hashval = hashval; /* in case this is a new entry */ 355 unsigned long hashval = newhash(SP_PARM)[i]; local 357 for (hsp = hashtab(SP_PARM); hsp->hashval; hsp++) 358 if (hsp->hashval == hashval) [all...] |
/freebsd-current/sys/kern/ |
H A D | vfs_init.c | 389 uint32_t hashval; local 415 hashval = fnv_32_str(vfc->vfc_name, FNV1_32_INIT); 416 hashval &= 0xff; 421 if (hashval == tvfc->vfc_typenum) { 422 if (hashval == 255 && secondpass == 0) { 423 hashval = 1; 426 hashval++; 431 vfc->vfc_typenum = hashval;
|
/freebsd-current/contrib/tcsh/ |
H A D | sh.exec.c | 151 int hashval, i; local 261 hashval = havhash ? hashname(*av) : 0; 279 if (!bit(hashval, i)) 282 int hashval1 = hash(hashval, i); 644 int hashval; local 647 USE(hashval); 739 hashval = hashname(str2short(dp->d_name)); 740 bis(hashval, i); 747 hashval = hashname(str2short(dp->d_name)); 748 bis(hashval, 817 int hashval, rehashed, i; local 1087 int hashval, rehashed, i, ex, rval = 0; local [all...] |
H A D | sh.hist.c | 764 * Histlist. The specified hashval matches the new Hist entry but has not yet 767 insertHistHashTable(struct Hist *np, unsigned hashval) argument 775 assert(hashval == np->Hhash); 782 ((hi = hash2tableIndex(hashval + rehashes, histHashTableLength)), 808 np->Hhash = hashval; 850 /* Search the history hash table for a command matching lp, using hashval as 853 findHistHashTable(struct wordent *lp, unsigned hashval) argument 856 unsigned hi = hashval; 864 else if (hp->Hhash == hashval && heq(lp, &(hp->Hlex))) 870 return findHistHashTable(lp, hashval); [all...] |
/freebsd-current/sys/contrib/openzfs/module/icp/algs/edonr/ |
H A D | edonr.c | 258 EdonRFinal(EdonRState *state, uint8_t *hashval) argument 297 data64 = (uint64_t *)hashval; 304 memcpy(hashval, hashState512(state)->DoublePipe + 8, 310 EdonRHash(const uint8_t *data, size_t databitlen, uint8_t *hashval) argument 316 EdonRFinal(&state, hashval);
|
/freebsd-current/sys/netpfil/ipfw/ |
H A D | ip_fw_dynamic.c | 133 uint32_t hashval; /* hash value used for hash resize */ member in struct:dyn_data 165 uint32_t hashval; /* hash value used for hash resize */ member in struct:dyn_parent 1045 bucket = DYN_BUCKET(info->hashval, V_curr_dyn_buckets); 1111 uint32_t ruleid, uint16_t rulenum, uint32_t hashval) 1116 bucket = DYN_BUCKET(hashval, V_curr_dyn_buckets); 1192 bucket = DYN_BUCKET(info->hashval, V_curr_dyn_buckets); 1260 const void *rule, uint32_t ruleid, uint16_t rulenum, uint32_t hashval) 1265 bucket = DYN_BUCKET(hashval, V_curr_dyn_buckets); 1340 info->hashval = hash_packet(&args->f_id); 1455 uint32_t hashval) 1110 dyn_lookup_ipv4_parent(const struct ipfw_flow_id *pkt, const void *rule, uint32_t ruleid, uint16_t rulenum, uint32_t hashval) argument 1259 dyn_lookup_ipv6_parent(const struct ipfw_flow_id *pkt, uint32_t zoneid, const void *rule, uint32_t ruleid, uint16_t rulenum, uint32_t hashval) argument 1454 dyn_alloc_parent(void *parent, uint32_t ruleid, uint16_t rulenum, uint32_t hashval) argument 1480 dyn_alloc_dyndata(void *parent, uint32_t ruleid, uint16_t rulenum, const struct ipfw_flow_id *pkt, const void *ulp, int pktlen, uint32_t hashval, uint16_t fibnum) argument 1535 dyn_add_ipv4_parent(void *rule, uint32_t ruleid, uint16_t rulenum, const struct ipfw_flow_id *pkt, uint32_t hashval, uint32_t version, uint16_t kidx) argument 1588 dyn_add_ipv4_state(void *parent, uint32_t ruleid, uint16_t rulenum, const struct ipfw_flow_id *pkt, const void *ulp, int pktlen, uint32_t hashval, struct ipfw_dyn_info *info, uint16_t fibnum, uint16_t kidx, uint8_t type) argument 1666 dyn_add_ipv6_parent(void *rule, uint32_t ruleid, uint16_t rulenum, const struct ipfw_flow_id *pkt, uint32_t zoneid, uint32_t hashval, uint32_t version, uint16_t kidx) argument 1719 dyn_add_ipv6_state(void *parent, uint32_t ruleid, uint16_t rulenum, const struct ipfw_flow_id *pkt, uint32_t zoneid, const void *ulp, int pktlen, uint32_t hashval, struct ipfw_dyn_info *info, uint16_t fibnum, uint16_t kidx, uint8_t type) argument 1769 dyn_get_parent_state(const struct ipfw_flow_id *pkt, uint32_t zoneid, struct ip_fw *rule, uint32_t hashval, uint32_t limit, uint16_t kidx) argument 1867 uint32_t hashval, parent_hashval, ruleid, rulenum; local [all...] |
/freebsd-current/crypto/openssl/ssl/ |
H A D | tls13_enc.c | 427 unsigned char hashval[EVP_MAX_MD_SIZE]; local 428 unsigned char *hash = hashval; 542 || !EVP_DigestFinal_ex(mdctx, hashval, &hashlenui)) { 553 hashval, hashlen, 616 || !ssl_handshake_hash(s, hashval, sizeof(hashval), &hashlen)) { 627 memcpy(s->server_finished_hash, hashval, hashlen); 630 memcpy(s->handshake_traffic_hash, hashval, hashlen); 640 hashval, hashlen, s->resumption_master_secret,
|
/freebsd-current/contrib/one-true-awk/ |
H A D | tran.c | 254 unsigned hashval; local 256 for (hashval = 0; *s != '\0'; s++) 257 hashval = (*s + 31 * hashval); 258 return hashval % n;
|
/freebsd-current/sys/dev/liquidio/ |
H A D | lio_core.c | 279 uint32_t hashtype, hashval; local 282 hashval = htobe32(*(uint32_t *) 292 hashval = htobe32(*(uint32_t *) 303 mbuf->m_pkthdr.flowid = hashval;
|
/freebsd-current/sys/cddl/contrib/opensolaris/uts/common/dtrace/ |
H A D | dtrace.c | 1884 uint64_t hashval = DTRACE_DYNHASH_VALID; local 1911 hashval += (val >> 48) & 0xffff; 1912 hashval += (hashval << 10); 1913 hashval ^= (hashval >> 6); 1915 hashval += (val >> 32) & 0xffff; 1916 hashval += (hashval << 10); 1917 hashval 2547 uint32_t hashval = 0, limit, isstr; local [all...] |