Searched refs:ctxPtr (Results 1 – 2 of 2) sorted by relevance
/third_party/lz4/lib/ |
D | lz4hc.c | 859 static void LZ4HC_setExternalDict(LZ4HC_CCtx_internal* ctxPtr, const BYTE* newBlock); 1059 LZ4HC_CCtx_internal* const ctxPtr = &LZ4_streamHCPtr->internal_donotuse; in LZ4_loadDictHC() local 1067 { int const cLevel = ctxPtr->compressionLevel; in LZ4_loadDictHC() 1071 LZ4HC_init_internal (ctxPtr, (const BYTE*)dictionary); in LZ4_loadDictHC() 1072 ctxPtr->end = (const BYTE*)dictionary + dictSize; in LZ4_loadDictHC() 1073 if (dictSize >= 4) LZ4HC_Insert (ctxPtr, ctxPtr->end-3); in LZ4_loadDictHC() 1083 static void LZ4HC_setExternalDict(LZ4HC_CCtx_internal* ctxPtr, const BYTE* newBlock) in LZ4HC_setExternalDict() argument 1085 DEBUGLOG(4, "LZ4HC_setExternalDict(%p, %p)", ctxPtr, newBlock); in LZ4HC_setExternalDict() 1086 if (ctxPtr->end >= ctxPtr->base + ctxPtr->dictLimit + 4) in LZ4HC_setExternalDict() 1087 LZ4HC_Insert (ctxPtr, ctxPtr->end-3); /* Referencing remaining dictionary content */ in LZ4HC_setExternalDict() [all …]
|
D | lz4.c | 1358 … LZ4_stream_t* ctxPtr = ALLOC(sizeof(LZ4_stream_t)); /* malloc-calloc always properly aligned */ in LZ4_compress_fast() local 1359 if (ctxPtr == NULL) return 0; in LZ4_compress_fast() 1362 LZ4_stream_t* const ctxPtr = &ctx; in LZ4_compress_fast() local 1364 … result = LZ4_compress_fast_extState(ctxPtr, source, dest, inputSize, maxOutputSize, acceleration); in LZ4_compress_fast() 1367 FREEMEM(ctxPtr); in LZ4_compress_fast()
|