Searched refs:zds (Results 1 – 2 of 2) sorted by relevance
2194 ZSTD_DStream *zds; in ZSTD_createDStream_advanced() local2199 zds = (ZSTD_DStream *)ZSTD_malloc(sizeof(ZSTD_DStream), customMem); in ZSTD_createDStream_advanced()2200 if (zds == NULL) in ZSTD_createDStream_advanced()2202 memset(zds, 0, sizeof(ZSTD_DStream)); in ZSTD_createDStream_advanced()2203 memcpy(&zds->customMem, &customMem, sizeof(ZSTD_customMem)); in ZSTD_createDStream_advanced()2204 zds->dctx = ZSTD_createDCtx_advanced(customMem); in ZSTD_createDStream_advanced()2205 if (zds->dctx == NULL) { in ZSTD_createDStream_advanced()2206 ZSTD_freeDStream(zds); in ZSTD_createDStream_advanced()2209 zds->stage = zdss_init; in ZSTD_createDStream_advanced()2210 zds->maxWindowSize = ZSTD_MAXWINDOWSIZE_DEFAULT; in ZSTD_createDStream_advanced()[all …]
271 size_t ZSTD_freeDStream(ZSTD_DStream *zds);