Lines Matching refs:u16
108 void InitializeContext(u16 context = CRC16_STANDARD_INIT);
117 u16 GetHash();
130 static u16 Calculate(const void* input, size_t length, u16 context = CRC16_STANDARD_INIT);
134 static const u16 CRC16_STANDARD_POLY = 0xa001; // ビット反転するものは生成多項式も反転
137 static const u16 CRC16_STANDARD_INIT = 0;
140 typedef u16 Context;
145 u16 table[CRC_TABLE_SIZE];
156 void InitializeTable(u16 poly);
174 void InitializeContext(u16 context = CRC16_CCITT_INIT);
183 u16 GetHash();
196 static u16 Calculate(const void* input, size_t length, u16 context = CRC16_CCITT_INIT);
200 static const u16 CRC16_CCITT_POLY = 0x1021;
203 static const u16 CRC16_CCITT_INIT = 0xffff;
206 typedef u16 Context;
211 u16 table[CRC_TABLE_SIZE];
223 void InitializeTable(u16 poly);