Home
last modified time | relevance | path

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

/third_party/lz4/lib/
Dlz4.c696 typedef enum { clearedTable = 0, byPtr, byU32, byU16 } tableType_t; enumerator
758 if (tableType == byU16) in LZ4_hash4()
766 const U32 hashLog = (tableType == byU16) ? LZ4_HASHLOG+1 : LZ4_HASHLOG; in LZ4_hash5()
778 if ((sizeof(reg_t)==8) && (tableType != byU16)) return LZ4_hash5(LZ4_read_ARCH(p), tableType); in LZ4_hashPosition()
790 case byU16: { U16* hashTable = (U16*) tableBase; hashTable[h] = 0; return; } in LZ4_clearHash()
802 …case byU16: { U16* hashTable = (U16*) tableBase; assert(idx < 65536); hashTable[h] = (U16)idx; ret… in LZ4_putIndexOnHash()
815 case byU16: { U16* hashTable = (U16*) tableBase; hashTable[h] = (U16)(p-srcBase); return; } in LZ4_putPositionOnHash()
839 if (tableType == byU16) { in LZ4_getIndexOnHash()
874 || ((tableType == byU16) && cctx->currentOffset + (unsigned)inputSize >= 0xFFFFU) in LZ4_prepareTable()
963 …if ((tableType == byU16) && (inputSize>=LZ4_64Klimit)) { return 0; } /* Size too large (not withi… in LZ4_compress_generic_validated()
[all …]