Home
last modified time | relevance | path

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

/f-stack/freebsd/contrib/zstd/lib/compress/
H A Dzstd_compress_sequences.c74 S16 norm[MaxSeq + 1]; in ZSTD_NCountCost() local
76 …FORWARD_IF_ERROR(FSE_normalizeCount(norm, tableLog, count, nbSeq, max, ZSTD_useLowProbCount(nbSeq)… in ZSTD_NCountCost()
77 return FSE_writeNCount(wksp, sizeof(wksp), norm, max, tableLog); in ZSTD_NCountCost()
89 unsigned norm = (unsigned)((256 * count[s]) / total); in ZSTD_entropyCost() local
90 if (count[s] != 0 && norm == 0) in ZSTD_entropyCost()
91 norm = 1; in ZSTD_entropyCost()
93 cost += count[s] * kInverseProbabilityLog256[norm]; in ZSTD_entropyCost()
137 size_t ZSTD_crossEntropyCost(short const* norm, unsigned accuracyLog, in ZSTD_crossEntropyCost() argument
145 unsigned const normAcc = (norm[s] != -1) ? (unsigned)norm[s] : 1; in ZSTD_crossEntropyCost()
261 S16 norm[MaxSeq + 1]; in ZSTD_buildCTable() local
[all …]
H A Dfse_compress.c364 norm[s]=0; in FSE_normalizeM2()
368 norm[s] = lowProbCount; in FSE_normalizeM2()
374 norm[s] = 1; in FSE_normalizeM2()
380 norm[s]=NOT_YET_ASSIGNED; in FSE_normalizeM2()
391 if ((norm[s] == NOT_YET_ASSIGNED) && (count[s] <= lowOne)) { in FSE_normalizeM2()
392 norm[s] = 1; in FSE_normalizeM2()
407 norm[maxV] += (short)ToDistribute; in FSE_normalizeM2()
414 if (norm[s] > 0) { ToDistribute--; norm[s]++; } in FSE_normalizeM2()
423 if (norm[s]==NOT_YET_ASSIGNED) { in FSE_normalizeM2()
430 norm[s] = (short)weight; in FSE_normalizeM2()
[all …]
H A Dzstd_compress_sequences.h52 size_t ZSTD_crossEntropyCost(short const* norm, unsigned accuracyLog,
H A Dhuf_compress.c75 S16 norm[HUF_TABLELOG_MAX+1]; in HUF_compressWeights() local
87 …CHECK_F( FSE_normalizeCount(norm, tableLog, count, wtSize, maxSymbolValue, /* useLowProbCount */ 0… in HUF_compressWeights()
90 { CHECK_V_F(hSize, FSE_writeNCount(op, (size_t)(oend-op), norm, maxSymbolValue, tableLog) ); in HUF_compressWeights()
95 …CHECK_F( FSE_buildCTable_wksp(CTable, norm, maxSymbolValue, tableLog, scratchBuffer, sizeof(scratc… in HUF_compressWeights()
/f-stack/freebsd/contrib/xz-embedded/linux/lib/xz/
H A 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()
/f-stack/freebsd/tools/sound/
H A Dfeeder_eq_mkfilter.awk236 function feedeq_calc_preamp(norm, gain, shift, mul, bit, attn)
255 norm["mul"] = mul;
256 norm["shift"] = shift;
417 feedeq_calc_preamp(norm, i * FEEDEQ_GAIN_RECIPROCAL);
421 norm["mul"], norm["shift"], dbgain);
/f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/casenorm/
H A Dcasenorm.kshlib100 typeset norm=$(get_norm $1)
102 if [[ $norm == "C" ]] ; then
/f-stack/freebsd/libkern/
H A Dfnmatch.c125 goto norm; in fnmatch()
143 norm: in fnmatch()
/f-stack/tools/compat/
H A Dfnmatch.c148 goto norm; in fnmatch()
166 norm: in fnmatch()
/f-stack/freebsd/contrib/zstd/lib/legacy/
H A Dzstd_v01.c1616 S16 norm[MaxML+1]; /* assumption : MaxML >= MaxLL and MaxOff */ in ZSTDv01_decodeSeqHeaders() local
1630 headerSize = FSE_readNCount(norm, &max, &LLlog, ip, iend-ip); in ZSTDv01_decodeSeqHeaders()
1634 FSE_buildDTable(DTableLL, norm, max, LLlog); in ZSTDv01_decodeSeqHeaders()
1648 headerSize = FSE_readNCount(norm, &max, &Offlog, ip, iend-ip); in ZSTDv01_decodeSeqHeaders()
1652 FSE_buildDTable(DTableOffb, norm, max, Offlog); in ZSTDv01_decodeSeqHeaders()
1666 headerSize = FSE_readNCount(norm, &max, &MLlog, ip, iend-ip); in ZSTDv01_decodeSeqHeaders()
1670 FSE_buildDTable(DTableML, norm, max, MLlog); in ZSTDv01_decodeSeqHeaders()
H A Dzstd_v03.c2605 S16 norm[MaxML+1]; /* assumption : MaxML >= MaxLL and MaxOff */ in ZSTD_decodeSeqHeaders() local
2619 headerSize = FSE_readNCount(norm, &max, &LLlog, ip, iend-ip); in ZSTD_decodeSeqHeaders()
2623 FSE_buildDTable(DTableLL, norm, max, LLlog); in ZSTD_decodeSeqHeaders()
2638 headerSize = FSE_readNCount(norm, &max, &Offlog, ip, iend-ip); in ZSTD_decodeSeqHeaders()
2642 FSE_buildDTable(DTableOffb, norm, max, Offlog); in ZSTD_decodeSeqHeaders()
2656 headerSize = FSE_readNCount(norm, &max, &MLlog, ip, iend-ip); in ZSTD_decodeSeqHeaders()
2660 FSE_buildDTable(DTableML, norm, max, MLlog); in ZSTD_decodeSeqHeaders()
H A Dzstd_v04.c2731 S16 norm[MaxML+1]; /* assumption : MaxML >= MaxLL >= MaxOff */ in ZSTD_decodeSeqHeaders() local
2745 headerSize = FSE_readNCount(norm, &max, &LLlog, ip, iend-ip); in ZSTD_decodeSeqHeaders()
2749 FSE_buildDTable(DTableLL, norm, max, LLlog); in ZSTD_decodeSeqHeaders()
2764 headerSize = FSE_readNCount(norm, &max, &Offlog, ip, iend-ip); in ZSTD_decodeSeqHeaders()
2768 FSE_buildDTable(DTableOffb, norm, max, Offlog); in ZSTD_decodeSeqHeaders()
2782 headerSize = FSE_readNCount(norm, &max, &MLlog, ip, iend-ip); in ZSTD_decodeSeqHeaders()
2786 FSE_buildDTable(DTableML, norm, max, MLlog); in ZSTD_decodeSeqHeaders()
H A Dzstd_v02.c2964 S16 norm[MaxML+1]; /* assumption : MaxML >= MaxLL and MaxOff */ in ZSTD_decodeSeqHeaders() local
2978 headerSize = FSE_readNCount(norm, &max, &LLlog, ip, iend-ip); in ZSTD_decodeSeqHeaders()
2982 FSE_buildDTable(DTableLL, norm, max, LLlog); in ZSTD_decodeSeqHeaders()
2997 headerSize = FSE_readNCount(norm, &max, &Offlog, ip, iend-ip); in ZSTD_decodeSeqHeaders()
3001 FSE_buildDTable(DTableOffb, norm, max, Offlog); in ZSTD_decodeSeqHeaders()
3015 headerSize = FSE_readNCount(norm, &max, &MLlog, ip, iend-ip); in ZSTD_decodeSeqHeaders()
3019 FSE_buildDTable(DTableML, norm, max, MLlog); in ZSTD_decodeSeqHeaders()
H A Dzstd_v05.c3048 S16 norm[MaxML+1]; /* assumption : MaxML >= MaxLL >= MaxOff */ in ZSTDv05_decodeSeqHeaders() local
3068 headerSize = FSEv05_readNCount(norm, &max, &LLlog, ip, iend-ip); in ZSTDv05_decodeSeqHeaders()
3072 FSEv05_buildDTable(DTableLL, norm, max, LLlog); in ZSTDv05_decodeSeqHeaders()
3092 headerSize = FSEv05_readNCount(norm, &max, &Offlog, ip, iend-ip); in ZSTDv05_decodeSeqHeaders()
3096 FSEv05_buildDTable(DTableOffb, norm, max, Offlog); in ZSTDv05_decodeSeqHeaders()
3116 headerSize = FSEv05_readNCount(norm, &max, &MLlog, ip, iend-ip); in ZSTDv05_decodeSeqHeaders()
3120 FSEv05_buildDTable(DTableML, norm, max, MLlog); in ZSTDv05_decodeSeqHeaders()
H A Dzstd_v06.c3212 S16 norm[MaxSeq+1]; in ZSTDv06_buildSeqTable() local
3213 size_t const headerSize = FSEv06_readNCount(norm, &max, &tableLog, src, srcSize); in ZSTDv06_buildSeqTable()
3216 FSEv06_buildDTable(DTable, norm, max, tableLog); in ZSTDv06_buildSeqTable()
H A Dzstd_v07.c3442 S16 norm[MaxSeq+1]; in ZSTDv07_buildSeqTable() local
3443 size_t const headerSize = FSEv07_readNCount(norm, &max, &tableLog, src, srcSize); in ZSTDv07_buildSeqTable()
3446 FSEv07_buildDTable(DTable, norm, max, tableLog); in ZSTDv07_buildSeqTable()
/f-stack/freebsd/contrib/v4l/
H A Dvideodev.h64 __u16 norm; /* Norm set by channel */ member
/f-stack/freebsd/contrib/zstd/lib/decompress/
H A Dzstd_decompress_block.c563 S16 norm[MaxSeq+1]; in ZSTD_buildSeqTable() local
564 size_t const headerSize = FSE_readNCount(norm, &max, &tableLog, src, srcSize); in ZSTD_buildSeqTable()
567 …ZSTD_buildFSETable(DTableSpace, norm, max, baseValue, nbAdditionalBits, tableLog, wksp, wkspSize, … in ZSTD_buildSeqTable()
/f-stack/freebsd/contrib/openzfs/module/zfs/
H A Dzap_micro.c155 char norm[ZAP_MAXNAMELEN]; in zap_match() local
157 if (zap_normalize(zn->zn_zap, matchname, norm, in zap_match()
161 return (strcmp(zn->zn_key_norm, norm) == 0); in zap_match()
H A Dzfs_ioctl.c3065 uint64_t norm = ZFS_PROP_UNDEFINED; in zfs_fill_zplprops_impl() local
3082 zfs_prop_to_name(ZFS_PROP_NORMALIZE), &norm); in zfs_fill_zplprops_impl()
3105 (norm != ZFS_PROP_UNDEFINED || u8 != ZFS_PROP_UNDEFINED || in zfs_fill_zplprops_impl()
3115 if (norm == ZFS_PROP_UNDEFINED && in zfs_fill_zplprops_impl()
3116 (error = zfs_get_zplprop(os, ZFS_PROP_NORMALIZE, &norm)) != 0) in zfs_fill_zplprops_impl()
3119 zfs_prop_to_name(ZFS_PROP_NORMALIZE), norm) == 0); in zfs_fill_zplprops_impl()
3124 if (norm) in zfs_fill_zplprops_impl()
/f-stack/freebsd/contrib/openzfs/module/os/freebsd/zfs/
H A Dzfs_znode.c1614 uint64_t norm = 0; in zfs_create_fs() local
1657 norm = val; in zfs_create_fs()
1708 zfsvfs->z_norm = norm; in zfs_create_fs()
/f-stack/freebsd/contrib/openzfs/module/zstd/lib/
H A Dzstd.c7840 norm[s]=0; in FSE_normalizeM2()
7844 norm[s] = -1; in FSE_normalizeM2()
7850 norm[s] = 1; in FSE_normalizeM2()
7856 norm[s]=NOT_YET_ASSIGNED; in FSE_normalizeM2()
7868 norm[s] = 1; in FSE_normalizeM2()
7890 if (norm[s] > 0) { ToDistribute--; norm[s]++; } in FSE_normalizeM2()
11315 S16 norm[MaxSeq + 1]; in ZSTD_NCountCost() local
11332 norm = 1; in ZSTD_entropyCost()
11386 unsigned const normAcc = (norm[s] != -1) ? (unsigned)norm[s] : 1; in ZSTD_crossEntropyCost()
11502 S16 norm[MaxSeq + 1]; in ZSTD_buildCTable() local
[all …]
/f-stack/freebsd/contrib/openzfs/module/os/linux/zfs/
H A Dzfs_znode.c1820 uint64_t norm = 0; in zfs_create_fs() local
1863 norm = val; in zfs_create_fs()
1911 zfsvfs->z_norm = norm; in zfs_create_fs()