Lines Matching refs:byU16
459 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()
798 …if (tableType == byU16) assert((current - matchIndex) <= MAX_DISTANCE); /* too_far presumed im… in LZ4_compress_generic()
960 && ((tableType==byU16) ? 1 : (matchIndex+MAX_DISTANCE >= current)) in LZ4_compress_generic()
1017 …return LZ4_compress_generic(ctx, source, dest, inputSize, NULL, 0, notLimited, byU16, noDict, noDi… in LZ4_compress_fast_extState()
1024 …generic(ctx, source, dest, inputSize, NULL, maxOutputSize, limitedOutput, byU16, noDict, noDictIss… in LZ4_compress_fast_extState()
1048 const tableType_t tableType = byU16; in LZ4_compress_fast_extState_fastReset()
1062 const tableType_t tableType = byU16; in LZ4_compress_fast_extState_fastReset()
1111 …al_donotuse, source, dest, inputSize, NULL, maxOutputSize, limitedOutput, byU16, … in LZ4_compress_fast_force()
1128 …l_donotuse, src, dst, *srcSizePtr, srcSizePtr, targetDstSize, fillOutput, byU16, noDict, noDictIss… in LZ4_compress_destSize_extState()