Lines Matching defs:cctx

864 LZ4_prepareTable(LZ4_stream_t_internal* const cctx,
871 if ((tableType_t)cctx->tableType != clearedTable) {
873 if ((tableType_t)cctx->tableType != tableType
874 || ((tableType == byU16) && cctx->currentOffset + (unsigned)inputSize >= 0xFFFFU)
875 || ((tableType == byU32) && cctx->currentOffset > 1 GB)
879 DEBUGLOG(4, "LZ4_prepareTable: Resetting table in %p", cctx);
880 MEM_INIT(cctx->hashTable, 0, LZ4_HASHTABLESIZE);
881 cctx->currentOffset = 0;
882 cctx->tableType = (U32)clearedTable;
893 if (cctx->currentOffset != 0 && tableType == byU32) {
895 cctx->currentOffset += 64 KB;
899 cctx->dictCtx = NULL;
900 cctx->dictionary = NULL;
901 cctx->dictSize = 0;
911 LZ4_stream_t_internal* const cctx,
926 U32 const startIndex = cctx->currentOffset;
930 const LZ4_stream_t_internal* dictCtx = (const LZ4_stream_t_internal*) cctx->dictCtx;
932 dictDirective == usingDictCtx ? dictCtx->dictionary : cctx->dictionary;
934 dictDirective == usingDictCtx ? dictCtx->dictSize : cctx->dictSize;
973 cctx->dictCtx = NULL;
974 cctx->dictSize = (U32)inputSize;
976 cctx->dictSize += (U32)inputSize;
978 cctx->currentOffset += (U32)inputSize;
979 cctx->tableType = (U32)tableType;
984 LZ4_putPosition(ip, cctx->hashTable, tableType, base);
1007 match = LZ4_getPositionOnHash(h, cctx->hashTable, tableType, base);
1009 LZ4_putPositionOnHash(ip, h, cctx->hashTable, tableType, base);
1022 U32 matchIndex = LZ4_getIndexOnHash(h, cctx->hashTable, tableType);
1059 LZ4_putIndexOnHash(current, h, cctx->hashTable, tableType);
1176 LZ4_clearHash(h, cctx->hashTable, tableType);
1207 LZ4_putPosition(ip-2, cctx->hashTable, tableType, base);
1212 match = LZ4_getPosition(ip, cctx->hashTable, tableType, base);
1213 LZ4_putPosition(ip, cctx->hashTable, tableType, base);
1222 U32 matchIndex = LZ4_getIndexOnHash(h, cctx->hashTable, tableType);
1247 LZ4_putIndexOnHash(current, h, cctx->hashTable, tableType);
1309 LZ4_stream_t_internal* const cctx,
1339 return LZ4_compress_generic_validated(cctx, src, dst, srcSize,