Home
last modified time | relevance | path

Searched refs:norm (Results 1 – 5 of 5) sorted by relevance

/lib/xz/
Dxz_dec_bcj.c220 uint64_t norm; in bcj_ia64() local
235 norm = instr >> bit_res; in bcj_ia64()
237 if (((norm >> 37) & 0x0F) == 0x05 in bcj_ia64()
238 && ((norm >> 9) & 0x07) == 0) { in bcj_ia64()
239 addr = (norm >> 13) & 0x0FFFFF; in bcj_ia64()
240 addr |= ((uint32_t)(norm >> 36) & 1) << 20; in bcj_ia64()
245 norm &= ~((uint64_t)0x8FFFFF << 13); in bcj_ia64()
246 norm |= (uint64_t)(addr & 0x0FFFFF) << 13; in bcj_ia64()
247 norm |= (uint64_t)(addr & 0x100000) in bcj_ia64()
251 instr |= norm << bit_res; in bcj_ia64()
/lib/zstd/
Dfse_compress.c519 static size_t FSE_normalizeM2(short *norm, U32 tableLog, const unsigned *count, size_t total, U32 m… in FSE_normalizeM2() argument
532 norm[s] = 0; in FSE_normalizeM2()
536 norm[s] = -1; in FSE_normalizeM2()
542 norm[s] = 1; in FSE_normalizeM2()
548 norm[s] = NOT_YET_ASSIGNED; in FSE_normalizeM2()
556 if ((norm[s] == NOT_YET_ASSIGNED) && (count[s] <= lowOne)) { in FSE_normalizeM2()
557 norm[s] = 1; in FSE_normalizeM2()
574 norm[maxV] += (short)ToDistribute; in FSE_normalizeM2()
581 if (norm[s] > 0) in FSE_normalizeM2()
582 ToDistribute--, norm[s]++; in FSE_normalizeM2()
[all …]
Dhuf_compress.c93 S16 *norm; in HUF_compressWeights_wksp() local
102 norm = (S16 *)((U32 *)workspace + spaceUsed32); in HUF_compressWeights_wksp()
124 CHECK_F(FSE_normalizeCount(norm, tableLog, count, wtSize, maxSymbolValue)); in HUF_compressWeights_wksp()
128 CHECK_V_F(hSize, FSE_writeNCount(op, oend - op, norm, maxSymbolValue, tableLog)); in HUF_compressWeights_wksp()
133 CHECK_F(FSE_buildCTable_wksp(CTable, norm, maxSymbolValue, tableLog, workspace, workspaceSize)); in HUF_compressWeights_wksp()
Dcompress.c605 S16 *norm; in ZSTD_compressSequences_internal() local
612 norm = (S16 *)((U32 *)zc->tmpCounters + spaceUsed32); in ZSTD_compressSequences_internal()
670 FSE_normalizeCount(norm, tableLog, count, nbSeq_1, max); in ZSTD_compressSequences_internal()
672 …size_t const NCountSize = FSE_writeNCount(op, oend - op, norm, max, tableLog); /* overflow protect… in ZSTD_compressSequences_internal()
677 FSE_buildCTable_wksp(CTable_LitLength, norm, max, tableLog, workspace, workspaceSize); in ZSTD_compressSequences_internal()
702 FSE_normalizeCount(norm, tableLog, count, nbSeq_1, max); in ZSTD_compressSequences_internal()
704 …size_t const NCountSize = FSE_writeNCount(op, oend - op, norm, max, tableLog); /* overflow protect… in ZSTD_compressSequences_internal()
709 FSE_buildCTable_wksp(CTable_OffsetBits, norm, max, tableLog, workspace, workspaceSize); in ZSTD_compressSequences_internal()
734 FSE_normalizeCount(norm, tableLog, count, nbSeq_1, max); in ZSTD_compressSequences_internal()
736 …size_t const NCountSize = FSE_writeNCount(op, oend - op, norm, max, tableLog); /* overflow protect… in ZSTD_compressSequences_internal()
[all …]
Ddecompress.c773 S16 *norm = (S16 *)workspace; in ZSTD_buildSeqTable() local
781 size_t const headerSize = FSE_readNCount(norm, &max, &tableLog, src, srcSize); in ZSTD_buildSeqTable()
786 FSE_buildDTable_wksp(DTableSpace, norm, max, tableLog, workspace, workspaceSize); in ZSTD_buildSeqTable()