• Home
  • Raw
  • Download

Lines Matching refs:LZ4_streamHCPtr

994 int LZ4_freeStreamHC (LZ4_streamHC_t* LZ4_streamHCPtr)  in LZ4_freeStreamHC()  argument
996 DEBUGLOG(4, "LZ4_freeStreamHC(%p)", LZ4_streamHCPtr); in LZ4_freeStreamHC()
997 if (!LZ4_streamHCPtr) return 0; /* support free on NULL */ in LZ4_freeStreamHC()
998 FREEMEM(LZ4_streamHCPtr); in LZ4_freeStreamHC()
1005 LZ4_streamHC_t* const LZ4_streamHCPtr = (LZ4_streamHC_t*)buffer; in LZ4_initStreamHC() local
1014 { LZ4HC_CCtx_internal* const hcstate = &(LZ4_streamHCPtr->internal_donotuse); in LZ4_initStreamHC()
1016 LZ4_setCompressionLevel(LZ4_streamHCPtr, LZ4HC_CLEVEL_DEFAULT); in LZ4_initStreamHC()
1017 return LZ4_streamHCPtr; in LZ4_initStreamHC()
1021 void LZ4_resetStreamHC (LZ4_streamHC_t* LZ4_streamHCPtr, int compressionLevel) in LZ4_resetStreamHC() argument
1023 LZ4_initStreamHC(LZ4_streamHCPtr, sizeof(*LZ4_streamHCPtr)); in LZ4_resetStreamHC()
1024 LZ4_setCompressionLevel(LZ4_streamHCPtr, compressionLevel); in LZ4_resetStreamHC()
1027 void LZ4_resetStreamHC_fast (LZ4_streamHC_t* LZ4_streamHCPtr, int compressionLevel) in LZ4_resetStreamHC_fast() argument
1029 DEBUGLOG(4, "LZ4_resetStreamHC_fast(%p, %d)", LZ4_streamHCPtr, compressionLevel); in LZ4_resetStreamHC_fast()
1030 if (LZ4_streamHCPtr->internal_donotuse.dirty) { in LZ4_resetStreamHC_fast()
1031 LZ4_initStreamHC(LZ4_streamHCPtr, sizeof(*LZ4_streamHCPtr)); in LZ4_resetStreamHC_fast()
1034 LZ4_streamHCPtr->internal_donotuse.end -= (uptrval)LZ4_streamHCPtr->internal_donotuse.base; in LZ4_resetStreamHC_fast()
1035 LZ4_streamHCPtr->internal_donotuse.base = NULL; in LZ4_resetStreamHC_fast()
1036 LZ4_streamHCPtr->internal_donotuse.dictCtx = NULL; in LZ4_resetStreamHC_fast()
1038 LZ4_setCompressionLevel(LZ4_streamHCPtr, compressionLevel); in LZ4_resetStreamHC_fast()
1041 void LZ4_setCompressionLevel(LZ4_streamHC_t* LZ4_streamHCPtr, int compressionLevel) in LZ4_setCompressionLevel() argument
1043 DEBUGLOG(5, "LZ4_setCompressionLevel(%p, %d)", LZ4_streamHCPtr, compressionLevel); in LZ4_setCompressionLevel()
1046 LZ4_streamHCPtr->internal_donotuse.compressionLevel = (short)compressionLevel; in LZ4_setCompressionLevel()
1049 void LZ4_favorDecompressionSpeed(LZ4_streamHC_t* LZ4_streamHCPtr, int favor) in LZ4_favorDecompressionSpeed() argument
1051 LZ4_streamHCPtr->internal_donotuse.favorDecSpeed = (favor!=0); in LZ4_favorDecompressionSpeed()
1056 int LZ4_loadDictHC (LZ4_streamHC_t* LZ4_streamHCPtr, in LZ4_loadDictHC() argument
1059 LZ4HC_CCtx_internal* const ctxPtr = &LZ4_streamHCPtr->internal_donotuse; in LZ4_loadDictHC()
1060 …DEBUGLOG(4, "LZ4_loadDictHC(ctx:%p, dict:%p, dictSize:%d)", LZ4_streamHCPtr, dictionary, dictSize); in LZ4_loadDictHC()
1061 assert(LZ4_streamHCPtr != NULL); in LZ4_loadDictHC()
1068 LZ4_initStreamHC(LZ4_streamHCPtr, sizeof(*LZ4_streamHCPtr)); in LZ4_loadDictHC()
1069 LZ4_setCompressionLevel(LZ4_streamHCPtr, cLevel); in LZ4_loadDictHC()
1102 LZ4_compressHC_continue_generic (LZ4_streamHC_t* LZ4_streamHCPtr, in LZ4_compressHC_continue_generic() argument
1107 LZ4HC_CCtx_internal* const ctxPtr = &LZ4_streamHCPtr->internal_donotuse; in LZ4_compressHC_continue_generic()
1109 LZ4_streamHCPtr, src, *srcSizePtr, limit); in LZ4_compressHC_continue_generic()
1118 LZ4_loadDictHC(LZ4_streamHCPtr, (const char*)(ctxPtr->end) - dictSize, (int)dictSize); in LZ4_compressHC_continue_generic()
1138 int LZ4_compress_HC_continue (LZ4_streamHC_t* LZ4_streamHCPtr, const char* src, char* dst, int srcS… in LZ4_compress_HC_continue() argument
1141 …return LZ4_compressHC_continue_generic (LZ4_streamHCPtr, src, dst, &srcSize, dstCapacity, limitedO… in LZ4_compress_HC_continue()
1143 …return LZ4_compressHC_continue_generic (LZ4_streamHCPtr, src, dst, &srcSize, dstCapacity, notLimit… in LZ4_compress_HC_continue()
1146 int LZ4_compress_HC_continue_destSize (LZ4_streamHC_t* LZ4_streamHCPtr, const char* src, char* dst,… in LZ4_compress_HC_continue_destSize() argument
1148 …return LZ4_compressHC_continue_generic(LZ4_streamHCPtr, src, dst, srcSizePtr, targetDestSize, fill… in LZ4_compress_HC_continue_destSize()
1158 int LZ4_saveDictHC (LZ4_streamHC_t* LZ4_streamHCPtr, char* safeBuffer, int dictSize) in LZ4_saveDictHC() argument
1160 LZ4HC_CCtx_internal* const streamPtr = &LZ4_streamHCPtr->internal_donotuse; in LZ4_saveDictHC()
1162 DEBUGLOG(5, "LZ4_saveDictHC(%p, %p, %d)", LZ4_streamHCPtr, safeBuffer, dictSize); in LZ4_saveDictHC()