Home
last modified time | relevance | path

Searched refs:crc (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DUtils.java156 long crc = INITIALCRC; in crc64Long() local
158 crc = sCrcTable[(((int) crc) ^ buffer[k]) & 0xff] ^ (crc >> 8); in crc64Long()
160 return crc; in crc64Long()
/packages/modules/NeuralNetworks/driver/cache/nnCache/
DnnCache.cpp209 uint32_t* crc = reinterpret_cast<uint32_t*>(buf + 4); in saveBlobCacheLocked() local
210 *crc = crc32c(buf + headerSize, cacheSize); in saveBlobCacheLocked()
269 uint32_t* crc = reinterpret_cast<uint32_t*>(buf + 4); in loadBlobCacheLocked() local
270 if (crc32c(buf + headerSize, cacheSize) != *crc) { in loadBlobCacheLocked()
/packages/apps/TV/tuner/src/com/android/tv/tuner/hdhomerun/
DHdHomeRunUtils.java184 long crc = crc32.getValue(); in getCrcFromBytes() local
187 result[offset] = (byte) (crc & 0xFF); in getCrcFromBytes()
188 crc >>= 8; in getCrcFromBytes()
/packages/apps/TV/tuner/src/com/android/tv/tuner/data/
DSectionParser.java2101 int crc = 0xffffffff; in checkSanity() local
2103 int index = ((crc >> 24) ^ (b & 0xff)) & 0xff; in checkSanity()
2104 crc = CRC_TABLE[index] ^ (crc << 8); in checkSanity()
2106 if (crc != 0) { in checkSanity()