Lines Matching refs:U16
140 typedef uint16_t U16; typedef
147 typedef unsigned short U16; typedef
173 static U16 LZ4_read16(const void* memPtr) { return *(const U16*) memPtr; } in LZ4_read16()
177 static void LZ4_write16(void* memPtr, U16 value) { *(U16*)memPtr = value; } in LZ4_write16()
184 typedef union { U16 u16; U32 u32; reg_t uArch; } __attribute__((packed)) unalign;
186 static U16 LZ4_read16(const void* ptr) { return ((const unalign*)ptr)->u16; } in LZ4_read16()
190 static void LZ4_write16(void* memPtr, U16 value) { ((unalign*)memPtr)->u16 = value; } in LZ4_write16()
195 static U16 LZ4_read16(const void* memPtr) in LZ4_read16()
197 U16 val; memcpy(&val, memPtr, sizeof(val)); return val; in LZ4_read16()
210 static void LZ4_write16(void* memPtr, U16 value) in LZ4_write16()
223 static U16 LZ4_readLE16(const void* memPtr) in LZ4_readLE16()
229 return (U16)((U16)p[0] + (p[1]<<8)); in LZ4_readLE16()
233 static void LZ4_writeLE16(void* memPtr, U16 value) in LZ4_writeLE16()
433 case byU16: { U16* hashTable = (U16*) tableBase; hashTable[h] = (U16)(p-srcBase); return; } in LZ4_putPositionOnHash()
447 …{ const U16* const hashTable = (U16*) tableBase; return hashTable[h] + srcBase; } /* default, to… in LZ4_getPositionOnHash()
572 LZ4_writeLE16(op, (U16)(ip-match)); op+=2; in LZ4_compress_generic()
809 LZ4_writeLE16(op, (U16)(ip-match)); op+=2; in LZ4_compress_destSize_generic()