Home
last modified time | relevance | path

Searched refs:g_CrcTable (Results 1 - 4 of 4) sorted by relevance

/third_party/lzma/C/
H A D7zCrc.c43 UInt32 g_CrcTable[256 * CRC_NUM_TABLES]; variable
47 return g_CrcUpdate(v, data, size, g_CrcTable); in CrcUpdate()
52 return g_CrcUpdate(CRC_INIT_VAL, data, size, g_CrcTable) ^ CRC_INIT_VAL; in CrcCalc()
124 const UInt32 *table = g_CrcTable; in __crc32b()
132 const UInt32 *table = g_CrcTable; in __crc32w()
143 const UInt32 *table = g_CrcTable; in __crc32d()
254 g_CrcTable[i] = r; in CrcGenerateTable()
258 const UInt32 r = g_CrcTable[(size_t)i - 256]; in CrcGenerateTable()
259 g_CrcTable[i] = g_CrcTable[ in CrcGenerateTable()
[all...]
H A D7zCrc.h11 extern UInt32 g_CrcTable[];
18 #define CRC_UPDATE_BYTE(crc, b) (g_CrcTable[((crc) ^ (b)) & 0xFF] ^ ((crc) >> 8))
/third_party/lzma/CPP/Common/
H A DCrcReg.cpp83 _crc = _updateFunc(_crc, data, size, g_CrcTable);
/third_party/lzma/CPP/7zip/UI/Common/
H A DBench.cpp1930 encoder.Salt = g_CrcTable[i & 0xFF];
1931 encoder.Salt ^= (g_CrcTable[(i >> 8) & 0xFF] << 3);
1932 // (g_CrcTable[0] == 0), and (encoder.Salt == 0) for first thread

Completed in 5 milliseconds