Searched refs:zc (Results 1 – 2 of 2) sorted by relevance
/lib/zstd/ |
D | compress.c | 242 static size_t ZSTD_resetCCtx_advanced(ZSTD_CCtx *zc, ZSTD_parameters params, U64 frameContentSize, … in ZSTD_resetCCtx_advanced() argument 245 if (ZSTD_equivalentParams(params, zc->params)) { in ZSTD_resetCCtx_advanced() 246 zc->flagStaticTables = 0; in ZSTD_resetCCtx_advanced() 247 zc->flagStaticHufTable = HUF_repeat_none; in ZSTD_resetCCtx_advanced() 248 return ZSTD_continueCCtx(zc, params, frameContentSize); in ZSTD_resetCCtx_advanced() 269 if (zc->workSpaceSize < neededSpace) { in ZSTD_resetCCtx_advanced() 270 ZSTD_free(zc->workSpace, zc->customMem); in ZSTD_resetCCtx_advanced() 271 zc->workSpace = ZSTD_malloc(neededSpace, zc->customMem); in ZSTD_resetCCtx_advanced() 272 if (zc->workSpace == NULL) in ZSTD_resetCCtx_advanced() 274 zc->workSpaceSize = neededSpace; in ZSTD_resetCCtx_advanced() [all …]
|
D | zstd_opt.h | 215 U32 ZSTD_insertAndFindFirstIndexHash3(ZSTD_CCtx *zc, const BYTE *ip) in ZSTD_insertAndFindFirstIndexHash3() argument 217 U32 *const hashTable3 = zc->hashTable3; in ZSTD_insertAndFindFirstIndexHash3() 218 U32 const hashLog3 = zc->hashLog3; in ZSTD_insertAndFindFirstIndexHash3() 219 const BYTE *const base = zc->base; in ZSTD_insertAndFindFirstIndexHash3() 220 U32 idx = zc->nextToUpdate3; in ZSTD_insertAndFindFirstIndexHash3() 221 const U32 target = zc->nextToUpdate3 = (U32)(ip - base); in ZSTD_insertAndFindFirstIndexHash3() 235 static U32 ZSTD_insertBtAndGetAllMatches(ZSTD_CCtx *zc, const BYTE *const ip, const BYTE *const iLi… in ZSTD_insertBtAndGetAllMatches() argument 238 const BYTE *const base = zc->base; in ZSTD_insertBtAndGetAllMatches() 240 const U32 hashLog = zc->params.cParams.hashLog; in ZSTD_insertBtAndGetAllMatches() 242 U32 *const hashTable = zc->hashTable; in ZSTD_insertBtAndGetAllMatches() [all …]
|