Lines Matching refs:buf
360 uint32_t ExtendImpl(uint32_t crc, const char* buf, size_t size) { in ExtendImpl() argument
362 const uint8_t *p = reinterpret_cast<const uint8_t *>(buf); in ExtendImpl()
448 uint32_t ExtendPPCImpl(uint32_t crc, const char *buf, size_t size) { in ExtendPPCImpl() argument
449 return crc32c_ppc(crc, (const unsigned char *)buf, size); in ExtendPPCImpl()
474 uint32_t ExtendARMImpl(uint32_t crc, const char *buf, size_t size) { in ExtendARMImpl() argument
475 return crc32c_arm64(crc, (const unsigned char *)buf, size); in ExtendARMImpl()
546 #define CRCtriplet(crc, buf, offset) \ argument
547 crc##0 = _mm_crc32_u64(crc##0, *(buf##0 + offset)); \
548 crc##1 = _mm_crc32_u64(crc##1, *(buf##1 + offset)); \
549 crc##2 = _mm_crc32_u64(crc##2, *(buf##2 + offset));
551 #define CRCduplet(crc, buf, offset) \ argument
552 crc##0 = _mm_crc32_u64(crc##0, *(buf##0 + offset)); \
553 crc##1 = _mm_crc32_u64(crc##1, *(buf##1 + offset));
555 #define CRCsinglet(crc, buf, offset) \ argument
556 crc = _mm_crc32_u64(crc, *(uint64_t*)(buf + offset));
687 uint32_t crc32c_3way(uint32_t crc, const char* buf, size_t len) { in crc32c_3way() argument
688 const unsigned char* next = (const unsigned char*)buf; in crc32c_3way()
1251 uint32_t Extend(uint32_t crc, const char* buf, size_t size) { in Extend() argument
1252 return ChosenExtend(crc, buf, size); in Extend()