Home
last modified time | relevance | path

Searched refs:byU16 (Results 1 – 1 of 1) sorted by relevance

/external/lz4/lib/
Dlz4.c573 typedef enum { clearedTable = 0, byPtr, byU32, byU16 } tableType_t; enumerator
633 if (tableType == byU16) in LZ4_hash4()
641 const U32 hashLog = (tableType == byU16) ? LZ4_HASHLOG+1 : LZ4_HASHLOG; in LZ4_hash5()
653 if ((sizeof(reg_t)==8) && (tableType != byU16)) return LZ4_hash5(LZ4_read_ARCH(p), tableType); in LZ4_hashPosition()
665 case byU16: { U16* hashTable = (U16*) tableBase; hashTable[h] = 0; return; } in LZ4_clearHash()
677 …case byU16: { U16* hashTable = (U16*) tableBase; assert(idx < 65536); hashTable[h] = (U16)idx; ret… in LZ4_putIndexOnHash()
690 case byU16: { U16* hashTable = (U16*) tableBase; hashTable[h] = (U16)(p-srcBase); return; } in LZ4_putPositionOnHash()
714 if (tableType == byU16) { in LZ4_getIndexOnHash()
758 || ((tableType == byU16) && cctx->currentOffset + (unsigned)inputSize >= 0xFFFFU) in LZ4_prepareTable()
841 …if ((tableType == byU16) && (inputSize>=LZ4_64Klimit)) { return 0; } /* Size too large (not withi… in LZ4_compress_generic()
[all …]