Home
last modified time | relevance | path

Searched refs:staticSize (Results 1 – 3 of 3) sorted by relevance

/freebsd-12.1/sys/contrib/zstd/lib/decompress/
H A Dzstd_decompress.c136 size_t staticSize; member
187 dctx->staticSize = 0; in ZSTD_initDCtx_internal()
206 dctx->staticSize = workspaceSize; in ZSTD_initStaticDCtx()
234 if (dctx->staticSize) return ERROR(memory_allocation); /* not compatible with static DCtx */ in ZSTD_freeDCtx()
1900 if (dctx->staticSize) return ERROR(memory_allocation); in ZSTD_decompressMultiFrame()
2764 if (zds->staticSize) return ERROR(memory_allocation); in ZSTD_decompressStream()
2780 if (zds->staticSize) return ERROR(memory_allocation); in ZSTD_decompressStream()
2855 if (zds->staticSize) { /* static DCtx */ in ZSTD_decompressStream()
2856 DEBUGLOG(4, "staticSize : %u", (U32)zds->staticSize); in ZSTD_decompressStream()
2857 assert(zds->staticSize >= sizeof(ZSTD_DCtx)); /* controlled at init */ in ZSTD_decompressStream()
[all …]
/freebsd-12.1/sys/contrib/zstd/lib/compress/
H A Dzstd_compress_internal.h204 size_t staticSize; member
H A Dzstd_compress.c88 cctx->staticSize = workspaceSize; in ZSTD_initStaticCCtx()
108 if (cctx->staticSize) return ERROR(memory_allocation); /* not compatible with static CCtx */ in ZSTD_freeCCtx()
317 if ((value>0) && cctx->staticSize) { in ZSTD_CCtx_setParameter()
510 if (cctx->staticSize) return ERROR(memory_allocation); /* no malloc for static CCtx */ in ZSTD_CCtx_loadDictionary_advanced()
1005 if (zc->staticSize) return ERROR(memory_allocation); in ZSTD_resetCCtx_internal()
2933 if (zcs->staticSize) { /* static CCtx : never uses malloc */ in ZSTD_initCStream_internal()