Home
last modified time | relevance | path

Searched refs:g_CrcTable (Results 1 – 3 of 3) sorted by relevance

/external/lzma/C/
D7zCrc.c29 UInt32 g_CrcTable[256 * CRC_NUM_TABLES]; variable
33 return g_CrcUpdate(v, data, size, g_CrcTable); in CrcUpdate()
38 return g_CrcUpdate(CRC_INIT_VAL, data, size, g_CrcTable) ^ CRC_INIT_VAL; in CrcCalc()
50 g_CrcTable[i] = r; in CrcGenerateTable()
54 UInt32 r = g_CrcTable[i - 256]; in CrcGenerateTable()
55 g_CrcTable[i] = g_CrcTable[r & 0xFF] ^ (r >> 8); in CrcGenerateTable()
78 UInt32 x = g_CrcTable[i - 256]; in CrcGenerateTable()
79 g_CrcTable[i] = CRC_UINT32_SWAP(x); in CrcGenerateTable()
D7zCrc.h11 extern UInt32 g_CrcTable[];
18 #define CRC_UPDATE_BYTE(crc, b) (g_CrcTable[((crc) ^ (b)) & 0xFF] ^ ((crc) >> 8))
/external/lzma/CPP/Common/
DCrcReg.cpp56 _crc = _updateFunc(_crc, data, size, g_CrcTable); in STDMETHODIMP_()