Searched refs:g_CrcTable (Results 1 – 3 of 3) sorted by relevance
/external/lzma/C/ |
D | 7zCrc.c | 33 UInt32 g_CrcTable[256 * CRC_NUM_TABLES]; variable 37 return g_CrcUpdate(v, data, size, g_CrcTable); in CrcUpdate() 42 return g_CrcUpdate(CRC_INIT_VAL, data, size, g_CrcTable) ^ CRC_INIT_VAL; in CrcCalc() 65 g_CrcTable[i] = r; in CrcGenerateTable() 69 UInt32 r = g_CrcTable[(size_t)i - 256]; in CrcGenerateTable() 70 g_CrcTable[i] = g_CrcTable[r & 0xFF] ^ (r >> 8); in CrcGenerateTable() 114 UInt32 x = g_CrcTable[(size_t)i - 256]; in CrcGenerateTable() 115 g_CrcTable[i] = CRC_UINT32_SWAP(x); in CrcGenerateTable()
|
D | 7zCrc.h | 11 extern UInt32 g_CrcTable[]; 18 #define CRC_UPDATE_BYTE(crc, b) (g_CrcTable[((crc) ^ (b)) & 0xFF] ^ ((crc) >> 8))
|
/external/lzma/CPP/Common/ |
D | CrcReg.cpp | 89 _crc = _updateFunc(_crc, data, size, g_CrcTable); in STDMETHODIMP_()
|