Searched refs:ub4 (Results 1 – 2 of 2) sorted by relevance
1644 typedef uint32_t ub4; /* unsigned 4-byte quantities */ typedef1647 #define hashsize(n) ((ub4)1<<(n))1663 ub41666 register ub4 length; /* the length of the key */1667 register ub4 initval; /* the previous hash, or an arbitrary value */1669 register ub4 a, b, c, len;1679 a += (k[0] +((ub4)k[1]<<8) +((ub4)k[2]<<16) +((ub4)k[3]<<24));1680 b += (k[4] +((ub4)k[5]<<8) +((ub4)k[6]<<16) +((ub4)k[7]<<24));1681 c += (k[8] +((ub4)k[9]<<8) +((ub4)k[10]<<16)+((ub4)k[11]<<24));1694 c += ((ub4)k[10]<<24);[all …]
5005 typedef uint32_t ub4; /* unsigned 4-byte quantities */ typedef5008 #define hashsize(n) ((ub4)1<<(n))5024 ub45025 hash(ub1 *k, ub4 length, ub4 initval) in hash()5027 ub4 a, b, c, len; in hash()5036 a += (k[0] +((ub4)k[1]<<8) +((ub4)k[2]<<16) +((ub4)k[3]<<24)); in hash()5037 b += (k[4] +((ub4)k[5]<<8) +((ub4)k[6]<<16) +((ub4)k[7]<<24)); in hash()5038 c += (k[8] +((ub4)k[9]<<8) +((ub4)k[10]<<16)+((ub4)k[11]<<24)); in hash()5049 case 11: c += ((ub4)k[10]<<24); in hash()5051 case 10: c += ((ub4)k[9]<<16); in hash()[all …]