Searched refs:crc (Results 1 – 4 of 4) sorted by relevance
156 long crc = INITIALCRC; in crc64Long() local158 crc = sCrcTable[(((int) crc) ^ buffer[k]) & 0xff] ^ (crc >> 8); in crc64Long()160 return crc; in crc64Long()
209 uint32_t* crc = reinterpret_cast<uint32_t*>(buf + 4); in saveBlobCacheLocked() local210 *crc = crc32c(buf + headerSize, cacheSize); in saveBlobCacheLocked()269 uint32_t* crc = reinterpret_cast<uint32_t*>(buf + 4); in loadBlobCacheLocked() local270 if (crc32c(buf + headerSize, cacheSize) != *crc) { in loadBlobCacheLocked()
184 long crc = crc32.getValue(); in getCrcFromBytes() local187 result[offset] = (byte) (crc & 0xFF); in getCrcFromBytes()188 crc >>= 8; in getCrcFromBytes()
2101 int crc = 0xffffffff; in checkSanity() local2103 int index = ((crc >> 24) ^ (b & 0xff)) & 0xff; in checkSanity()2104 crc = CRC_TABLE[index] ^ (crc << 8); in checkSanity()2106 if (crc != 0) { in checkSanity()