Home | History | Annotate | Download | only in legacy

Lines Matching refs:U16

85   typedef uint16_t U16;
93 typedef unsigned short U16;
115 MEM_STATIC U16 MEM_read16(const void* memPtr)
117 U16 val; memcpy(&val, memPtr, sizeof(val)); return val;
130 MEM_STATIC void MEM_write16(void* memPtr, U16 value)
135 MEM_STATIC U16 MEM_readLE16(const void* memPtr)
142 return (U16)(p[0] + (p[1]<<8));
146 MEM_STATIC void MEM_writeLE16(void* memPtr, U16 val)
614 const void* table; /* precise table may vary, depending on U16 */
639 U16 tableLog;
640 U16 fastMode;
1043 U16 symbolNext[FSE_MAX_SYMBOL_VALUE+1];
1055 DTableH.tableLog = (U16)tableLog;
1090 U16 nextState = symbolNext[symbol]++;
1092 tableDecode[i].newState = (U16) ( (nextState << tableDecode[i].nbBits) - tableSize);
1096 DTableH.fastMode = (U16)noLarge;
1264 DTableH->tableLog = (U16)nbBits;
1472 typedef struct { U16 sequence; BYTE nbBits; BYTE length; } HUF_DEltX4; /* double-symbols decoding */
1564 static size_t HUF_readDTableX2 (U16* DTable, const void* src, size_t srcSize)
1577 HUF_STATIC_ASSERT(sizeof(HUF_DEltX2) == sizeof(U16)); /* if compilation fails here, assertion is false */
1585 DTable[0] = (U16)tableLog; /* maybe should separate sizeof DTable, as allocated, from used size of DTable, in case of DTable re-use */
1659 const U16* DTable)
1776 U32 nbBitsBaseline, U16 baseSeq)
1807 MEM_writeLE16(&(DElt.sequence), (U16)(baseSeq + (symbol << 8)));
1833 const U16 symbol = sortedList[s].symbol;