/freebsd/lib/libc/iconv/ |
H A D | citrus_csmapper.c | 108 unsigned long norm; in find_best_pivot_pvdb() local 135 norm = val32; in find_best_pivot_pvdb() 149 norm += val32; in find_best_pivot_pvdb() 151 if (norm < *rnorm) { in find_best_pivot_pvdb() 152 *rnorm = norm; in find_best_pivot_pvdb() 183 unsigned long norm; member 210 pa->norm = _bcs_strtoul(buf, NULL, 0); in parse_line() 233 pasrc->norm += padst.norm; in find_dst() 269 if (pa.norm < norm_min) { in find_best_pivot_lookup() 270 norm_min = pa.norm; in find_best_pivot_lookup() [all …]
|
/freebsd/crypto/heimdal/lib/wind/ |
H A D | idn-lookup.c | 74 uint32_t *norm = malloc(norm_len * sizeof(uint32_t)); in lookup() local 78 if (norm == NULL && norm_len != 0) in lookup() 84 ret = wind_stringprep(u, u_len, norm, &norm_len, WIND_PROFILE_NAME); in lookup() 94 for (j = i; j < norm_len && !is_separator(norm[j]); ++j) in lookup() 97 ret = wind_punycode_label_toascii(norm + i, j - i, ep, &len); in lookup() 106 free(norm); in lookup()
|
/freebsd/sys/contrib/openzfs/module/zstd/lib/compress/ |
H A D | zstd_compress_sequences.c | 61 S16 norm[MaxSeq + 1]; in ZSTD_NCountCost() local 63 FORWARD_IF_ERROR(FSE_normalizeCount(norm, tableLog, count, nbSeq, max), ""); in ZSTD_NCountCost() 64 return FSE_writeNCount(wksp, sizeof(wksp), norm, max, tableLog); in ZSTD_NCountCost() 76 unsigned norm = (unsigned)((256 * count[s]) / total); in ZSTD_entropyCost() local 77 if (count[s] != 0 && norm == 0) in ZSTD_entropyCost() 78 norm = 1; in ZSTD_entropyCost() 80 cost += count[s] * kInverseProbabilityLog256[norm]; in ZSTD_entropyCost() 124 size_t ZSTD_crossEntropyCost(short const* norm, unsigned accuracyLog, in ZSTD_crossEntropyCost() argument 132 unsigned const normAcc = (norm[s] != -1) ? (unsigned)norm[s] : 1; in ZSTD_crossEntropyCost() 248 S16 norm[MaxSeq + 1]; in ZSTD_buildCTable() local [all …]
|
H A D | fse_compress.c | 348 static size_t FSE_normalizeM2(short* norm, U32 tableLog, const unsigned* count, size_t total, U32 m… in FSE_normalizeM2() argument 361 norm[s]=0; in FSE_normalizeM2() 365 norm[s] = -1; in FSE_normalizeM2() 371 norm[s] = 1; in FSE_normalizeM2() 377 norm[s]=NOT_YET_ASSIGNED; in FSE_normalizeM2() 388 if ((norm[s] == NOT_YET_ASSIGNED) && (count[s] <= lowOne)) { in FSE_normalizeM2() 389 norm[s] = 1; in FSE_normalizeM2() 404 norm[maxV] += (short)ToDistribute; in FSE_normalizeM2() 411 if (norm[s] > 0) { ToDistribute--; norm[s]++; } in FSE_normalizeM2() 420 if (norm[s]==NOT_YET_ASSIGNED) { in FSE_normalizeM2() [all …]
|
H A D | zstd_compress_sequences.h | 52 size_t ZSTD_crossEntropyCost(short const* norm, unsigned accuracyLog,
|
/freebsd/contrib/mandoc/ |
H A D | mdoc_man.c | 819 if (n->parent->tok == MDOC_Rs && n->parent->norm->Rs.quote_T) { in pre__t() 831 if (n->parent->tok == MDOC_Rs && n->parent->norm->Rs.quote_T) { in post__t() 915 switch (n->norm->An.auth) { in pre_an() 967 if (n->norm->Bd.type == DISP_unfilled || in pre_bd() 968 n->norm->Bd.type == DISP_literal) in pre_bd() 970 if (n->norm->Bd.comp == 0 && roff_node_prev(n->parent) != NULL) in pre_bd() 972 print_offs(n->norm->Bd.offs, 1); in pre_bd() 985 now = n->norm->Bd.type == DISP_unfilled || in post_bd() 986 n->norm->Bd.type == DISP_literal ? ROFF_nf : ROFF_fi; in post_bd() 1018 switch (n->norm->Bf.font) { in pre_bf() [all …]
|
H A D | mdoc_term.c | 585 if ((bl->tok == MDOC_Bd && bl->norm->Bd.comp) || in print_bvspace() 586 (bl->tok == MDOC_Bl && bl->norm->Bl.comp)) in print_bvspace() 601 nn->parent->parent->norm->Bl.type != LIST_item) in print_bvspace() 613 (bl->norm->Bl.type != LIST_column && in print_bvspace() 614 (bl->norm->Bl.type != LIST_diag || in print_bvspace() 638 type = bl->norm->Bl.type; in termp_it_pre() 670 if (bl->norm->Bl.offs != NULL) { in termp_it_pre() 671 offset = a2width(p, bl->norm->Bl.offs); in termp_it_pre() 692 ncols = bl->norm->Bl.ncols; in termp_it_pre() 705 su.scale = term_strlen(p, bl->norm->Bl.cols[i]) / in termp_it_pre() [all …]
|
H A D | mdoc_markdown.c | 862 switch (n->norm->An.auth) { in md_pre_An() 893 switch (n->norm->Bd.type) { in md_pre_Bd() 926 n->norm->Bl.count = 0; in md_pre_Bl() 927 if (n->norm->Bl.type == LIST_column) in md_pre_Bl() 936 n->norm->Bl.count = 0; in md_post_Bl() 937 if (n->norm->Bl.type == LIST_column) in md_post_Bl() 992 if (n->norm->Es == NULL || in md_pre_En() 993 n->norm->Es->child == NULL) in md_pre_En() 996 md_word(n->norm->Es->child->string); in md_pre_En() 1004 if (n->norm->Es == NULL || in md_post_En() [all …]
|
H A D | mdoc_validate.c | 352 np->parent->parent->norm->Bl.type != LIST_diag)) in mdoc_validate() 647 n->norm->Bl.type = LIST__NONE; in post_bl_norm() 697 if (n->norm->Bl.comp) in post_bl_norm() 700 n->norm->Bl.comp = 1; in post_bl_norm() 707 n->norm->Bl.width = "0n"; in post_bl_norm() 710 if (NULL != n->norm->Bl.width) in post_bl_norm() 715 n->norm->Bl.width = argv->value[0]; in post_bl_norm() 723 if (NULL != n->norm->Bl.offs) in post_bl_norm() 728 n->norm->Bl.offs = argv->value[0]; in post_bl_norm() 739 if (LIST__NONE != n->norm->Bl.type) { in post_bl_norm() [all …]
|
H A D | mdoc.c | 104 p->norm = body->norm; in mdoc_endbody_alloc() 128 p->norm = mandoc_calloc(1, sizeof(union mdoc_data)); in mdoc_block_alloc() 151 p->norm = mandoc_calloc(1, sizeof(union mdoc_data)); in mdoc_elem_alloc() 181 n->end == ENDBODY_NOT && n->norm->Bl.type == LIST_column) || in mdoc_ptext() 183 n->parent->norm->Bl.type == LIST_column)) { in mdoc_ptext() 376 n->end == ENDBODY_NOT && n->norm->Bl.type == LIST_column) || in mdoc_pmacro() 378 n->parent->norm->Bl.type == LIST_column)) { in mdoc_pmacro()
|
H A D | mdoc_html.c | 749 type = bl->norm->Bl.type; in mdoc_it_pre() 834 bl = &n->norm->Bl; in mdoc_bl_pre() 964 comp = n->norm->Bd.comp; in mdoc_bd_pre() 979 if (n->norm->Bd.offs != NULL && in mdoc_bd_pre() 980 strcmp(n->norm->Bd.offs, "left") != 0) in mdoc_bd_pre() 983 if (n->norm->Bd.type == DISP_literal) in mdoc_bd_pre() 1007 if (n->norm->An.auth == AUTH_split) { in mdoc_an_pre() 1012 if (n->norm->An.auth == AUTH_nosplit) { in mdoc_an_pre() 1418 if (FONT_Em == n->norm->Bf.font) in mdoc_bf_pre() 1420 else if (FONT_Sy == n->norm->Bf.font) in mdoc_bf_pre() [all …]
|
H A D | mdoc_state.c | 200 n->norm->Bl.type = LIST_diag; in state_bl() 203 n->norm->Bl.type = LIST_column; in state_bl()
|
/freebsd/sys/contrib/zstd/lib/compress/ |
H A D | zstd_compress_sequences.c | 74 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() 91 unsigned norm = (unsigned)((256 * count[s]) / total); in ZSTD_entropyCost() local 92 if (count[s] != 0 && norm == 0) in ZSTD_entropyCost() 93 norm = 1; in ZSTD_entropyCost() 95 cost += count[s] * kInverseProbabilityLog256[norm]; in ZSTD_entropyCost() 139 size_t ZSTD_crossEntropyCost(short const* norm, unsigned accuracyLog, in ZSTD_crossEntropyCost() argument 147 unsigned const normAcc = (norm[s] != -1) ? (unsigned)norm[s] : 1; in ZSTD_crossEntropyCost() 238 S16 norm[MaxSeq + 1]; member [all …]
|
H A D | fse_compress.c | 387 static size_t FSE_normalizeM2(short* norm, U32 tableLog, const unsigned* count, size_t total, U32 m… in FSE_normalizeM2() argument 400 norm[s]=0; in FSE_normalizeM2() 404 norm[s] = lowProbCount; in FSE_normalizeM2() 410 norm[s] = 1; in FSE_normalizeM2() 416 norm[s]=NOT_YET_ASSIGNED; in FSE_normalizeM2() 427 if ((norm[s] == NOT_YET_ASSIGNED) && (count[s] <= lowOne)) { in FSE_normalizeM2() 428 norm[s] = 1; in FSE_normalizeM2() 443 norm[maxV] += (short)ToDistribute; in FSE_normalizeM2() 450 if (norm[s] > 0) { ToDistribute--; norm[s]++; } in FSE_normalizeM2() 459 if (norm[s]==NOT_YET_ASSIGNED) { in FSE_normalizeM2() [all …]
|
H A D | zstd_compress_sequences.h | 52 size_t ZSTD_crossEntropyCost(short const* norm, unsigned accuracyLog,
|
/freebsd/contrib/llvm-project/libcxx/modules/std/ |
H A D | random.cppm |
|
/freebsd/sys/contrib/xz-embedded/linux/lib/xz/ |
H A D | xz_dec_bcj.c | 220 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()
|
/freebsd/sys/tools/sound/ |
H A D | feeder_eq_mkfilter.awk | 235 function feedeq_calc_preamp(norm, gain, shift, mul, bit, attn) 254 norm["mul"] = mul; 255 norm["shift"] = shift; 415 feedeq_calc_preamp(norm, i * FEEDEQ_GAIN_RECIPROCAL); 419 norm["mul"], norm["shift"], dbgain);
|
/freebsd/contrib/llvm-project/llvm/lib/Target/ARC/ |
H A D | ARC.td | 16 : SubtargetFeature<"norm", "Xnorm", "true", 17 "Enable support for norm instruction.">;
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/casenorm/ |
H A D | casenorm.kshlib | 92 typeset norm=$(get_norm $1) 94 if [[ $norm == "C" ]] ; then
|
/freebsd/sys/libkern/ |
H A D | fnmatch.c | 123 goto norm; in fnmatch() 141 norm: in fnmatch()
|
/freebsd/lib/libiconv_modules/iconv_std/ |
H A D | citrus_iconv_std.c | 217 unsigned long norm; in open_dsts() local 226 dbdst->db_charsets[i].ec_csname, &norm); in open_dsts() 229 sd->sd_norm = norm; in open_dsts() 232 if (sdtmp->sd_norm > norm) { in open_dsts()
|
/freebsd/lib/libc/gen/ |
H A D | fnmatch.c | 170 goto norm; in fnmatch1() 190 norm: in fnmatch1()
|
/freebsd/usr.bin/ctags/ |
H A D | C.c | 546 goto norm; in skip_key() 551 norm: in skip_key()
|
/freebsd/contrib/bearssl/src/codec/ |
H A D | pemdec.t0 | 124 : norm-upper ( x -- x ) 131 dup data-get8 norm-upper dup ifnot 2drop -1 ret then 132 read8 norm-upper dup `\n = if drop 2drop 0 ret then 147 dup `\r = if drop else norm-upper over set8 then
|