H A D | zstd_compress.c | 53 void* workspace; member in struct:ZSTD_CDict_s 82 ZSTD_CCtx* ZSTD_initStaticCCtx(void *workspace, size_t workspaceSize) argument 84 ZSTD_CCtx* const cctx = (ZSTD_CCtx*) workspace; 86 if ((size_t)workspace & 7) return NULL; /* must be 8-aligned */ 87 memset(workspace, 0, workspaceSize); /* may be a bit generous, could memset be smaller ? */ 996 DEBUGLOG(4, "Need %uKB workspace, including %uKB for match state, and %uKB for buffers", 1366 U32* workspace, const int bmi2) 1397 workspace, HUF_WORKSPACE_SIZE, (HUF_CElt*)nextEntropy->hufCTable, &repeat, preferRepeat, bmi2) 1399 workspace, HUF_WORKSPACE_SIZE, (HUF_CElt*)nextEntropy->hufCTable, &repeat, preferRepeat, bmi2); 1518 void* workspace, size_ 1361 ZSTD_compressLiterals(ZSTD_entropyCTables_t const* prevEntropy, ZSTD_entropyCTables_t* nextEntropy, ZSTD_strategy strategy, int disableLiteralCompression, void* dst, size_t dstCapacity, const void* src, size_t srcSize, U32* workspace, const int bmi2) argument 1512 ZSTD_buildCTable(void* dst, size_t dstCapacity, FSE_CTable* nextCTable, U32 FSELog, symbolEncodingType_e type, U32* count, U32 max, BYTE const* codeTable, size_t nbSeq, S16 const* defaultNorm, U32 defaultNormLog, U32 defaultMax, FSE_CTable const* prevCTable, size_t prevCTableSize, void* workspace, size_t workspaceSize) argument 1701 ZSTD_compressSequences_internal(seqStore_t* seqStorePtr, ZSTD_entropyCTables_t const* prevEntropy, ZSTD_entropyCTables_t* nextEntropy, ZSTD_CCtx_params const* cctxParams, void* dst, size_t dstCapacity, U32* workspace, const int bmi2) argument 1822 ZSTD_compressSequences(seqStore_t* seqStorePtr, ZSTD_entropyCTables_t const* prevEntropy, ZSTD_entropyCTables_t* nextEntropy, ZSTD_CCtx_params const* cctxParams, void* dst, size_t dstCapacity, size_t srcSize, U32* workspace, int bmi2) argument 2259 ZSTD_loadZstdDictionary(ZSTD_compressedBlockState_t* bs, ZSTD_matchState_t* ms, ZSTD_CCtx_params const* params, const void* dict, size_t dictSize, void* workspace) argument 2346 ZSTD_compress_insertDictionary(ZSTD_compressedBlockState_t* bs, ZSTD_matchState_t* ms, ZSTD_CCtx_params const* params, const void* dict, size_t dictSize, ZSTD_dictContentType_e dictContentType, void* workspace) argument 2677 void* const workspace = ZSTD_malloc(workspaceSize, customMem); local 2739 ZSTD_initStaticCDict( void* workspace, size_t workspaceSize, const void* dict, size_t dictSize, ZSTD_dictLoadMethod_e dictLoadMethod, ZSTD_dictContentType_e dictContentType, ZSTD_compressionParameters cParams) argument 2854 ZSTD_initStaticCStream(void *workspace, size_t workspaceSize) argument [all...] |