Lines Matching refs:cctx

1096 LZ4_prepareTable(LZ4_stream_t_internal *const cctx,  in LZ4_prepareTable()  argument
1104 if ((tableType_t)cctx->tableType != clearedTable) in LZ4_prepareTable()
1107 …pe_t)cctx->tableType != tableType || ((tableType == byU16) && cctx->currentOffset + (unsigned)inpu… in LZ4_prepareTable()
1109 DEBUGLOG(4, "LZ4_prepareTable: Resetting table in %p", cctx); in LZ4_prepareTable()
1110 MEM_INIT(cctx->hashTable, 0, LZ4_HASHTABLESIZE); in LZ4_prepareTable()
1111 cctx->currentOffset = 0; in LZ4_prepareTable()
1112 cctx->tableType = (U32)clearedTable; in LZ4_prepareTable()
1124 if (cctx->currentOffset != 0 && tableType == byU32) in LZ4_prepareTable()
1127 cctx->currentOffset += 64 KB; in LZ4_prepareTable()
1131 cctx->dictCtx = NULL; in LZ4_prepareTable()
1132 cctx->dictionary = NULL; in LZ4_prepareTable()
1133 cctx->dictSize = 0; in LZ4_prepareTable()
1143 LZ4_stream_t_internal *const cctx, in LZ4_compress_generic_validated() argument
1158 U32 const startIndex = cctx->currentOffset; in LZ4_compress_generic_validated()
1162 const LZ4_stream_t_internal *dictCtx = (const LZ4_stream_t_internal *)cctx->dictCtx; in LZ4_compress_generic_validated()
1164 dictDirective == usingDictCtx ? dictCtx->dictionary : cctx->dictionary; in LZ4_compress_generic_validated()
1166 dictDirective == usingDictCtx ? dictCtx->dictSize : cctx->dictSize; in LZ4_compress_generic_validated()
1211 cctx->dictCtx = NULL; in LZ4_compress_generic_validated()
1212 cctx->dictSize = (U32)inputSize; in LZ4_compress_generic_validated()
1216 cctx->dictSize += (U32)inputSize; in LZ4_compress_generic_validated()
1218 cctx->currentOffset += (U32)inputSize; in LZ4_compress_generic_validated()
1219 cctx->tableType = (U32)tableType; in LZ4_compress_generic_validated()
1225 LZ4_putPosition(ip, cctx->hashTable, tableType, base); in LZ4_compress_generic_validated()
1253 match = LZ4_getPositionOnHash(h, cctx->hashTable, tableType, base); in LZ4_compress_generic_validated()
1255 LZ4_putPositionOnHash(ip, h, cctx->hashTable, tableType, base); in LZ4_compress_generic_validated()
1269 U32 matchIndex = LZ4_getIndexOnHash(h, cctx->hashTable, tableType); in LZ4_compress_generic_validated()
1317 LZ4_putIndexOnHash(current, h, cctx->hashTable, tableType); in LZ4_compress_generic_validated()
1464 LZ4_clearHash(h, cctx->hashTable, tableType); in LZ4_compress_generic_validated()
1501 LZ4_putPosition(ip - 2, cctx->hashTable, tableType, base); in LZ4_compress_generic_validated()
1507 match = LZ4_getPosition(ip, cctx->hashTable, tableType, base); in LZ4_compress_generic_validated()
1508 LZ4_putPosition(ip, cctx->hashTable, tableType, base); in LZ4_compress_generic_validated()
1521 U32 matchIndex = LZ4_getIndexOnHash(h, cctx->hashTable, tableType); in LZ4_compress_generic_validated()
1556 LZ4_putIndexOnHash(current, h, cctx->hashTable, tableType); in LZ4_compress_generic_validated()
1627 LZ4_stream_t_internal *const cctx, in LZ4_compress_generic() argument
1663 return LZ4_compress_generic_validated(cctx, src, dst, srcSize, in LZ4_compress_generic()