Lines Matching refs:h1
122 #define doblock128x86(h1, h2, h3, h4, k1, k2, k3,k4)\ argument
124 k1 *= kC1; k1 = ROTL32(k1,15); k1 *= kC2; h1 ^= k1;\
126 h1 = ROTL32(h1,19); h1 += h2; h1 = h1*5+0x561ccd1b;\
138 h4 = ROTL32(h4,13); h4 += h1; h4 = h4*5+0x32ac3b17;\
143 #define dobytes128x86(cnt, h1, h2, h3, h4, k1, k2, k3, k4, n, ptr, len)\ argument
166 doblock128x86(h1, h2, h3, h4, k1, k2, k3, k4);\
175 uint32_t h1 = ph[0]; in PMurHash128x86_Result() local
213 k1 *= kC1; k1 = ROTL32(k1,15); k1 *= kC2; h1 ^= k1; in PMurHash128x86_Result()
219 h1 ^= total_length; h2 ^= total_length; in PMurHash128x86_Result()
222 h1 += h2; h1 += h3; h1 += h4; in PMurHash128x86_Result()
223 h2 += h1; h3 += h1; h4 += h1; in PMurHash128x86_Result()
225 h1 = fmix32(h1); in PMurHash128x86_Result()
230 h1 += h2; h1 += h3; h1 += h4; in PMurHash128x86_Result()
231 h2 += h1; h3 += h1; h4 += h1; in PMurHash128x86_Result()
233 out[0] = h1; in PMurHash128x86_Result()
245 uint32_t h1 = ph[0]; in PMurHash128x86_Process() local
267 dobytes128x86(i, h1, h2, h3, h4, k1, k2, k3, k4, n, ptr, len); in PMurHash128x86_Process()
277 doblock128x86(h1, h2, h3, h4, k1, k2, k3, k4); in PMurHash128x86_Process()
286 dobytes128x86(i, h1, h2, h3, h4, k1, k2, k3, k4, n, ptr, len); in PMurHash128x86_Process()
299 doblock128x86(h1, h2, h3, h4, k1, k2, k3, k4); in PMurHash128x86_Process()
316 doblock128x86(h1, h2, h3, h4, c, k2, k3, k4); in PMurHash128x86_Process()
326 doblock128x86(h1, h2, h3, h4, k1, k2, k3, k4); in PMurHash128x86_Process()
342 doblock128x86(h1, h2, h3, h4, k1, c, k3, k4); in PMurHash128x86_Process()
353 doblock128x86(h1, h2, h3, h4, k1, k2, k3, k4); in PMurHash128x86_Process()
368 doblock128x86(h1, h2, h3, h4, k1, k2, c, k4); in PMurHash128x86_Process()
379 doblock128x86(h1, h2, h3, h4, k1, k2, k3, k4); in PMurHash128x86_Process()
393 doblock128x86(h1, h2, h3, h4, k1, k2, k3, c); in PMurHash128x86_Process()
409 dobytes128x86(len, h1, h2, h3, h4, k1, k2, k3, k4, n, ptr, len); in PMurHash128x86_Process()
412 ph[0] = h1; in PMurHash128x86_Process()
446 #define doblock128x64(h1, h2, k1, k2)\ argument
448 k1 *= kC1L; k1 = ROTL64(k1,31); k1 *= kC2L; h1 ^= k1;\
450 h1 = ROTL64(h1,27); h1 += h2; h1 = h1*5+0x52dce729;\
454 h2 = ROTL64(h2,31); h2 += h1; h2 = h2*5+0x38495ab5;\
459 #define dobytes128x64(cnt, h1, h2, k1, k2, n, ptr, len) \ argument
476 doblock128x64(h1, h2, k1, k2);\
486 uint64_t h1 = ph[0]; in PMurHash128x64_Result() local
501 k1 *= kC1L; k1 = ROTL64(k1,31); k1 *= kC2L; h1 ^= k1; in PMurHash128x64_Result()
507 h1 ^= total_length; h2 ^= total_length; in PMurHash128x64_Result()
509 h1 += h2; in PMurHash128x64_Result()
510 h2 += h1; in PMurHash128x64_Result()
512 h1 = fmix64(h1); in PMurHash128x64_Result()
515 h1 += h2; in PMurHash128x64_Result()
516 h2 += h1; in PMurHash128x64_Result()
518 out[0] = h1; in PMurHash128x64_Result()
528 uint64_t h1 = ph[0]; in PMurHash128x64_Process() local
546 dobytes128x64(i, h1, h2, k1, k2, n, ptr, len); in PMurHash128x64_Process()
554 doblock128x64(h1, h2, k1, k2); in PMurHash128x64_Process()
563 dobytes128x64(i, h1, h2, k1, k2, n, ptr, len); in PMurHash128x64_Process()
574 doblock128x64(h1, h2, k1, k2); in PMurHash128x64_Process()
587 doblock128x64(h1, h2, c, k2); in PMurHash128x64_Process()
595 doblock128x64(h1, h2, k1, k2); in PMurHash128x64_Process()
607 doblock128x64(h1, h2, k1, c); in PMurHash128x64_Process()
620 dobytes128x64(len, h1, h2, k1, k2, n, ptr, len); in PMurHash128x64_Process()
623 ph[0] = h1; in PMurHash128x64_Process()