Lines Matching refs:p
57 static uint32_t crc32_aarch64(uint32_t crc, char *p, size_t nr) { in crc32_aarch64() argument
59 crc = __crc32d(crc, *(uint64_t *)p); in crc32_aarch64()
60 p += sizeof(uint64_t); in crc32_aarch64()
64 crc = __crc32w(crc, *(uint32_t *)p); in crc32_aarch64()
65 p += sizeof(uint32_t); in crc32_aarch64()
69 crc = __crc32h(crc, *(uint16_t *)p); in crc32_aarch64()
70 p += sizeof(uint16_t); in crc32_aarch64()
74 crc = __crc32b(crc, *p); in crc32_aarch64()
86 char *p; in PHP_FUNCTION() local
92 Z_PARAM_STRING(p, nr) in PHP_FUNCTION()
99 crc = crc32_aarch64(crc, p, nr); in PHP_FUNCTION()
105 size_t nr_simd = crc32_x86_simd_update(X86_CRC32B, &crc, (const unsigned char *)p, nr); in PHP_FUNCTION()
107 p += nr_simd; in PHP_FUNCTION()
110 for (; nr--; ++p) { in PHP_FUNCTION()
111 crc = ((crc >> 8) & 0x00FFFFFF) ^ crc32tab[(crc ^ (*p)) & 0xFF ]; in PHP_FUNCTION()