| /dragonfly/contrib/gmp/mpn/generic/ |
| HD | divrem_1.c | 159 int norm; in mpn_divrem_1() local 181 count_leading_zeros (norm, d); in mpn_divrem_1() 182 d <<= norm; in mpn_divrem_1() 183 r <<= norm; in mpn_divrem_1() 191 r |= (n1 >> (GMP_LIMB_BITS - norm)); in mpn_divrem_1() 196 (n1 << norm) | (n0 >> (GMP_NUMB_BITS - norm)), in mpn_divrem_1() 202 udiv_qrnnd (*qp, r, r, n1 << norm, d); in mpn_divrem_1() 212 return r >> norm; in mpn_divrem_1() 221 r |= (n1 >> (GMP_LIMB_BITS - norm)); in mpn_divrem_1() 226 ((n1 << norm) | (n0 >> (GMP_NUMB_BITS - norm))), in mpn_divrem_1() [all …]
|
| /dragonfly/lib/libc/citrus/ |
| HD | citrus_csmapper.c | 110 unsigned long norm; in find_best_pivot_pvdb() local 137 norm = val32; in find_best_pivot_pvdb() 151 norm += val32; in find_best_pivot_pvdb() 153 if (norm < *rnorm) { in find_best_pivot_pvdb() 154 *rnorm = norm; in find_best_pivot_pvdb() 185 unsigned long norm; member 212 pa->norm = _bcs_strtoul(buf, NULL, 0); in parse_line() 235 pasrc->norm += padst.norm; in find_dst() 271 if (pa.norm < norm_min) { in find_best_pivot_lookup() 272 norm_min = pa.norm; in find_best_pivot_lookup() [all …]
|
| /dragonfly/contrib/zstd/lib/compress/ |
| HD | 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() 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 …]
|
| HD | fse_compress.c | 351 static size_t FSE_normalizeM2(short* norm, U32 tableLog, const unsigned* count, size_t total, U32 m… in FSE_normalizeM2() argument 364 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() [all …]
|
| HD | zstd_compress_sequences.h | 52 size_t ZSTD_crossEntropyCost(short const* norm, unsigned accuracyLog,
|
| HD | huf_compress.c | 75 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()
|
| /dragonfly/contrib/mdocml/ |
| HD | 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 …]
|
| HD | mdoc_term.c | 587 if ((bl->tok == MDOC_Bd && bl->norm->Bd.comp) || in print_bvspace() 588 (bl->tok == MDOC_Bl && bl->norm->Bl.comp)) in print_bvspace() 603 nn->parent->parent->norm->Bl.type != LIST_item) in print_bvspace() 615 (bl->norm->Bl.type != LIST_column && in print_bvspace() 616 (bl->norm->Bl.type != LIST_diag || in print_bvspace() 640 type = bl->norm->Bl.type; in termp_it_pre() 672 if (bl->norm->Bl.offs != NULL) { in termp_it_pre() 673 offset = a2width(p, bl->norm->Bl.offs); in termp_it_pre() 694 ncols = bl->norm->Bl.ncols; in termp_it_pre() 707 term_strlen(p, bl->norm->Bl.cols[i])); in termp_it_pre() [all …]
|
| HD | 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 …]
|
| HD | 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 …]
|
| HD | 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()
|
| HD | mdoc_html.c | 736 type = bl->norm->Bl.type; in mdoc_it_pre() 821 bl = &n->norm->Bl; in mdoc_bl_pre() 951 comp = n->norm->Bd.comp; in mdoc_bd_pre() 966 if (n->norm->Bd.offs != NULL && in mdoc_bd_pre() 967 strcmp(n->norm->Bd.offs, "left") != 0) in mdoc_bd_pre() 970 if (n->norm->Bd.type == DISP_literal) in mdoc_bd_pre() 994 if (n->norm->An.auth == AUTH_split) { in mdoc_an_pre() 999 if (n->norm->An.auth == AUTH_nosplit) { in mdoc_an_pre() 1405 if (FONT_Em == n->norm->Bf.font) in mdoc_bf_pre() 1407 else if (FONT_Sy == n->norm->Bf.font) in mdoc_bf_pre() [all …]
|
| HD | mdoc_state.c | 196 n->norm->Bl.type = LIST_diag; in state_bl() 199 n->norm->Bl.type = LIST_column; in state_bl()
|
| HD | tag.c | 213 switch (np->parent->parent->norm->Bl.type) { in tag_move_id()
|
| HD | roff.h | 507 union mdoc_data *norm; /* Normalized arguments. */ member
|
| /dragonfly/sys/tools/sound/ |
| HD | feeder_eq_mkfilter.awk | 234 function feedeq_calc_preamp(norm, gain, shift, mul, bit, attn) 253 norm["mul"] = mul; 254 norm["shift"] = shift; 415 feedeq_calc_preamp(norm, i * FEEDEQ_GAIN_RECIPROCAL); 419 norm["mul"], norm["shift"], dbgain);
|
| /dragonfly/sys/dev/video/bktr/ |
| HD | msp34xx.c | 119 int norm; member 721 if (VIDEO_MODE_RADIO == msp->norm || in msp3400c_thread() 737 if (VIDEO_MODE_RADIO == msp->norm || in msp3400c_thread() 750 if (client->amsound && (msp->norm == VIDEO_MODE_SECAM)) { in msp3400c_thread() 789 if (client->amsound && (msp->norm == VIDEO_MODE_SECAM)) { in msp3400c_thread() 849 msp->norm == VIDEO_MODE_SECAM) { in msp3400c_thread() 986 switch (msp->norm) { in msp3410d_thread() 1047 if (client->amsound && (msp->norm == VIDEO_MODE_SECAM) && (val != 0x0009)) { in msp3410d_thread()
|
| /dragonfly/sys/libkern/ |
| HD | fnmatch.c | 131 goto norm; in _kfnmatch() 149 norm: in _kfnmatch()
|
| /dragonfly/games/mille/ |
| HD | comp.c | 73 goto norm; in calcmove() 79 goto norm; in calcmove() 85 goto norm; in calcmove() 88 norm: in calcmove()
|
| /dragonfly/lib/i18n_module/iconv_std/ |
| HD | citrus_iconv_std.c | 216 unsigned long norm; in open_dsts() local 225 dbdst->db_charsets[i].ec_csname, &norm); in open_dsts() 228 sd->sd_norm = norm; in open_dsts() 231 if (sdtmp->sd_norm > norm) { in open_dsts()
|
| /dragonfly/lib/libc/gen/ |
| HD | fnmatch.c | 176 goto norm; in fnmatch1() 195 norm: in fnmatch1()
|
| /dragonfly/usr.bin/ctags/ |
| HD | C.c | 515 goto norm; in skip_key() 520 norm: in skip_key()
|
| /dragonfly/contrib/gmp/ |
| HD | dumbmp.c | 731 int norm; in mpz_preinv_invert() local 734 norm = numb_bits - mpz_sizeinbase (d, 2); in mpz_preinv_invert() 735 ASSERT (norm >= 0); in mpz_preinv_invert() 737 mpz_mul_2exp (t, t, 2*numb_bits - norm); in mpz_preinv_invert()
|
| /dragonfly/gnu/usr.bin/mpc/ |
| HD | Makefile | 28 neg.c norm.c out_str.c pow.c pow_fr.c \
|
| /dragonfly/contrib/wpa_supplicant/src/tls/ |
| HD | libtommath.c | 1694 int res, n, t, i, norm, neg; in mp_div() local 1740 norm = mp_count_bits(&y) % DIGIT_BIT; in mp_div() 1741 if (norm < (int)(DIGIT_BIT-1)) { in mp_div() 1742 norm = (DIGIT_BIT-1) - norm; in mp_div() 1743 if ((res = mp_mul_2d (&x, norm, &x)) != MP_OKAY) { in mp_div() 1746 if ((res = mp_mul_2d (&y, norm, &y)) != MP_OKAY) { in mp_div() 1750 norm = 0; in mp_div() 1860 mp_div_2d (&x, norm, &x, NULL); in mp_div()
|