Home
last modified time | relevance | path

Searched refs:CHECK_Z (Results 1 – 7 of 7) sorted by relevance

/external/zstd/tests/
Dzstreamtest.c108 #define CHECK_Z(f) { \ macro
291 CHECK_Z(ZSTD_CCtx_setParameter(mtctx, ZSTD_c_nbWorkers, 2)); in basicUnitTests()
304 CHECK_Z( ZSTD_initCStream(zc, 1 /* cLevel */) ); in basicUnitTests()
311 CHECK_Z( ZSTD_compressStream(zc, &outBuff, &inBuff) ); in basicUnitTests()
324 CHECK_Z( ZSTD_initCStream_usingDict(zc, CNBuffer, dictSize, 1 /* cLevel */) ); in basicUnitTests()
332 CHECK_Z( ZSTD_compressStream(zc, &outBuff, &inBuff) ); in basicUnitTests()
354 CHECK_Z( ZSTD_CCtxParams_setParameter(params, ZSTD_c_compressionLevel, 19) ); in basicUnitTests()
356 CHECK_Z(cstreamSize); in basicUnitTests()
358 CHECK_Z(cctxSize); in basicUnitTests()
382 CHECK_Z( ZSTD_initDStream_usingDict(zd, CNBuffer, dictSize) ); in basicUnitTests()
[all …]
Dfuzzer.c119 #define CHECK_Z(f) { \ macro
211CHECK_Z( ZSTD_compressCCtx(cctx, outBuffer, outSize, inBuffer, inSize, compressionLevel) ); in FUZ_mallocTests_internal()
226 CHECK_Z( ZSTD_initCStream(cstream, compressionLevel) ); in FUZ_mallocTests_internal()
227 CHECK_Z( ZSTD_compressStream(cstream, &out, &in) ); in FUZ_mallocTests_internal()
228 CHECK_Z( ZSTD_endStream(cstream, &out) ); in FUZ_mallocTests_internal()
243 CHECK_Z( ZSTD_CCtx_setParameter(cctx, ZSTD_c_compressionLevel, compressionLevel) ); in FUZ_mallocTests_internal()
244 CHECK_Z( ZSTD_CCtx_setParameter(cctx, ZSTD_c_nbWorkers, nbThreads) ); in FUZ_mallocTests_internal()
245 CHECK_Z( ZSTD_compress2(cctx, outBuffer, outSize, inBuffer, inSize) ); in FUZ_mallocTests_internal()
263 CHECK_Z( ZSTD_CCtx_setParameter(cctx, ZSTD_c_compressionLevel, compressionLevel) ); in FUZ_mallocTests_internal()
264 CHECK_Z( ZSTD_CCtx_setParameter(cctx, ZSTD_c_nbWorkers, nbThreads) ); in FUZ_mallocTests_internal()
[all …]
DroundTripCrash.c46 #define CHECK_Z(f) { \ macro
96 CHECK_Z( ZSTD_CCtxParams_setParameter(cctxParams, ZSTD_c_compressionLevel, cLevel) ); in cctxParamRoundTripTest()
97 CHECK_Z( ZSTD_CCtxParams_setParameter(cctxParams, ZSTD_c_nbWorkers, 2) ); in cctxParamRoundTripTest()
98 CHECK_Z( ZSTD_CCtxParams_setParameter(cctxParams, ZSTD_c_overlapLog, 5) ); in cctxParamRoundTripTest()
102 CHECK_Z( ZSTD_CCtx_setParametersUsingCCtxParams(cctx, cctxParams) ); in cctxParamRoundTripTest()
104 CHECK_Z (ZSTD_compressStream2(cctx, &outBuffer, &inBuffer, ZSTD_e_end) ); in cctxParamRoundTripTest()
/external/llvm-project/lld/test/MachO/
Dsearch-paths.test13 RUN: %lld -v -L%t1 -F%t2 -Z 2>&1 | FileCheck -DLDIR=%t1 -DFDIR=%t2 --check-prefix=CHECK_Z %s
14 CHECK_Z: Library search paths:
15 CHECK_Z-NEXT: [[LDIR]]
16 CHECK_Z-NEXT: Framework search paths:
17 CHECK_Z-NEXT: [[FDIR]]
Dsearch-paths-darwin.test16 …new -arch x86_64 -v -L%t1 -F%t2 -Z 2>&1 | FileCheck -DLDIR=%t1 -DFDIR=%t2 --check-prefix=CHECK_Z %s
17 CHECK_Z: Library search paths:
18 CHECK_Z-NEXT: [[LDIR]]
19 CHECK_Z-NEXT: Framework search paths:
20 CHECK_Z-NEXT: [[FDIR]]
/external/zstd/programs/
Dbenchzstd.c99 #define CHECK_Z(zf) { \ macro
173 CHECK_Z(ZSTD_CCtx_setParameter(ctx, ZSTD_c_nbWorkers, 0)); in BMK_initCCtx()
175 CHECK_Z(ZSTD_CCtx_setParameter(ctx, ZSTD_c_nbWorkers, adv->nbWorkers)); in BMK_initCCtx()
177 CHECK_Z(ZSTD_CCtx_setParameter(ctx, ZSTD_c_compressionLevel, cLevel)); in BMK_initCCtx()
178 CHECK_Z(ZSTD_CCtx_setParameter(ctx, ZSTD_c_enableLongDistanceMatching, adv->ldmFlag)); in BMK_initCCtx()
179 CHECK_Z(ZSTD_CCtx_setParameter(ctx, ZSTD_c_ldmMinMatch, adv->ldmMinMatch)); in BMK_initCCtx()
180 CHECK_Z(ZSTD_CCtx_setParameter(ctx, ZSTD_c_ldmHashLog, adv->ldmHashLog)); in BMK_initCCtx()
181 CHECK_Z(ZSTD_CCtx_setParameter(ctx, ZSTD_c_ldmBucketSizeLog, adv->ldmBucketSizeLog)); in BMK_initCCtx()
182 CHECK_Z(ZSTD_CCtx_setParameter(ctx, ZSTD_c_ldmHashRateLog, adv->ldmHashRateLog)); in BMK_initCCtx()
183 CHECK_Z(ZSTD_CCtx_setParameter(ctx, ZSTD_c_windowLog, (int)comprParams->windowLog)); in BMK_initCCtx()
[all …]
/external/zstd/contrib/seekable_format/
Dzstdseek_compress.c24 #define CHECK_Z(f) { size_t const ret = (f); if (ret != 0) return ret; } macro
312 CHECK_Z(ZSTD_stwrite32(fl, output, ZSTD_MAGIC_SKIPPABLE_START | 0xE, 0)); in ZSTD_seekable_writeSeekTable()
314 CHECK_Z(ZSTD_stwrite32(fl, output, (U32)seekTableLen - ZSTD_SKIPPABLEHEADERSIZE, 4)); in ZSTD_seekable_writeSeekTable()
319 CHECK_Z(ZSTD_stwrite32(fl, output, in ZSTD_seekable_writeSeekTable()
323 CHECK_Z(ZSTD_stwrite32(fl, output, in ZSTD_seekable_writeSeekTable()
328 CHECK_Z(ZSTD_stwrite32( in ZSTD_seekable_writeSeekTable()
337 CHECK_Z(ZSTD_stwrite32(fl, output, fl->size, in ZSTD_seekable_writeSeekTable()
350 CHECK_Z(ZSTD_stwrite32(fl, output, ZSTD_SEEKABLE_MAGICNUMBER, in ZSTD_seekable_writeSeekTable()