HomeSort by: relevance | last modified time | path
    Searched defs:mtctx (Results 1 - 4 of 4) sorted by relevancy

  /src/external/bsd/zstd/dist/lib/compress/
zstdmt_compress.c 663 size_t consumed; /* SHARED - set0 by mtctx, then modified by worker AND read by mtctx */
664 size_t cSize; /* SHARED - set0 by mtctx, then modified by worker AND read by mtctx, then set0 by mtctx */
665 ZSTD_pthread_mutex_t job_mutex; /* Thread-safe - used by mtctx and worker */
666 ZSTD_pthread_cond_t job_cond; /* Thread-safe - used by mtctx and worker */
667 ZSTDMT_CCtxPool* cctxPool; /* Thread-safe - used by mtctx and (all) workers */
668 ZSTDMT_bufferPool* bufPool; /* Thread-safe - used by mtctx and (all) workers */
669 ZSTDMT_seqPool* seqPool; /* Thread-safe - used by mtctx and (all) workers *
952 ZSTDMT_CCtx* mtctx; local
    [all...]
zstd_compress_internal.h 380 /* Multithreading: used to pass parameters to mtctx */
532 ZSTDMT_CCtx* mtctx; member in struct:ZSTD_CCtx_s
  /src/external/bsd/zstd/dist/tests/
zstreamtest.c 278 ZSTD_CCtx* mtctx = ZSTD_createCCtx(); local
287 if (!CNBuffer || !compressedBuffer || !decodedBuffer || !zc || !zd || !mtctx) {
293 CHECK_Z(ZSTD_CCtx_setParameter(mtctx, ZSTD_c_nbWorkers, 2));
1476 CHECK_Z( ZSTD_CCtx_getParameter(mtctx, ZSTD_c_jobSize, &jobSize));
1478 CHECK_Z( ZSTD_CCtx_getParameter(mtctx, ZSTD_c_jobSize, &jobSize));
1487 { size_t const compressResult = ZSTD_compressStream2(mtctx, &outBuff, &inBuff, ZSTD_e_end);
2519 ZSTD_freeCCtx(mtctx);
fuzzer.c 2206 { ZSTD_CCtx* const mtctx = ZSTD_createCCtx(); local
2207 if (mtctx==NULL) {
2208 DISPLAY("mtctx : not enough memory, aborting \n");
2212 CHECK_Z( ZSTD_CCtx_setParameter(mtctx, ZSTD_c_nbWorkers, 2) );
2213 CHECK_Z( ZSTD_CCtx_setParameter(mtctx, ZSTD_c_compressionLevel, 1) );
2217 CHECK_VAR(cSize, ZSTD_compress2(mtctx,
2243 CHECK_Z( ZSTD_CCtx_setParameter(mtctx, ZSTD_c_checksumFlag, 1) );
2244 CHECK_Z( ZSTD_CCtx_setParameter(mtctx, ZSTD_c_contentSizeFlag, 1) );
2245 CHECK_Z( ZSTD_CCtx_setParameter(mtctx, ZSTD_c_overlapLog, 3) );
2246 CHECK_VAR(cSize, ZSTD_compress2(mtctx,
    [all...]

Completed in 55 milliseconds