Home
last modified time | relevance | path

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

/external/lz4/lib/
Dlz4.c459 typedef enum { clearedTable = 0, byPtr, byU32, byU16 } tableType_t; enumerator
517 if (tableType == byU16) in LZ4_hash4()
527 const U32 hashLog = (tableType == byU16) ? LZ4_HASHLOG+1 : LZ4_HASHLOG; in LZ4_hash5()
536 if ((sizeof(reg_t)==8) && (tableType != byU16)) return LZ4_hash5(LZ4_read_ARCH(p), tableType); in LZ4_hashPosition()
548 …case byU16: { U16* hashTable = (U16*) tableBase; assert(idx < 65536); hashTable[h] = (U16)idx; ret… in LZ4_putIndexOnHash()
561 case byU16: { U16* hashTable = (U16*) tableBase; hashTable[h] = (U16)(p-srcBase); return; } in LZ4_putPositionOnHash()
585 if (tableType == byU16) { in LZ4_getIndexOnHash()
618 || (tableType == byU16 && cctx->currentOffset + inputSize >= 0xFFFFU) in LZ4_prepareTable()
699 …if ((tableType == byU16) && (inputSize>=LZ4_64Klimit)) return 0; /* Size too large (not within 64… in LZ4_compress_generic()
797 … if ((tableType != byU16) && (matchIndex+MAX_DISTANCE < current)) continue; /* too far */ in LZ4_compress_generic()
[all …]