Lines Matching refs:ptr
79 #define READ_UINT64(ptr,i) getblock64((uint64_t *)ptr,i) argument
80 #define READ_UINT32(ptr,i) getblock32((uint32_t *)ptr,i) argument
143 #define dobytes128x86(cnt, h1, h2, h3, h4, k1, k2, k3, k4, n, ptr, len)\ argument
149 k1 = k1>>8 | (uint32_t)*ptr++<<24;\
153 k2 = k2>>8 | (uint32_t)*ptr++<<24;\
157 k3 = k3>>8 | (uint32_t)*ptr++<<24;\
161 k4 = k4>>8 | (uint32_t)*ptr++<<24;\
165 k4 = k4>>8 | (uint32_t)*ptr++<<24;\
255 const uint8_t *ptr = (uint8_t*)key; in PMurHash128x86_Process() local
267 dobytes128x86(i, h1, h2, h3, h4, k1, k2, k3, k4, n, ptr, len); in PMurHash128x86_Process()
271 end = ptr + (len & ~15); in PMurHash128x86_Process()
272 for( ; ptr < end ; ptr+=16) { in PMurHash128x86_Process()
273 k1 = READ_UINT32(ptr, 0); in PMurHash128x86_Process()
274 k2 = READ_UINT32(ptr, 1); in PMurHash128x86_Process()
275 k3 = READ_UINT32(ptr, 2); in PMurHash128x86_Process()
276 k4 = READ_UINT32(ptr, 3); in PMurHash128x86_Process()
284 int i = -(intptr_t)(void *)ptr & 3; in PMurHash128x86_Process()
286 dobytes128x86(i, h1, h2, h3, h4, k1, k2, k3, k4, n, ptr, len); in PMurHash128x86_Process()
289 end = ptr + (len & ~15); in PMurHash128x86_Process()
294 for( ; ptr < end ; ptr+=16) { in PMurHash128x86_Process()
295 k1 = READ_UINT32(ptr, 0); in PMurHash128x86_Process()
296 k2 = READ_UINT32(ptr, 1); in PMurHash128x86_Process()
297 k3 = READ_UINT32(ptr, 2); in PMurHash128x86_Process()
298 k4 = READ_UINT32(ptr, 3); in PMurHash128x86_Process()
306 for( ; ptr < end ; ptr+=16) { in PMurHash128x86_Process()
308 k2 = READ_UINT32(ptr, 0); // 5432 in PMurHash128x86_Process()
310 k1 = READ_UINT32(ptr, 1); // 9876 in PMurHash128x86_Process()
312 k4 = READ_UINT32(ptr, 2); // dcba in PMurHash128x86_Process()
314 k1 = READ_UINT32(ptr, 3); // hgfe. in PMurHash128x86_Process()
322 for( ; ptr < end ; ptr+=16) { in PMurHash128x86_Process()
323 k2 = READ_UINT32(ptr, 0); in PMurHash128x86_Process()
324 k3 = READ_UINT32(ptr, 1); in PMurHash128x86_Process()
325 k4 = READ_UINT32(ptr, 2); in PMurHash128x86_Process()
327 k1 = READ_UINT32(ptr, 3); in PMurHash128x86_Process()
334 for( ; ptr < end ; ptr+=16) { in PMurHash128x86_Process()
336 k3 = READ_UINT32(ptr, 0); // 9876 in PMurHash128x86_Process()
338 k4 = READ_UINT32(ptr, 1); // dcba in PMurHash128x86_Process()
340 k2 = READ_UINT32(ptr, 2); // hgfe in PMurHash128x86_Process()
344 k2 = READ_UINT32(ptr, 3); // lkji. in PMurHash128x86_Process()
350 for( ; ptr < end ; ptr+=16) { in PMurHash128x86_Process()
351 k3 = READ_UINT32(ptr, 0); in PMurHash128x86_Process()
352 k4 = READ_UINT32(ptr, 1); in PMurHash128x86_Process()
354 k1 = READ_UINT32(ptr, 2); in PMurHash128x86_Process()
355 k2 = READ_UINT32(ptr, 3); in PMurHash128x86_Process()
362 for( ; ptr < end ; ptr+=16) { in PMurHash128x86_Process()
364 k4 = READ_UINT32(ptr, 0); // dcba in PMurHash128x86_Process()
366 k3 = READ_UINT32(ptr, 1); // hgfe in PMurHash128x86_Process()
369 k2 = READ_UINT32(ptr, 2); // lkji in PMurHash128x86_Process()
371 k3 = READ_UINT32(ptr, 3); // ponm. in PMurHash128x86_Process()
377 for( ; ptr < end ; ptr+=16) { in PMurHash128x86_Process()
378 k4 = READ_UINT32(ptr, 0); in PMurHash128x86_Process()
380 k1 = READ_UINT32(ptr, 1); in PMurHash128x86_Process()
381 k2 = READ_UINT32(ptr, 2); in PMurHash128x86_Process()
382 k3 = READ_UINT32(ptr, 3); in PMurHash128x86_Process()
389 for( ; ptr < end ; ptr+=16) { in PMurHash128x86_Process()
391 k4 = READ_UINT32(ptr, 0); // hgfe in PMurHash128x86_Process()
394 k3 = READ_UINT32(ptr, 1); // lkji in PMurHash128x86_Process()
396 c = READ_UINT32(ptr, 2); // ponm in PMurHash128x86_Process()
398 k4 = READ_UINT32(ptr, 3); // tsrq. in PMurHash128x86_Process()
409 dobytes128x86(len, h1, h2, h3, h4, k1, k2, k3, k4, n, ptr, len); in PMurHash128x86_Process()
459 #define dobytes128x64(cnt, h1, h2, k1, k2, n, ptr, len) \ argument
466 k1 = k1>>8 | (uint64_t)*ptr++<<56;\
471 k2 = k2>>8 | (uint64_t)*ptr++<<56;\
475 k2 = k2>>8 | (uint64_t)*ptr++<<56;\
534 const uint8_t *ptr = (uint8_t*)key; in PMurHash128x64_Process() local
546 dobytes128x64(i, h1, h2, k1, k2, n, ptr, len); in PMurHash128x64_Process()
550 end = ptr + (len & ~15); in PMurHash128x64_Process()
551 for( ; ptr < end ; ptr+=16) { in PMurHash128x64_Process()
552 k1 = READ_UINT64(ptr, 0); in PMurHash128x64_Process()
553 k2 = READ_UINT64(ptr, 1); in PMurHash128x64_Process()
561 int i = -(intptr_t)(void *)ptr & 7; in PMurHash128x64_Process()
563 dobytes128x64(i, h1, h2, k1, k2, n, ptr, len); in PMurHash128x64_Process()
566 end = ptr + (len & ~15); in PMurHash128x64_Process()
571 for( ; ptr < end ; ptr+=16) { in PMurHash128x64_Process()
572 k1 = READ_UINT64(ptr, 0); in PMurHash128x64_Process()
573 k2 = READ_UINT64(ptr, 1); in PMurHash128x64_Process()
581 for( ; ptr < end ; ptr+=16) { in PMurHash128x64_Process()
583 k2 = READ_UINT64(ptr, 0); in PMurHash128x64_Process()
585 k1 = READ_UINT64(ptr, 1); in PMurHash128x64_Process()
593 for( ; ptr < end ; ptr+=16) { in PMurHash128x64_Process()
594 k2 = READ_UINT64(ptr, 0); in PMurHash128x64_Process()
596 k1 = READ_UINT64(ptr, 1); in PMurHash128x64_Process()
603 for( ; ptr < end ; ptr+=16) { in PMurHash128x64_Process()
605 k2 = READ_UINT64(ptr, 0); in PMurHash128x64_Process()
609 k2 = READ_UINT64(ptr, 1); in PMurHash128x64_Process()
620 dobytes128x64(len, h1, h2, k1, k2, n, ptr, len); in PMurHash128x64_Process()