Searched refs:zwd (Results 1 – 1 of 1) sorted by relevance
448 static void ZWRAP_initDCtx(ZWRAP_DCtx* zwd) in ZWRAP_initDCtx() argument450 zwd->errorCount = 0; in ZWRAP_initDCtx()451 zwd->outBuffer.pos = 0; in ZWRAP_initDCtx()452 zwd->outBuffer.size = 0; in ZWRAP_initDCtx()457 ZWRAP_DCtx* zwd; in ZWRAP_createDCtx() local458 …MEM_STATIC_ASSERT(sizeof(zwd->headerBuf) >= ZSTD_FRAMEHEADERSIZE_MIN); /* check static buffer si… in ZWRAP_createDCtx()461 zwd = (ZWRAP_DCtx*)strm->zalloc(strm->opaque, 1, sizeof(ZWRAP_DCtx)); in ZWRAP_createDCtx()462 if (zwd==NULL) return NULL; in ZWRAP_createDCtx()463 memset(zwd, 0, sizeof(ZWRAP_DCtx)); in ZWRAP_createDCtx()464 zwd->allocFunc = *strm; /* just to copy zalloc, zfree & opaque */ in ZWRAP_createDCtx()[all …]