Home
last modified time | relevance | path

Searched refs:hv (Results 1 – 25 of 31) sorted by relevance

12

/illumos-gate/usr/src/cmd/mandoc/
H A Dcompat_ohash.c36 uint32_t hv; member
116 n[i].hv = h->t[j].hv; in ohash_resize()
233 uint32_t hv) in ohash_lookup_interval() argument
242 i = hv % h->size; in ohash_lookup_interval()
251 } else if (h->t[i].hv == hv && in ohash_lookup_interval()
256 h->t[empty].hv = hv; in ohash_lookup_interval()
275 h->t[i].hv = hv; in ohash_lookup_interval()
298 } else if (h->t[i].hv == hv && in ohash_lookup_memory()
301 h->t[empty].hv = hv; in ohash_lookup_memory()
319 h->t[i].hv = hv; in ohash_lookup_memory()
[all …]
H A Dmandoc_xr.c70 uint32_t hv; in mandoc_xr_add() local
89 hv = ohash_interval(xr->hashkey, &pend); in mandoc_xr_add()
90 slot = ohash_lookup_memory(xr_hash, xr->hashkey, tsz, hv); in mandoc_xr_add()
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dratectrl.c227 unsigned int hv; local
235 hv = 0xABC3D20F;
278 hv = (hv << 5) ^ (hv >> 23) ^ *p;
279 hv = (hv ^ (hv >> 16));
285 hv += (c<<11) ^ (c>>1);
286 hv ^= (d<<14) + (d<<7) + (d<<4) + d;
290 hv = (hv << 4) + *p;
291 d = hv & 0xf0000000;
294 hv ^= (d >> 24);
295 hv ^= d;
[all …]
/illumos-gate/usr/src/uts/common/inet/ipf/
H A Dip_state.c809 u_int hv; local
1398 hv = DOUBLE_HASH(hv, ifs);
2379 u_int hv; local
2503 hv = DOUBLE_HASH(hv, ifs);
2557 hv += dport;
2559 hv = DOUBLE_HASH(hv, ifs);
2617 u_int hv;
2794 hv = DOUBLE_HASH(hv, ifs);
4032 u_int hv; local
4099 hv = DOUBLE_HASH(hv, ifs);
[all …]
H A Dip_nat6.c143 u_int hv; local
156 n->in_hv = hv;
176 u_int hv; local
189 n->in_hv = hv;
215 u_int hv; local
1487 u_int hv; local
1594 hv = NAT_HASH_FN6(src, hv, ifs->ifs_ipf_nattable_sz);
1661 u_int hv; local
1683 hv = NAT_HASH_FN6(&nat->nat_oip6, hv + nat->nat_oport,
1741 u_int hv; local
[all …]
H A Dip_htable.c302 u_int hv; local
313 hv = IPE_HASH_FN(sum4((uint32_t *)ipe->ipe_addr.in6_addr8),
331 ipe->ipe_next = iph->iph_table[hv];
332 ipe->ipe_pnext = iph->iph_table + hv;
334 if (iph->iph_table[hv] != NULL)
335 iph->iph_table[hv]->ipe_pnext = &ipe->ipe_next;
336 iph->iph_table[hv] = ipe;
525 u_int hv; local
531 hv = IPE_HASH_FN(ips, msk, iph->iph_size);
564 u_int hv; local
[all …]
H A Dip_nat.c315 u_int hv; local
328 n->in_hv = hv;
348 u_int hv; local
361 n->in_hv = hv;
421 u_int hv; local
3276 u_int hv; local
3381 hv = NAT_HASH_FN(src.s_addr, hv, ifs->ifs_ipf_nattable_sz);
3448 u_int hv; local
3470 hv = NAT_HASH_FN(nat->nat_oip.s_addr, hv + nat->nat_oport,
3482 hv = NAT_HASH_FN(nat->nat_oip.s_addr, hv + nat->nat_oport,
[all …]
/illumos-gate/usr/src/cmd/ipf/lib/common/
H A Dprinthostmap.c3 void printhostmap(hmp, hv) in printhostmap() argument
5 u_int hv;
10 printf("(use = %d hv = %u)\n", hmp->hm_ref, hv);
/illumos-gate/usr/src/uts/common/fs/sockfs/
H A Dnl7curi.h154 #define CHASH(hv, c) (hv) = ((hv) << 5) + (hv) + c; (hv) &= 0x7FFFFFFF argument
H A Dnl7curi.c254 #define URI_HASH(hv, cp, ep) { \ argument
262 CHASH(hv, _c); \
1936 uint32_t hv = 0; in nl7c_parse() local
2000 CHASH(hv, c); in nl7c_parse()
2013 uri->hvalue = hv; in nl7c_parse()
H A Dnl7chttp.c729 uint32_t hv; /* hash value */ in ttree_line_parse() local
732 hv = *hash; in ttree_line_parse()
830 CHASH(hv, ca); in ttree_line_parse()
845 *hash = hv; in ttree_line_parse()
/illumos-gate/usr/src/cmd/ipf/tools/
H A Dipnat.c359 uint_t hv; in showhostmap() local
375 for (hv = 0; hv < nsp->ns_hostmap_sz; hv++) { in showhostmap()
376 hmp = maptable[hv]; in showhostmap()
384 printhostmap(&hm, hv); in showhostmap()
/illumos-gate/usr/src/lib/libpkg/common/
H A Dnhash.c57 int hv = 0; in HASH() local
67 hv += ((int)*cp++); in HASH()
72 return (hv % hsz); in HASH()
/illumos-gate/usr/src/lib/libm/common/complex/
H A Dcpowf.c58 int ix, iy, hx, hy, hv, hu, iu, iv, j; in cpowf() local
67 hv = THE_WORD(v); in cpowf()
71 iv = hv & 0x7fffffff; in cpowf()
H A Dcpow.c156 int ix, iy, hx, lx, hy, ly, hv, hu, iu, iv, lu, lv; in cpow() local
169 hv = ((int *) &v)[HIWORD]; in cpow()
174 iv = hv & 0x7fffffff; in cpow()
H A Dcpowl.c111 int ix, iy, hx, hy, hv, hu, iu, iv, i, j, k; in cpowl() local
120 hv = HI_XWORD(v); in cpowl()
124 iv = hv & 0x7fffffff; in cpowl()
/illumos-gate/usr/src/lib/libc/port/i18n/
H A Dgettext_util.c317 uint32_t hv, hidx; in print_rev1_info() local
345 hv = get_hashid(ms, NULL); in print_rev1_info()
346 hidx = search_msg(p, ms, hv, m); in print_rev1_info()
364 hv = get_hashid(ms, NULL); in print_rev1_info()
365 hidx = search_msg(p, ms, hv, m); in print_rev1_info()
/illumos-gate/usr/src/uts/common/os/
H A Dlabelsys.c210 mod_hash_val_t hv; in tnrhtp_find() local
214 if (mod_hash_find(hash, (mod_hash_key_t)name, &hv) == 0) { in tnrhtp_find()
215 tpc = (tsol_tpc_t *)hv; in tnrhtp_find()
570 mod_hash_val_t hv; in tnrhtp_create() local
581 &hv) == 0) { in tnrhtp_create()
582 tsol_tpc_t *found_tpc = (tsol_tpc_t *)hv; in tnrhtp_create()
605 mod_hash_val_t hv; in tnrhtp_delete() local
609 if (mod_hash_find(tpc_name_hash, (mod_hash_key_t)tname, &hv) == 0) { in tnrhtp_delete()
610 tpc = (tsol_tpc_t *)hv; in tnrhtp_delete()
H A Dsunmdi.c2943 mod_hash_val_t hv; in i_mdi_pi_alloc() local
2982 path_instance = (uint_t)(intptr_t)hv; in i_mdi_pi_alloc()
3047 mod_hash_val_t hv; in mdi_pi_pathname_by_instance() local
3053 path = (char *)hv; in mdi_pi_pathname_by_instance()
3069 mod_hash_val_t hv; in mdi_pi_spathname_by_instance() local
3075 path = (char *)hv; in mdi_pi_spathname_by_instance()
8160 mod_hash_val_t hv; in lookup_vhcache_client() local
8178 (mod_hash_key_t)name_addr, &hv) == 0) { in lookup_vhcache_client()
8180 token->lt_cct = (mdi_vhcache_client_t *)hv; in lookup_vhcache_client()
8188 hv = NULL; in lookup_vhcache_client()
[all …]
H A Dzone.c3032 mod_hash_val_t hv; in zone_find_all_by_id() local
3038 (mod_hash_key_t)(uintptr_t)zoneid, &hv) == 0) in zone_find_all_by_id()
3039 zone = (zone_t *)hv; in zone_find_all_by_id()
3046 mod_hash_val_t hv; in zone_find_all_by_label() local
3056 if (mod_hash_find(zonehashbylabel, (mod_hash_key_t)label, &hv) == 0) in zone_find_all_by_label()
3057 zone = (zone_t *)hv; in zone_find_all_by_label()
3064 mod_hash_val_t hv; in zone_find_all_by_name() local
3069 if (mod_hash_find(zonehashbyname, (mod_hash_key_t)name, &hv) == 0) in zone_find_all_by_name()
3070 zone = (zone_t *)hv; in zone_find_all_by_name()
/illumos-gate/usr/src/tools/scripts/
H A Delfcmp.sh79 dump -hv "$1" | grep '\[[0-9]' | awk '$3 ~ /A/ {print $4, $5, $6, $7}'
/illumos-gate/usr/src/data/terminfo/
H A DMakefile83 $(EGREP) -hv '^(#|$$)' $(TERMCAPSRC) $(EXTRATC) > $@
/illumos-gate/usr/src/uts/common/crypto/core/
H A Dkcf_mech_tabs.c149 mod_hash_val_t hv; in kcf_mech_hash_find() local
153 if (mod_hash_find(kcf_mech_hash, (mod_hash_key_t)mechname, &hv) == 0) { in kcf_mech_hash_find()
154 mt = *(crypto_mech_type_t *)hv; in kcf_mech_hash_find()
/illumos-gate/usr/src/lib/brand/solaris10/zone/
H A Dp2v.ksh381 for i in $(/usr/bin/egrep -hv "^#" \
429 for i in $(/usr/bin/egrep -hv "^#" /usr/lib/brand/solaris10/pkgrm.lst \
/illumos-gate/usr/src/cmd/sendmail/libmilter/
H A Dengine.c1369 char *hf, *hv; local
1377 if (dec_arg2(g->a_buf, g->a_len, &hf, &hv) == MI_SUCCESS)
1378 return (*fi_header)(g->a_ctx, hf, hv);

12