Searched refs:hval (Results 1 - 19 of 19) sorted by relevance

/macosx-10.9.5/dtrace-118.1/libelf/
H A Dhash.c38 unsigned int hval = 0; local
42 hval = (hval << 4) + *ename++;
43 if ((g = (hval & 0xf0000000)) != 0)
44 hval ^= g >> 24;
45 hval &= ~g;
47 return ((unsigned long)hval);
/macosx-10.9.5/bash-92/bash-3.2/lib/intl/
H A Dhash-string.h42 unsigned long int hval, g; variable
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;
/macosx-10.9.5/cxxfilt-11/cxxfilt/intl/
H A Dhash-string.h42 unsigned long int hval, g; variable
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;
/macosx-10.9.5/postfix-252/postfix/src/bounce/
H A Dbounce_template.c270 char *hval; local
294 for (hval = cp + hlen; *hval && (*hval == ':' || ISSPACE(*hval)); hval++)
295 *hval = 0;
296 if (*hval == 0) {
302 if (!allascii(hval)) {
309 tp->mime_charset = hval;
[all...]
/macosx-10.9.5/ppp-727.90.1/Helpers/pppdump/
H A Dbsd-comp.c459 long hval, disp; local
483 hval = BSD_HASH(ent, c, hshift);
484 dictp = &db->dict[hval];
495 disp = (hval == 0) ? 1 : hval;
497 hval += disp;
498 if (hval >= db->hsize)
499 hval -= db->hsize;
500 dictp = &db->dict[hval];
523 dictp2->cptr = hval;
712 int hval, disp; local
[all...]
/macosx-10.9.5/syslog-217.1.4/syslogd.tproj/
H A Ddaemon.c807 char *p, *colon, *brace, *space, *tmp, *tval, *hval, *sval, *pval, *mval; local
819 hval = NULL;
910 hval = malloc(n + 1);
911 if (hval == NULL) return NULL;
913 memcpy(hval, p, n);
914 hval[n] = '\0';
1014 if (hval != NULL)
1016 asl_set(msg, ASL_KEY_HOST, hval);
1017 free(hval);
/macosx-10.9.5/ruby-104/ruby/
H A Dhash.c68 VALUE hval = rb_funcall(obj, id_hash, 0); local
70 switch (TYPE(hval)) {
72 return hval;
75 return LONG2FIX(((long*)(RBIGNUM_DIGITS(hval)))[0]);
78 hval = rb_to_int(hval);
86 VALUE hval; local
97 hval = rb_hash(a);
98 hnum = FIX2LONG(hval);
1798 st_index_t *hval local
1810 st_index_t hval; local
[all...]
H A Dst.c1227 register st_index_t hval = FNV1_32A_INIT; local
1234 hval ^= (unsigned int)*string++;
1237 hval *= FNV_32_PRIME;
1239 return hval;
1552 register st_index_t hval = FNV1_32A_INIT; local
1560 hval ^= c;
1563 hval *= FNV_32_PRIME;
1565 return hval;
H A Dcompile.c1337 VALUE hval = rb_hash(a); local
1338 return (st_index_t)FIX2LONG(hval);
H A Dstring.c2277 st_index_t hval = rb_str_hash(str); local
2278 return INT2FIX(hval);
/macosx-10.9.5/ntp-88/ntpq/
H A Dntpq.c3162 sockaddr_u hval; local
3241 if (!decodenetnum(value, &hval))
3244 output(fp, name, nntohost(&hval));
3246 output(fp, name, stoa(&hval));
3255 if (decodenetnum(value, &hval)) {
3256 if (ISREFCLOCKADR(&hval))
3258 refnumtoa(&hval));
3260 output(fp, name, stoa(&hval));
/macosx-10.9.5/xnu-2422.115.4/bsd/dev/dtrace/
H A Dfasttrap.c266 uint_t hval = 0; local
269 hval = (hval << 4) + *p++;
270 if ((g = (hval & 0xf0000000)) != 0)
271 hval ^= g >> 24;
272 hval &= ~g;
274 return (hval);
H A Ddtrace.c7246 uint_t hval = 0;
7249 hval = (hval << 4) + *p++;
7250 if ((g = (hval & 0xf0000000)) != 0)
7251 hval ^= g >> 24;
7252 hval &= ~g;
7254 return (hval);
7545 int hval = dtrace_hash_str((char *)str) % DTRACE_ERRHASHSZ;
7547 int hval = dtrace_hash_str(str) % DTRACE_ERRHASHSZ;
7560 if (dtrace_errhash[hval]
[all...]
/macosx-10.9.5/BerkeleyDB-21/db/hash/
H A Dhash_verify.c740 u_int32_t hval, bucket; local
764 hval = hfunc(dbp, dbt.data, dbt.size);
766 bucket = hval & m->high_mask;
/macosx-10.9.5/emacs-92/emacs/lib-src/
H A Detags.c2550 register int hval = len;
2552 switch (hval)
2555 hval += asso_values[(unsigned char)str[2]];
2558 hval += asso_values[(unsigned char)str[1]];
2561 return hval;
2542 register int hval = len; local
/macosx-10.9.5/cxxfilt-11/cxxfilt/bfd/
H A Dxcofflink.c5159 bfd_vma hval;
5194 hval = 0;
5200 hval = h->root.u.def.value;
5205 hval = 0;
5212 + hval);
5153 bfd_vma hval; local
/macosx-10.9.5/smb-697.95.1/kernel/smbfs/
H A Dsmbfs_node.c73 #define SMBFS_NOHASH(smp, hval) (&(smp)->sm_hash[(hval) & (smp)->sm_hashlen])
/macosx-10.9.5/BerkeleyDB-21/db/tcl/
H A Dtcl_db_pkg.c3693 int result, hval; local
3708 result = Tcl_GetIntFromObj(interp, Tcl_GetObjResult(interp), &hval);
3713 return ((u_int32_t)hval);
/macosx-10.9.5/mDNSResponder-522.92.1/mDNSCore/
H A DmDNS.c9526 mDNSs8 hval = 0; local
9532 hval = HexVal(*ptr);
9533 if (hval != -1)
9536 val |= hval;
9556 int hval; local
9573 hval = HexVal(*ptr);
9574 if (hval != -1)
9577 value |= hval;

Completed in 532 milliseconds