Lines Matching refs:k1
122 #define doblock128x86(h1, h2, h3, h4, k1, k2, k3,k4)\ argument
124 k1 *= kC1; k1 = ROTL32(k1,15); k1 *= kC2; h1 ^= k1;\
143 #define dobytes128x86(cnt, h1, h2, h3, h4, k1, k2, k3, k4, n, ptr, len)\ argument
149 k1 = k1>>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
185 k1 = pcarry[0] >> (4-n)*8; in PMurHash128x86_Result()
211 k1 = pcarry[0]; in PMurHash128x86_Result()
213 k1 *= kC1; k1 = ROTL32(k1,15); k1 *= kC2; h1 ^= k1; in PMurHash128x86_Result()
250 uint32_t k1 = pcarry[0]; in PMurHash128x86_Process() local
267 dobytes128x86(i, h1, h2, h3, h4, k1, k2, k3, k4, n, ptr, len); in PMurHash128x86_Process()
273 k1 = READ_UINT32(ptr, 0); 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()
295 k1 = READ_UINT32(ptr, 0); in PMurHash128x86_Process()
299 doblock128x86(h1, h2, h3, h4, k1, k2, k3, k4); in PMurHash128x86_Process()
307 uint32_t c = k1>>rshift; // --10 in PMurHash128x86_Process()
310 k1 = READ_UINT32(ptr, 1); // 9876 in PMurHash128x86_Process()
311 k2 = k1<<lshift | k2>>rshift; // 7654. in PMurHash128x86_Process()
313 k3 = k4<<lshift | k1>>rshift; // ba98. in PMurHash128x86_Process()
314 k1 = READ_UINT32(ptr, 3); // hgfe. in PMurHash128x86_Process()
315 k4 = k1<<lshift | k4>>rshift; // fedc. in PMurHash128x86_Process()
326 doblock128x86(h1, h2, h3, h4, k1, k2, k3, k4); in PMurHash128x86_Process()
327 k1 = READ_UINT32(ptr, 3); in PMurHash128x86_Process()
342 doblock128x86(h1, h2, h3, h4, k1, c, k3, k4); in PMurHash128x86_Process()
343 k1 = k2>>rshift; // --hg in PMurHash128x86_Process()
345 k1 |= k2<<lshift; // jihg. in PMurHash128x86_Process()
353 doblock128x86(h1, h2, h3, h4, k1, k2, k3, k4); in PMurHash128x86_Process()
354 k1 = READ_UINT32(ptr, 2); in PMurHash128x86_Process()
368 doblock128x86(h1, h2, h3, h4, k1, k2, c, k4); in PMurHash128x86_Process()
370 k1 = k2<<lshift | k3>>rshift; // jihg. in PMurHash128x86_Process()
379 doblock128x86(h1, h2, h3, h4, k1, k2, k3, k4); in PMurHash128x86_Process()
380 k1 = READ_UINT32(ptr, 1); in PMurHash128x86_Process()
393 doblock128x86(h1, h2, h3, h4, k1, k2, k3, c); in PMurHash128x86_Process()
395 k1 = k3<<lshift | k4>>rshift; // jihg. in PMurHash128x86_Process()
409 dobytes128x86(len, h1, h2, h3, h4, k1, k2, k3, k4, n, ptr, len); in PMurHash128x86_Process()
416 pcarry[0] = k1; in PMurHash128x86_Process()
446 #define doblock128x64(h1, h2, k1, k2)\ argument
448 k1 *= kC1L; k1 = ROTL64(k1,31); k1 *= kC2L; h1 ^= k1;\
459 #define dobytes128x64(cnt, h1, h2, k1, k2, n, ptr, len) \ argument
466 k1 = k1>>8 | (uint64_t)*ptr++<<56;\
476 doblock128x64(h1, h2, k1, k2);\
489 uint64_t k1; in PMurHash128x64_Result() local
494 k1 = pcarry[0]; in PMurHash128x64_Result()
499 k1 >>= (8-n)*8; in PMurHash128x64_Result()
501 k1 *= kC1L; k1 = ROTL64(k1,31); k1 *= kC2L; h1 ^= k1; in PMurHash128x64_Result()
531 uint64_t k1 = pcarry[0]; in PMurHash128x64_Process() local
546 dobytes128x64(i, h1, h2, k1, k2, n, ptr, len); in PMurHash128x64_Process()
552 k1 = READ_UINT64(ptr, 0); 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()
572 k1 = READ_UINT64(ptr, 0); in PMurHash128x64_Process()
574 doblock128x64(h1, h2, k1, k2); in PMurHash128x64_Process()
582 uint64_t c = k1>>rshift; in PMurHash128x64_Process()
585 k1 = READ_UINT64(ptr, 1); in PMurHash128x64_Process()
586 k2 = k2>>rshift | k1<<lshift; in PMurHash128x64_Process()
595 doblock128x64(h1, h2, k1, k2); in PMurHash128x64_Process()
596 k1 = READ_UINT64(ptr, 1); in PMurHash128x64_Process()
607 doblock128x64(h1, h2, k1, c); in PMurHash128x64_Process()
608 k1 = k2 >> rshift; in PMurHash128x64_Process()
610 k1 |= k2 << lshift; in PMurHash128x64_Process()
620 dobytes128x64(len, h1, h2, k1, k2, n, ptr, len); in PMurHash128x64_Process()
625 pcarry[0] = k1; in PMurHash128x64_Process()