Lines Matching refs:tableBase
540 static void LZ4_putIndexOnHash(U32 idx, U32 h, void* tableBase, tableType_t const tableType) in LZ4_putIndexOnHash() argument
547 case byU32: { U32* hashTable = (U32*) tableBase; hashTable[h] = idx; return; } in LZ4_putIndexOnHash()
548 …case byU16: { U16* hashTable = (U16*) tableBase; assert(idx < 65536); hashTable[h] = (U16)idx; ret… in LZ4_putIndexOnHash()
553 void* tableBase, tableType_t const tableType, in LZ4_putPositionOnHash() argument
559 case byPtr: { const BYTE** hashTable = (const BYTE**)tableBase; hashTable[h] = p; return; } in LZ4_putPositionOnHash()
560 case byU32: { U32* hashTable = (U32*) tableBase; hashTable[h] = (U32)(p-srcBase); return; } in LZ4_putPositionOnHash()
561 case byU16: { U16* hashTable = (U16*) tableBase; hashTable[h] = (U16)(p-srcBase); return; } in LZ4_putPositionOnHash()
565 LZ4_FORCE_INLINE void LZ4_putPosition(const BYTE* p, void* tableBase, tableType_t tableType, const … in LZ4_putPosition() argument
568 LZ4_putPositionOnHash(p, h, tableBase, tableType, srcBase); in LZ4_putPosition()
577 static U32 LZ4_getIndexOnHash(U32 h, const void* tableBase, tableType_t tableType) in LZ4_getIndexOnHash() argument
581 const U32* const hashTable = (const U32*) tableBase; in LZ4_getIndexOnHash()
586 const U16* const hashTable = (const U16*) tableBase; in LZ4_getIndexOnHash()
593 static const BYTE* LZ4_getPositionOnHash(U32 h, const void* tableBase, tableType_t tableType, const… in LZ4_getPositionOnHash() argument
595 …if (tableType == byPtr) { const BYTE* const* hashTable = (const BYTE* const*) tableBase; return ha… in LZ4_getPositionOnHash()
596 …if (tableType == byU32) { const U32* const hashTable = (const U32*) tableBase; return hashTable[h]… in LZ4_getPositionOnHash()
597 …{ const U16* const hashTable = (const U16*) tableBase; return hashTable[h] + srcBase; } /* defau… in LZ4_getPositionOnHash()
601 const void* tableBase, tableType_t tableType, in LZ4_getPosition() argument
605 return LZ4_getPositionOnHash(h, tableBase, tableType, srcBase); in LZ4_getPosition()