/external/zstd/lib/compress/ |
D | zstd_ldm.c | 30 if (params->hashLog == 0) { in ZSTD_ldm_adjustParameters() 31 params->hashLog = MAX(ZSTD_HASHLOG_MIN, params->windowLog - LDM_HASH_RLOG); in ZSTD_ldm_adjustParameters() 32 assert(params->hashLog <= ZSTD_HASHLOG_MAX); in ZSTD_ldm_adjustParameters() 35 params->hashRateLog = params->windowLog < params->hashLog in ZSTD_ldm_adjustParameters() 37 : params->windowLog - params->hashLog; in ZSTD_ldm_adjustParameters() 39 params->bucketSizeLog = MIN(params->bucketSizeLog, params->hashLog); in ZSTD_ldm_adjustParameters() 44 size_t const ldmHSize = ((size_t)1) << params.hashLog; in ZSTD_ldm_getTableSize() 45 size_t const ldmBucketSizeLog = MIN(params.bucketSizeLog, params.hashLog); in ZSTD_ldm_getTableSize() 46 size_t const ldmBucketSize = ((size_t)1) << (params.hashLog - ldmBucketSizeLog); in ZSTD_ldm_getTableSize() 250 params->hashLog - params->bucketSizeLog, in ZSTD_ldm_fillHashTable() [all …]
|
D | zstd_lazy.c | 26 U32 const hashLog = cParams->hashLog; in ZSTD_updateDUBT() local 44 … size_t const h = ZSTD_hashPtr(base + idx, hashLog, mls); /* assumption : ip + 8 <= iend */ in ZSTD_updateDUBT() 165 U32 const hashLog = dmsCParams->hashLog; in ZSTD_DUBT_findBetterDictMatch() local 166 size_t const h = ZSTD_hashPtr(ip, hashLog, mls); in ZSTD_DUBT_findBetterDictMatch() 239 U32 const hashLog = cParams->hashLog; in ZSTD_DUBT_findBestMatch() local 240 size_t const h = ZSTD_hashPtr(ip, hashLog, mls); in ZSTD_DUBT_findBestMatch() 456 const U32 hashLog = cParams->hashLog; in ZSTD_insertAndFindFirstIndex_internal() local 464 size_t const h = ZSTD_hashPtr(base+idx, hashLog, mls); in ZSTD_insertAndFindFirstIndex_internal() 471 return hashTable[ZSTD_hashPtr(ip, hashLog, mls)]; in ZSTD_insertAndFindFirstIndex_internal() 498 U32 const hashLog = ms->cParams.hashLog - ZSTD_LAZY_DDSS_BUCKET_LOG; in ZSTD_dedicatedDictSearch_lazy_loadDictionary() local [all …]
|
D | zstd_fast.c | 21 U32 const hBits = cParams->hashLog; in ZSTD_fillHashTable() 54 U32 const hlog = cParams->hashLog; in ZSTD_compressBlock_fast_generic() 213 U32 const hlog = cParams->hashLog; in ZSTD_compressBlock_fast_dictMatchState_generic() 236 const U32 dictHLog = dictCParams->hashLog; in ZSTD_compressBlock_fast_dictMatchState_generic() 381 U32 const hlog = cParams->hashLog; in ZSTD_compressBlock_fast_extDict_generic()
|
D | zstd_compress.c | 226 assert(cctxParams.ldmParams.hashLog >= cctxParams.ldmParams.bucketSizeLog); in ZSTD_makeCCtxParamsFromCParams() 621 CCtxParams->cParams.hashLog = (U32)value; in ZSTD_CCtxParams_setParameter() 622 return CCtxParams->cParams.hashLog; in ZSTD_CCtxParams_setParameter() 742 CCtxParams->ldmParams.hashLog = value; in ZSTD_CCtxParams_setParameter() 743 return CCtxParams->ldmParams.hashLog; in ZSTD_CCtxParams_setParameter() 819 *value = (int)CCtxParams->cParams.hashLog; in ZSTD_CCtxParams_getParameter() 889 *value = CCtxParams->ldmParams.hashLog; in ZSTD_CCtxParams_getParameter() 1102 BOUNDCHECK(ZSTD_c_hashLog, (int)cParams.hashLog); in ZSTD_checkCParams() 1124 CLAMP(ZSTD_c_hashLog, cParams.hashLog); in ZSTD_clampCParams() 1134 U32 ZSTD_cycleLog(U32 hashLog, ZSTD_strategy strat) in ZSTD_cycleLog() argument [all …]
|
D | zstd_double_fast.c | 20 U32 const hBitsL = cParams->hashLog; in ZSTD_fillDoubleHashTable() 58 const U32 hBitsL = cParams->hashLog; in ZSTD_compressBlock_doubleFast_generic() 94 dictCParams->hashLog : hBitsL; in ZSTD_compressBlock_doubleFast_generic() 366 U32 const hBitsL = cParams->hashLog; in ZSTD_compressBlock_doubleFast_extDict_generic()
|
D | zstd_opt.c | 376 U32 const hashLog = cParams->hashLog; in ZSTD_insertBt1() local 377 size_t const h = ZSTD_hashPtr(ip, hashLog, mls); in ZSTD_insertBt1() 523 U32 const hashLog = cParams->hashLog; in ZSTD_insertBtAndGetAllMatches() local 526 size_t const h = ZSTD_hashPtr(ip, hashLog, mls); in ZSTD_insertBtAndGetAllMatches() 554 … U32 const dmsHashLog = dictMode == ZSTD_dictMatchState ? dmsCParams->hashLog : hashLog; in ZSTD_insertBtAndGetAllMatches()
|
D | zstdmt_compress.c | 473 assert(params.ldmParams.hashLog >= params.ldmParams.bucketSizeLog); in ZSTDMT_serialState_reset() 485 unsigned const hashLog = params.ldmParams.hashLog; in ZSTDMT_serialState_reset() local 486 size_t const hashSize = ((size_t)1 << hashLog) * sizeof(ldmEntry_t); in ZSTDMT_serialState_reset() 488 params.ldmParams.hashLog - params.ldmParams.bucketSizeLog; in ZSTDMT_serialState_reset() 491 serialState->params.ldmParams.hashLog - in ZSTDMT_serialState_reset() 498 … if (serialState->ldmState.hashTable == NULL || serialState->params.ldmParams.hashLog < hashLog) { in ZSTDMT_serialState_reset()
|
D | zstd_compress_internal.h | 197 U32 hashLog; /* Log size of hashTable */ member 1201 U32 ZSTD_cycleLog(U32 hashLog, ZSTD_strategy strat);
|
/external/zstd/tests/fuzz/ |
D | zstd_helpers.c | 40 cParams.hashLog = FUZZ_dataProducer_uint32Range(producer, ZSTD_HASHLOG_MIN, 15); in FUZZ_randomCParams() 72 set(cctx, ZSTD_c_hashLog, cParams.hashLog); in FUZZ_setRandomParameters()
|
/external/zstd/lib/legacy/ |
D | zstd_v05.h | 89 …U32 contentLog; U32 hashLog; U32 searchLog; U32 searchLength; U32 targetLength; ZSTDv05_strategy s… member
|
/external/zstd/tests/ |
D | longmatch.c | 51 params.cParams.hashLog = 14; in main()
|
D | fullbench.c | 499 ZSTD_CCtx_setParameter(g_zcc, ZSTD_c_hashLog, (int)cparams.hashLog); in benchMem() 509 ZSTD_CCtx_setParameter(g_cstream, ZSTD_c_hashLog, (int)cparams.hashLog); in benchMem() 853 …&argument, "hashLog=") || longCommandWArg(&argument, "hlog=")) { cparams.hashLog = readU32FromChar… in main()
|
D | zstreamtest.c | 229 CHECK_RET_Z(ZSTD_CCtx_getParameter(zc, ZSTD_c_hashLog, (int*)&savedParams->cParams.hashLog)); in getCCtxParams() 249 CHECK_RET(2, params.cParams.hashLog != savedParams.cParams.hashLog, "hashLog"); in badParameters() 2146 cParams.hashLog += (FUZ_rand(&lseed) & 3) - 1; in fuzzerTests_newAPI() 2161 DISPLAYLEVEL(5, "t%u: hashLog : %u \n", testNb, cParams.hashLog); in fuzzerTests_newAPI() 2162 … CHECK_Z( setCCtxParameter(zc, cctxParams, ZSTD_c_hashLog, cParams.hashLog, opaqueAPI) ); in fuzzerTests_newAPI()
|
D | README.md | 142 h# - hashLog
|
D | paramgrill.c | 338 c.hashLog = p.vals[hlog_ind]; in pvalsToCParams() 353 p.vals[hlog_ind] = c.hashLog; in cParamsToPVals()
|
D | fuzzer.c | 387 params.hashLog = 19; in basicUnitTests() 390 if (params.hashLog != 18) goto _output_error; in basicUnitTests()
|
/external/zstd/tests/regression/ |
D | config.c | 259 zparams.cParams.hashLog = value; in config_get_zstd_params()
|
/external/zstd/contrib/linux-kernel/ |
D | zstd_compress_module.c | 29 ZSTD_STATIC_ASSERT(offsetof(ZSTD_compressionParameters, hashLog) == in zstd_check_structs()
|
/external/zstd/programs/ |
D | zstdcli.c | 543 …tringPtr, "hashLog=") || longCommandWArg(&stringPtr, "hlog=")) { params->hashLog = readU32FromChar… in parseCompressionParameters() 557 …shLog=%d, searchLog=%d \n", params->windowLog, params->chainLog, params->hashLog, params->searchLo… in parseCompressionParameters() 1342 DISPLAY(" - hashLog : %u\n", cParams.hashLog); in main()
|
D | benchzstd.c | 184 CHECK_Z(ZSTD_CCtx_setParameter(ctx, ZSTD_c_hashLog, (int)comprParams->hashLog)); in BMK_initCCtx()
|
D | zstd.1.md | 454 - `hashLog`=_hlog_, `hlog`=_hlog_:
|
D | fileio.c | 982 CHECK( ZSTD_CCtx_setParameter(ress.cctx, ZSTD_c_hashLog, (int)comprParams.hashLog) ); in FIO_createCResources()
|
/external/lz4/lib/ |
D | lz4.c | 641 const U32 hashLog = (tableType == byU16) ? LZ4_HASHLOG+1 : LZ4_HASHLOG; in LZ4_hash5() local 644 return (U32)(((sequence << 24) * prime5bytes) >> (64 - hashLog)); in LZ4_hash5() 647 return (U32)(((sequence >> 24) * prime8bytes) >> (64 - hashLog)); in LZ4_hash5()
|
/external/zstd/lib/ |
D | zstd.h | 1166 unsigned hashLog; /**< dispatch table : larger == faster, more memory */ member
|
/external/zstd/zlibWrapper/ |
D | zstd_zlibwrapper.c | 211 …cSize, params.cParams.windowLog, params.cParams.chainLog, params.cParams.hashLog, params.cParams.s… in ZWRAP_initializeCStream()
|