| /netbsd/src/external/gpl3/gcc/dist/intl/ |
| D | hash-string.h | 42 unsigned long int hval, g; local 46 hval = 0; 49 hval <<= 4; 50 hval += (unsigned long int) *str++; 51 g = hval & ((unsigned long int) 0xf << (HASHWORDBITS - 4)); 54 hval ^= g >> (HASHWORDBITS - 8); 55 hval ^= g; 58 return hval;
|
| /netbsd/src/external/bsd/liblzf/dist/ |
| D | lzf_c.c | 126 unsigned int hval; in lzf_compress_r() local 142 hval = FRST (ip); in lzf_compress_r() 145 hval = NEXT (hval, ip); in lzf_compress_r() 146 hslot = htab + IDX (hval); in lzf_compress_r() 236 hval = FRST (ip); in lzf_compress_r() 238 hval = NEXT (hval, ip); in lzf_compress_r() 239 htab[IDX (hval)] = ip; in lzf_compress_r() 243 hval = NEXT (hval, ip); in lzf_compress_r() 244 htab[IDX (hval)] = ip; in lzf_compress_r() 252 hval = NEXT (hval, ip); in lzf_compress_r() [all …]
|
| /netbsd/src/external/bsd/liblzf/dist/cs/ |
| D | CLZF.cs | 169 UInt32 hval = FRST (in_data,iidx); in lzf_compress() 177 hval = NEXT (hval, in_data,iidx); in lzf_compress() 178 hslot = IDX (hval); in lzf_compress() 227 hval = FRST (in_data,iidx); in lzf_compress() 229 hval = NEXT (hval,in_data, iidx); in lzf_compress() 230 htab[IDX (hval)] = iidx; in lzf_compress() 233 hval = NEXT (hval, in_data,iidx); in lzf_compress() 234 htab[IDX (hval)] = iidx; in lzf_compress()
|
| /netbsd/src/crypto/external/bsd/libsaslc/dist/test/hash_tests/ |
| D | test_hash.c | 77 size_t hval; in hash() local 79 hval = hinit; in hash() 81 hval <<= shift; in hash() 82 hval += (size_t)*cp; in hash() 84 return hval % hsize; in hash() 91 size_t hval, i; in no_collision() local 97 hval = hash(keys[i], hsize, hinit, shift); in no_collision() 98 if (used[hval] != 0) { in no_collision() 102 used[hval] = keys[i]; in no_collision()
|
| /netbsd/src/sys/net/ |
| D | bsd-comp.c | 466 int hval, disp, ent, ilen; in bsd_compress() local 565 hval = BSD_HASH(ent, c, hshift); in bsd_compress() 566 dictp = &db->dict[hval]; in bsd_compress() 577 disp = (hval == 0) ? 1 : hval; in bsd_compress() 579 hval += disp; in bsd_compress() 580 if (hval >= db->hsize) in bsd_compress() 581 hval -= db->hsize; in bsd_compress() 582 dictp = &db->dict[hval]; in bsd_compress() 605 dictp2->cptr = hval; in bsd_compress() 675 uint32_t hval, disp; in bsd_incomp() local [all …]
|
| /netbsd/src/external/ibm-public/postfix/dist/src/bounce/ |
| D | bounce_template.c | 296 char *hval; in bounce_template_parse_buffer() local 324 for (hval = cp + hlen; *hval && (*hval == ':' || ISSPACE(*hval)); hval++) in bounce_template_parse_buffer() 325 *hval = 0; in bounce_template_parse_buffer() 326 if (*hval == 0) { in bounce_template_parse_buffer() 332 if (!allascii(hval)) { in bounce_template_parse_buffer() 339 tp->mime_charset = hval; in bounce_template_parse_buffer() 341 tp->std_from = tp->obs_from = hval; in bounce_template_parse_buffer() 343 tp->subject = hval; in bounce_template_parse_buffer() 351 tp->postmaster_subject = hval; in bounce_template_parse_buffer()
|
| /netbsd/src/sys/fs/adosfs/ |
| D | adlookup.c | 79 u_long bn, plen, hval; in adosfs_lookup() local 163 hval = adoshash(pelt, plen, adp->ntabent, IS_INTER(adp->amp)); in adosfs_lookup() 164 bn = adp->tab[hval]; in adosfs_lookup() 165 i = uimin(adp->tabi[hval], 0); in adosfs_lookup() 176 if (--i < adp->tabi[hval]) in adosfs_lookup() 177 adp->tabi[hval] = i; in adosfs_lookup() 184 if (i != adp->tabi[hval]) in adosfs_lookup() 187 adp->tabi[hval] = -adp->tabi[hval]; in adosfs_lookup()
|
| /netbsd/src/external/ibm-public/postfix/dist/src/util/ |
| D | hash_fnv.c | 171 HASH_FNV_T hval; in main() member 190 HASH_FNV_T hval; in main() local 195 if ((hval = hash_fnvz(tp->str)) != tp->hval) { in main() 197 tp->str, (unsigned long) tp->hval, in main() 198 (unsigned long) hval); in main()
|
| /netbsd/src/external/gpl3/gcc/dist/gcc/cp/ |
| D | cfns.h | 94 unsigned int hval = len; in hash() local 96 switch (hval) in hash() 99 hval += asso_values[static_cast<unsigned char>(str[5]+1)]; in hash() 102 hval += asso_values[static_cast<unsigned char>(str[4])]; in hash() 105 hval += asso_values[static_cast<unsigned char>(str[3])]; in hash() 108 hval += asso_values[static_cast<unsigned char>(str[2])]; in hash() 111 hval += asso_values[static_cast<unsigned char>(str[1]+1)]; in hash() 114 hval += asso_values[static_cast<unsigned char>(str[0])]; in hash() 117 return hval + asso_values[static_cast<unsigned char>(str[len - 1])]; in hash()
|
| /netbsd/src/crypto/external/bsd/libsaslc/dist/src/ |
| D | dict.c | 83 size_t hval; in saslc__dict_hashval() local 85 hval = HASH_INIT; in saslc__dict_hashval() 87 hval <<= HASH_SHIFT; in saslc__dict_hashval() 88 hval += (size_t)*cp; in saslc__dict_hashval() 90 return hval % HASH_SIZE; in saslc__dict_hashval()
|
| /netbsd/src/external/mit/xorg/lib/xcb-util/atom/ |
| D | atoms.c | 161 register int hval = len; local 163 switch (hval) 166 hval += asso_values[(unsigned char)str[8]]; 171 hval += asso_values[(unsigned char)str[5]]; 176 hval += asso_values[(unsigned char)str[2]]; 179 return hval + asso_values[(unsigned char)str[len - 1]];
|
| /netbsd/src/external/bsd/pcc/dist/pcc/arch/pdp10/ |
| D | local2.c | 255 CONSZ hval = (lval >> 35) & 03777777777LL; in gethval() local 257 if ((hval & 03000000000LL) == 03000000000LL) { in gethval() 258 hval |= 0777000000000LL; in gethval() 259 } else if ((hval & 03000000000LL) == 02000000000LL) { in gethval() 260 hval &= 01777777777LL; in gethval() 261 hval |= 0400000000000LL; in gethval() 263 return hval; in gethval() 675 CONSZ hval; in zzzcode() local 739 hval = gethval(p->n_lval); in zzzcode() 740 printf("[ .long 0%llo,0%llo", hval, in zzzcode() [all …]
|
| /netbsd/src/sys/dev/pci/ |
| D | if_xge.c | 198 uint32_t lval, hval; in pif_wcsr() local 201 hval = val>>32; in pif_wcsr() 203 bus_space_write_4(sc->sc_st, sc->sc_sh, csr+4, hval); in pif_wcsr() 219 uint32_t lval, hval; in txp_wcsr() local 222 hval = val>>32; in txp_wcsr() 224 bus_space_write_4(sc->sc_txt, sc->sc_txh, csr+4, hval); in txp_wcsr() 231 uint32_t lval, hval; in pif_wkey() local 234 hval = val>>32; in pif_wkey() 238 bus_space_write_4(sc->sc_st, sc->sc_sh, csr+4, hval); in pif_wkey()
|
| /netbsd/src/external/gpl3/gcc/dist/gcc/config/vax/ |
| D | vax.cc | 1295 unsigned HOST_WIDE_INT hval, lval; in vax_output_int_move() local 1304 hval = CONST_DOUBLE_HIGH (operands[1]) & 0xffffffff; in vax_output_int_move() 1309 hval = 0; in vax_output_int_move() 1325 if (HOST_BITS_PER_WIDE_INT == 32 && hval != 0) in vax_output_int_move() 1327 if (n <= 26 || hval >= ((unsigned)1 << (n - 26))) in vax_output_int_move() 1330 lval |= hval << (32 - n); in vax_output_int_move() 1343 else if (hval != 0 in vax_output_int_move() 1344 && (n = exact_log2 (hval & (- hval)) - 1) != -1 in vax_output_int_move() 1345 && (hval >> n) < 64) in vax_output_int_move() 1347 operands[1] = GEN_INT (hval >> n); in vax_output_int_move()
|
| /netbsd/src/external/ibm-public/postfix/dist/src/cleanup/ |
| D | cleanup.h | 150 #define HDRS_SEEN_MASK(hval) ((uint64_t) 1 << (hval)) argument
|
| /netbsd/src/external/bsd/ntp/dist/ntpq/ |
| D | ntpq.c | 3667 sockaddr_u hval; in cookedprint() local 3701 if (!value || !decodenetnum(value, &hval)) { in cookedprint() 3704 output(fp, name, nntohost(&hval)); in cookedprint() 3706 output(fp, name, stoa(&hval)); in cookedprint() 3713 } else if (decodenetnum(value, &hval)) { in cookedprint() 3714 if (datatype == TYPE_CLOCK && IS_IPV4(&hval)) { in cookedprint() 3721 … unsigned char *str = (unsigned char *)&(hval.sa4).sin_addr; in cookedprint() 3727 } else if (ISREFCLOCKADR(&hval)) { in cookedprint() 3728 output(fp, name, refnumtoa(&hval)); in cookedprint() 3731 output(fp, name, stoa(&hval)); in cookedprint() [all …]
|
| /netbsd/src/external/cddl/osnet/dist/uts/common/dtrace/ |
| D | fasttrap.c | 280 uint_t hval = 0; in fasttrap_hash_str() local 283 hval = (hval << 4) + *p++; in fasttrap_hash_str() 284 if ((g = (hval & 0xf0000000)) != 0) in fasttrap_hash_str() 285 hval ^= g >> 24; in fasttrap_hash_str() 286 hval &= ~g; in fasttrap_hash_str() 288 return (hval); in fasttrap_hash_str()
|
| D | dtrace.c | 8219 uint_t hval = 0; local 8222 hval = (hval << 4) + *p++; 8223 if ((g = (hval & 0xf0000000)) != 0) 8224 hval ^= g >> 24; 8225 hval &= ~g; 8227 return (hval); 8507 int hval = dtrace_hash_str(str) % DTRACE_ERRHASHSZ; local 8515 if (dtrace_errhash[hval].dter_msg == str) { 8516 dtrace_errhash[hval].dter_count++; 8520 if (dtrace_errhash[hval].dter_msg != NULL) { [all …]
|
| /netbsd/src/external/gpl3/gcc/dist/gcc/config/mcore/ |
| D | constraints.md | 84 (match_test "insn_const_int_ok_for_constraint (hval, CONSTRAINT_I)")
|
| /netbsd/src/external/gpl3/gcc/dist/gcc/config/frv/ |
| D | constraints.md | 146 (match_test "hval == 0 && lval == 0"))
|
| /netbsd/src/external/gpl3/gdb/dist/bfd/ |
| D | xcofflink.c | 6808 bfd_vma hval; in xcoff_reloc_link_order() local 6841 hval = h->root.u.def.value; in xcoff_reloc_link_order() 6843 hval = 0; in xcoff_reloc_link_order() 6849 + hval); in xcoff_reloc_link_order()
|
| /netbsd/src/external/gpl3/binutils/dist/bfd/ |
| D | xcofflink.c | 6802 bfd_vma hval; in xcoff_reloc_link_order() local 6835 hval = h->root.u.def.value; in xcoff_reloc_link_order() 6837 hval = 0; in xcoff_reloc_link_order() 6843 + hval); in xcoff_reloc_link_order()
|
| /netbsd/src/external/gpl3/gcc/dist/gcc/ |
| D | rtl.def | 1047 `hval' - CONST_DOUBLE_HIGH(op), if op is an integer CONST_DOUBLE. 1051 Do not use ival/hval/lval/rval if op is not the appropriate kind of
|
| /netbsd/src/external/apache2/mDNSResponder/dist/mDNSCore/ |
| D | mDNS.c | 12849 mDNSs8 hval = 0; in GetValueForMACAddr() local 12855 hval = HexVal(*ptr); in GetValueForMACAddr() 12856 if (hval != -1) in GetValueForMACAddr() 12859 val |= hval; in GetValueForMACAddr() 12884 int hval; in GetValueForIPv6Addr() local 12901 hval = HexVal(*ptr); in GetValueForIPv6Addr() 12902 if (hval != -1) in GetValueForIPv6Addr() 12905 value |= hval; in GetValueForIPv6Addr()
|
| /netbsd/src/external/gpl3/gcc/dist/gcc/doc/ |
| D | tm.texi.in | 8135 There is no equivalent to @code{hval} and @code{lval} for 8139 Most ports only check that @code{hval} is either 0 or -1 to see if the 8144 However, all the current code does is pass the hval and lval to C
|