/freebsd-11-stable/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-11-stable/sys/netinet/ |
H A D | in_rss.h | 49 uint32_t *hashval, uint32_t *hashtype); 52 int proto, uint32_t *hashval,
|
H A D | in_rss.c | 121 uint32_t *hashval, uint32_t *hashtype) 132 *hashval = hash; 138 *hashval = hash; 144 *hashval = hash; 170 rss_mbuf_software_hash_v4(const struct mbuf *m, int dir, uint32_t *hashval, argument 291 hashval, 305 hashval, 313 hashval, 119 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-11-stable/sys/netinet6/ |
H A D | in6_rss.h | 50 uint32_t *hashval, uint32_t *hashtype); 53 u_short dst_port, int proto, uint32_t *hashval,
|
H A D | in6_rss.c | 122 uint32_t *hashval, uint32_t *hashtype) 133 *hashval = hash; 139 *hashval = hash; 145 *hashval = hash; 171 rss_mbuf_software_hash_v6(const struct mbuf *m, int dir, uint32_t *hashval, argument 313 hashval, 326 hashval, 334 hashval, 120 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-11-stable/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-11-stable/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-11-stable/sys/kern/ |
H A D | vfs_init.c | 174 uint32_t hashval; local 200 hashval = fnv_32_str(vfc->vfc_name, FNV1_32_INIT); 201 hashval &= 0xff; 206 if (hashval == tvfc->vfc_typenum) { 207 if (hashval == 255 && secondpass == 0) { 208 hashval = 1; 211 hashval++; 216 vfc->vfc_typenum = hashval;
|
/freebsd-11-stable/bin/sh/ |
H A D | alias.c | 251 unsigned int hashval; local 253 hashval = (unsigned char)*p << 4; 255 hashval+= *p++; 256 return &atab[hashval % ATABSIZE];
|
H A D | var.c | 940 unsigned int hashval; local 945 hashval = 0; 947 hashval = 2 * hashval + (unsigned char)*p++; 952 vpp = &vartab[hashval % VTABSIZE];
|
H A D | exec.c | 530 unsigned int hashval; local 537 hashval = (unsigned char)*p << 4; 539 hashval += *p++; 540 pp = &cmdtable[hashval % CMDTABLESIZE];
|
/freebsd-11-stable/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-11-stable/contrib/ncurses/ncurses/tty/ |
H A D | hashmap.c | 335 unsigned long hashval = oldhash(SP_PARM)[i]; local 337 for (hsp = hashtab(SP_PARM); hsp->hashval; hsp++) 338 if (hsp->hashval == hashval) 340 hsp->hashval = hashval; /* in case this is a new entry */ 345 unsigned long hashval = newhash(SP_PARM)[i]; local 347 for (hsp = hashtab(SP_PARM); hsp->hashval; hsp++) 348 if (hsp->hashval == hashval) [all...] |
/freebsd-11-stable/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-11-stable/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 | 754 * Histlist. The specified hashval matches the new Hist entry but has not yet 757 insertHistHashTable(struct Hist *np, unsigned hashval) argument 765 assert(hashval == np->Hhash); 772 ((hi = hash2tableIndex(hashval + rehashes, histHashTableLength)), 798 np->Hhash = hashval; 840 /* Search the history hash table for a command matching lp, using hashval as 843 findHistHashTable(struct wordent *lp, unsigned hashval) argument 846 unsigned hi = hashval; 854 else if (hp->Hhash == hashval && heq(lp, &(hp->Hlex))) 860 return findHistHashTable(lp, hashval); [all...] |
/freebsd-11-stable/sys/netpfil/ipfw/ |
H A D | ip_fw_dynamic.c | 135 uint32_t hashval; /* hash value used for hash resize */ member in struct:dyn_data 167 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); 1196 bucket = DYN_BUCKET(info->hashval, V_curr_dyn_buckets); 1264 const void *rule, uint32_t ruleid, uint16_t rulenum, uint32_t hashval) 1269 bucket = DYN_BUCKET(hashval, V_curr_dyn_buckets); 1344 info->hashval = hash_packet(&args->f_id); 1459 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 1263 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 1458 dyn_alloc_parent(void *parent, uint32_t ruleid, uint16_t rulenum, uint32_t hashval) argument 1484 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 1539 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 1592 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 1670 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 1723 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 1773 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 1871 uint32_t hashval, parent_hashval, ruleid, rulenum; local [all...] |
/freebsd-11-stable/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-11-stable/contrib/serf/auth/ |
H A D | auth_digest.c | 73 hex_encode(const unsigned char *hashval, argument 79 hexval[2 * i] = int_to_hex((hashval[i] >> 4) & 0xf); 80 hexval[2 * i + 1] = int_to_hex(hashval[i] & 0xf);
|
/freebsd-11-stable/sys/dev/liquidio/ |
H A D | lio_core.c | 280 uint32_t hashtype, hashval; local 283 hashval = htobe32(*(uint32_t *) 293 hashval = htobe32(*(uint32_t *) 304 mbuf->m_pkthdr.flowid = hashval;
|