Home
last modified time | relevance | path

Searched refs:entropy (Results 1 – 2 of 2) sorted by relevance

/lib/zstd/
Ddecompress.c82 ZSTD_entropyTables_t entropy; member
114 …dctx->entropy.hufTable[0] = (HUF_DTable)((HufLog)*0x1000001); /* cover both little and big endian … in ZSTD_decompressBegin()
117 ZSTD_STATIC_ASSERT(sizeof(dctx->entropy.rep) == sizeof(repStartValue)); in ZSTD_decompressBegin()
118 memcpy(dctx->entropy.rep, repStartValue, sizeof(repStartValue)); /* initial repcodes */ in ZSTD_decompressBegin()
119 dctx->LLTptr = dctx->entropy.LLTable; in ZSTD_decompressBegin()
120 dctx->MLTptr = dctx->entropy.MLTable; in ZSTD_decompressBegin()
121 dctx->OFTptr = dctx->entropy.OFTable; in ZSTD_decompressBegin()
122 dctx->HUFptr = dctx->entropy.hufTable; in ZSTD_decompressBegin()
487 …? HUF_decompress1X2_DCtx_wksp(dctx->entropy.hufTable, dctx->litBuffer, litSize, istart + lhSize, l… in ZSTD_decodeLiteralsBlock()
488 dctx->entropy.workspace, sizeof(dctx->entropy.workspace)) in ZSTD_decodeLiteralsBlock()
[all …]
/lib/
Drandom32.c178 void prandom_seed(u32 entropy) in prandom_seed() argument
188 state->s1 = __seed(state->s1 ^ entropy, 2U); in prandom_seed()
222 u32 entropy; in __prandom_timer() local
225 get_random_bytes(&entropy, sizeof(entropy)); in __prandom_timer()
226 prandom_seed(entropy); in __prandom_timer()