Lines Matching refs:k2
122 #define doblock128x86(h1, h2, h3, h4, k1, k2, k3,k4)\ argument
128 k2 *= kC2; k2 = ROTL32(k2,16); k2 *= kC3; h2 ^= k2;\
143 #define dobytes128x86(cnt, h1, h2, h3, h4, k1, k2, k3, k4, n, ptr, len)\ argument
153 k2 = k2>>8 | (uint32_t)*ptr++<<24;\
166 doblock128x86(h1, h2, h3, h4, k1, k2, k3, k4);\
180 uint32_t k1, k2, k3, k4 = pcarry[3]; in PMurHash128x86_Result() local
189 k2 = pcarry[1] >> (8-n)*8; in PMurHash128x86_Result()
208 k2 = pcarry[1]; in PMurHash128x86_Result()
210 k2 *= kC2; k2 = ROTL32(k2,16); k2 *= kC3; h2 ^= k2; in PMurHash128x86_Result()
251 uint32_t k2 = pcarry[1]; in PMurHash128x86_Process() local
267 dobytes128x86(i, h1, h2, h3, h4, k1, k2, k3, k4, n, ptr, len); in PMurHash128x86_Process()
274 k2 = READ_UINT32(ptr, 1); 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()
296 k2 = READ_UINT32(ptr, 1); in PMurHash128x86_Process()
299 doblock128x86(h1, h2, h3, h4, k1, k2, k3, k4); in PMurHash128x86_Process()
308 k2 = READ_UINT32(ptr, 0); // 5432 in PMurHash128x86_Process()
309 c |= k2<<lshift; // 3210. in PMurHash128x86_Process()
311 k2 = k1<<lshift | k2>>rshift; // 7654. in PMurHash128x86_Process()
316 doblock128x86(h1, h2, h3, h4, c, k2, k3, k4); in PMurHash128x86_Process()
323 k2 = READ_UINT32(ptr, 0); in PMurHash128x86_Process()
326 doblock128x86(h1, h2, h3, h4, k1, k2, k3, k4); in PMurHash128x86_Process()
335 uint32_t c = k2>>rshift; // --54 in PMurHash128x86_Process()
340 k2 = READ_UINT32(ptr, 2); // hgfe in PMurHash128x86_Process()
341 k4 = k2<<lshift | k4>>rshift; // fedc. in PMurHash128x86_Process()
343 k1 = k2>>rshift; // --hg in PMurHash128x86_Process()
344 k2 = READ_UINT32(ptr, 3); // lkji. in PMurHash128x86_Process()
345 k1 |= k2<<lshift; // jihg. in PMurHash128x86_Process()
353 doblock128x86(h1, h2, h3, h4, k1, k2, k3, k4); in PMurHash128x86_Process()
355 k2 = READ_UINT32(ptr, 3); in PMurHash128x86_Process()
368 doblock128x86(h1, h2, h3, h4, k1, k2, c, k4); in PMurHash128x86_Process()
369 k2 = READ_UINT32(ptr, 2); // lkji in PMurHash128x86_Process()
370 k1 = k2<<lshift | k3>>rshift; // jihg. in PMurHash128x86_Process()
372 k2 = k3<<lshift | k2>>rshift; // nmlk. in PMurHash128x86_Process()
379 doblock128x86(h1, h2, h3, h4, k1, k2, k3, k4); in PMurHash128x86_Process()
381 k2 = READ_UINT32(ptr, 2); in PMurHash128x86_Process()
393 doblock128x86(h1, h2, h3, h4, k1, k2, k3, c); in PMurHash128x86_Process()
397 k2 = c<<lshift | k3>>rshift; // nmlk. in PMurHash128x86_Process()
409 dobytes128x86(len, h1, h2, h3, h4, k1, k2, k3, k4, n, ptr, len); in PMurHash128x86_Process()
417 pcarry[1] = k2; in PMurHash128x86_Process()
446 #define doblock128x64(h1, h2, k1, k2)\ argument
452 k2 *= kC2L; k2 = ROTL64(k2,33); k2 *= kC1L; h2 ^= k2;\
459 #define dobytes128x64(cnt, h1, h2, k1, k2, n, ptr, len) \ argument
471 k2 = k2>>8 | (uint64_t)*ptr++<<56;\
475 k2 = k2>>8 | (uint64_t)*ptr++<<56;\
476 doblock128x64(h1, h2, k1, k2);\
490 uint64_t k2 = pcarry[1]; in PMurHash128x64_Result() local
492 int n = k2 & 15; in PMurHash128x64_Result()
496 k2 >>= (16-n)*8; in PMurHash128x64_Result()
497 k2 *= kC2L; k2 = ROTL64(k2,33); k2 *= kC1L; h2 ^= k2; in PMurHash128x64_Result()
532 uint64_t k2 = pcarry[1]; in PMurHash128x64_Process() local
538 int n = k2 & 15; in PMurHash128x64_Process()
546 dobytes128x64(i, h1, h2, k1, k2, n, ptr, len); in PMurHash128x64_Process()
553 k2 = READ_UINT64(ptr, 1); 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()
573 k2 = READ_UINT64(ptr, 1); in PMurHash128x64_Process()
574 doblock128x64(h1, h2, k1, k2); in PMurHash128x64_Process()
583 k2 = READ_UINT64(ptr, 0); in PMurHash128x64_Process()
584 c |= k2<<lshift; in PMurHash128x64_Process()
586 k2 = k2>>rshift | k1<<lshift; in PMurHash128x64_Process()
587 doblock128x64(h1, h2, c, k2); in PMurHash128x64_Process()
594 k2 = READ_UINT64(ptr, 0); in PMurHash128x64_Process()
595 doblock128x64(h1, h2, k1, k2); in PMurHash128x64_Process()
604 uint64_t c = k2 >> rshift; in PMurHash128x64_Process()
605 k2 = READ_UINT64(ptr, 0); in PMurHash128x64_Process()
606 c |= k2 << lshift; in PMurHash128x64_Process()
608 k1 = k2 >> rshift; in PMurHash128x64_Process()
609 k2 = READ_UINT64(ptr, 1); in PMurHash128x64_Process()
610 k1 |= k2 << lshift; in PMurHash128x64_Process()
620 dobytes128x64(len, h1, h2, k1, k2, n, ptr, len); in PMurHash128x64_Process()
626 pcarry[1] = (k2 & ~0xff) | n; in PMurHash128x64_Process()