/illumos-gate/usr/src/cmd/mandoc/ |
H A D | compat_ohash.c | 29 uint32_t hv; member 102 i = h->t[j].hv % ns; in ohash_resize() 103 incr = ((h->t[j].hv % (ns - 2)) & ~1) + 1; in ohash_resize() 109 n[i].hv = h->t[j].hv; in ohash_resize() 226 uint32_t hv) in ohash_lookup_interval() argument 235 i = hv % h->size; in ohash_lookup_interval() 236 incr = ((hv % (h->size-2)) & ~1) + 1; in ohash_lookup_interval() 244 } else if (h->t[i].hv == hv && in ohash_lookup_interval() 249 h->t[empty].hv = hv; in ohash_lookup_interval() 268 h->t[i].hv = hv; in ohash_lookup_interval() [all …]
|
H A D | mandoc_xr.c | 72 uint32_t hv; in mandoc_xr_add() local 91 hv = ohash_interval(xr->hashkey, &pend); in mandoc_xr_add() 92 slot = ohash_lookup_memory(xr_hash, xr->hashkey, tsz, hv); in mandoc_xr_add()
|
/illumos-gate/usr/src/cmd/sendmail/src/ |
H A D | ratectrl.c | 227 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 …]
|
H A D | milter.c | 2717 char *buf, *hv; local 2740 hv = h->h_value; 2742 hv = h->h_value + 1; 2744 len_t = len_f + strlen(hv) + 1; 2756 len_v = dequote_internal_chars(hv, buf + len_n + 1,
|
/illumos-gate/usr/src/uts/common/inet/ipf/ |
H A D | ip_state.c | 809 u_int hv; local 835 hv = is->is_hv % ifs->ifs_fr_statesize; 836 is->is_hv = hv; 855 if (ifs->ifs_ips_table[hv] != NULL) 856 ifs->ifs_ips_table[hv]->is_phnext = &is->is_hnext; 859 is->is_phnext = ifs->ifs_ips_table + hv; 860 is->is_hnext = ifs->ifs_ips_table[hv]; 861 ifs->ifs_ips_table[hv] = is; 862 ifs->ifs_ips_stats.iss_bucketlen[hv]++; 1120 u_int pass, hv; local [all …]
|
H A D | ip_nat6.c | 143 u_int hv; local 150 hv = NAT_HASH_FN6(&j, 0, ifs->ifs_ipf_rdrrules_sz); 151 np = ifs->ifs_rdr_rules + hv; 156 n->in_hv = hv; 176 u_int hv; local 183 hv = NAT_HASH_FN6(&j, 0, ifs->ifs_ipf_natrules_sz); 184 np = ifs->ifs_nat_rules + hv; 189 n->in_hv = hv; 215 u_int hv; local 217 hv = (src->i6[3] ^ dst->i6[3]); [all …]
|
H A D | ip_htable.c | 302 u_int hv; local 313 hv = IPE_HASH_FN(sum4((uint32_t *)ipe->ipe_addr.in6_addr8), 325 hv = IPE_HASH_FN(ipe->ipe_addr.in4_addr, ipe->ipe_mask.in4_addr, 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; 524 u_int hv; local 530 hv = IPE_HASH_FN(ips, msk, iph->iph_size); [all …]
|
H A D | ip_nat.c | 315 u_int hv; local 322 hv = NAT_HASH_FN(j, 0, ifs->ifs_ipf_rdrrules_sz); 323 np = ifs->ifs_rdr_rules + hv; 328 n->in_hv = hv; 348 u_int hv; local 355 hv = NAT_HASH_FN(j, 0, ifs->ifs_ipf_natrules_sz); 356 np = ifs->ifs_nat_rules + hv; 361 n->in_hv = hv; 421 u_int hv; local 423 hv = (src.s_addr ^ dst.s_addr); [all …]
|
/illumos-gate/usr/src/cmd/ipf/lib/ |
H A D | printhostmap.c | 3 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/boot/libsa/x86/ |
H A D | hypervisor.c | 40 } hv; in x86_hypervisor() member 50 return (u.hv.name); in x86_hypervisor()
|
/illumos-gate/usr/src/cmd/ipf/tools/ |
H A D | ipnat.c | 359 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 D | nhash.c | 57 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 D | cpowf.c | 58 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 D | cpow.c | 156 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 D | cpowl.c | 111 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 D | gettext_util.c | 317 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 D | labelsys.c | 208 mod_hash_val_t hv; in tnrhtp_find() local 212 if (mod_hash_find(hash, (mod_hash_key_t)name, &hv) == 0) { in tnrhtp_find() 213 tpc = (tsol_tpc_t *)hv; in tnrhtp_find() 568 mod_hash_val_t hv; in tnrhtp_create() local 579 &hv) == 0) { in tnrhtp_create() 580 tsol_tpc_t *found_tpc = (tsol_tpc_t *)hv; in tnrhtp_create() 603 mod_hash_val_t hv; in tnrhtp_delete() local 607 if (mod_hash_find(tpc_name_hash, (mod_hash_key_t)tname, &hv) == 0) { in tnrhtp_delete() 608 tpc = (tsol_tpc_t *)hv; in tnrhtp_delete()
|
H A D | sunmdi.c | 2933 mod_hash_val_t hv; in i_mdi_pi_alloc() local 2971 if (mod_hash_find(mdi_pathmap_bypath, (mod_hash_key_t)path, &hv) == 0) { in i_mdi_pi_alloc() 2972 path_instance = (uint_t)(intptr_t)hv; in i_mdi_pi_alloc() 3037 mod_hash_val_t hv; in mdi_pi_pathname_by_instance() local 3042 (mod_hash_key_t)(intptr_t)path_instance, &hv) == 0) in mdi_pi_pathname_by_instance() 3043 path = (char *)hv; in mdi_pi_pathname_by_instance() 3059 mod_hash_val_t hv; in mdi_pi_spathname_by_instance() local 3064 (mod_hash_key_t)(intptr_t)path_instance, &hv) == 0) in mdi_pi_spathname_by_instance() 3065 path = (char *)hv; in mdi_pi_spathname_by_instance() 8165 mod_hash_val_t hv; in lookup_vhcache_client() local [all …]
|
H A D | zone.c | 3047 mod_hash_val_t hv; in zone_find_all_by_id() local 3053 (mod_hash_key_t)(uintptr_t)zoneid, &hv) == 0) in zone_find_all_by_id() 3054 zone = (zone_t *)hv; in zone_find_all_by_id() 3061 mod_hash_val_t hv; in zone_find_all_by_label() local 3071 if (mod_hash_find(zonehashbylabel, (mod_hash_key_t)label, &hv) == 0) in zone_find_all_by_label() 3072 zone = (zone_t *)hv; in zone_find_all_by_label() 3079 mod_hash_val_t hv; in zone_find_all_by_name() local 3084 if (mod_hash_find(zonehashbyname, (mod_hash_key_t)name, &hv) == 0) in zone_find_all_by_name() 3085 zone = (zone_t *)hv; in zone_find_all_by_name()
|
/illumos-gate/usr/src/common/ficl/ |
H A D | loader.c | 442 const char *hv; in ficlIsvirtualizedQ() local 447 hv = (archsw.arch_hypervisor != NULL) in ficlIsvirtualizedQ() 451 hv = NULL; in ficlIsvirtualizedQ() 453 if (hv != NULL) { in ficlIsvirtualizedQ() 454 ficlStackPushPointer(ficlVmGetDataStack(pVM), (void *)hv); in ficlIsvirtualizedQ() 455 ficlStackPushInteger(ficlVmGetDataStack(pVM), strlen(hv)); in ficlIsvirtualizedQ()
|
/illumos-gate/usr/src/tools/scripts/ |
H A D | elfcmp.sh | 79 dump -hv "$1" | grep '\[[0-9]' | awk '$3 ~ /A/ {print $4, $5, $6, $7}'
|
/illumos-gate/usr/src/data/terminfo/ |
H A D | Makefile | 83 $(EGREP) -hv '^(#|$$)' $(TERMCAPSRC) $(EXTRATC) > $@
|
/illumos-gate/usr/src/uts/common/crypto/core/ |
H A D | kcf_mech_tabs.c | 149 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 D | p2v.ksh | 381 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 D | engine.c | 1369 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);
|