Home
last modified time | relevance | path

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

12345678

/netbsd-src/external/lgpl3/gmp/dist/mpn/sparc64/
H A Dmod_1.c62 int norm, norm_rshift; in mpn_mod_1_anynorm() local
110 count_leading_zeros_32 (norm, d_limb); in mpn_mod_1_anynorm()
111 norm -= 32; in mpn_mod_1_anynorm()
112 d_limb <<= norm; in mpn_mod_1_anynorm()
114 norm_rshift = 32 - norm; in mpn_mod_1_anynorm()
115 norm_rmask = (norm == 0 ? 0 : 0xFFFFFFFF); in mpn_mod_1_anynorm()
119 r = (r << norm) | ((n1 >> norm_rshift) & norm_rmask); in mpn_mod_1_anynorm()
128 nshift = (n1 << norm) | ((n0 >> norm_rshift) & norm_rmask); in mpn_mod_1_anynorm()
134 nshift = n1 << norm; in mpn_mod_1_anynorm()
137 ASSERT ((r & ((1 << norm) - 1)) == 0); in mpn_mod_1_anynorm()
[all …]
H A Ddivrem_1.c92 int norm, norm_rshift; in mpn_divrem_1() local
134 count_leading_zeros_32 (norm, d_limb); in mpn_divrem_1()
135 norm -= 32; in mpn_divrem_1()
136 d_limb <<= norm; in mpn_divrem_1()
137 r <<= norm; in mpn_divrem_1()
139 norm_rshift = 32 - norm; in mpn_divrem_1()
140 norm_rmask = (norm == 0 ? 0 : 0xFFFFFFFF); in mpn_divrem_1()
155 nshift = (n1 << norm) | ((n0 >> norm_rshift) & norm_rmask); in mpn_divrem_1()
160 nshift = n1 << norm; in mpn_divrem_1()
173 return r >> norm; in mpn_divrem_1()
[all …]
/netbsd-src/lib/libc/citrus/
H A Dcitrus_csmapper.c110 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 …]
/netbsd-src/crypto/external/bsd/heimdal/dist/lib/wind/
H A Didn-lookup.c76 uint32_t *norm = malloc(norm_len * sizeof(uint32_t)); in lookup() local
80 if (norm == NULL && norm_len != 0) in lookup()
86 ret = wind_stringprep(u, u_len, norm, &norm_len, WIND_PROFILE_NAME); in lookup()
96 for (j = i; j < norm_len && !is_separator(norm[j]); ++j) in lookup()
99 ret = wind_punycode_label_toascii(norm + i, j - i, ep, &len); in lookup()
108 free(norm); in lookup()
/netbsd-src/external/bsd/mdocml/dist/
H A Dmdoc_man.c797 if (n->parent->tok == MDOC_Rs && n->parent->norm->Rs.quote_T) { in pre__t()
809 if (n->parent->tok == MDOC_Rs && n->parent->norm->Rs.quote_T) { in post__t()
891 switch (n->norm->An.auth) { in pre_an()
944 if (DISP_unfilled == n->norm->Bd.type || in pre_bd()
945 DISP_literal == n->norm->Bd.type) in pre_bd()
947 if (0 == n->norm->Bd.comp && NULL != n->parent->prev) in pre_bd()
949 print_offs(n->norm->Bd.offs, 1); in pre_bd()
962 now = n->norm->Bd.type == DISP_unfilled || in post_bd()
963 n->norm->Bd.type == DISP_literal ? ROFF_nf : ROFF_fi; in post_bd()
995 switch (n->norm->Bf.font) { in pre_bf()
[all …]
H A Dmdoc_validate.c341 np->parent->parent->norm->Bl.type != LIST_diag)) in mdoc_validate()
636 n->norm->Bl.type = LIST__NONE; in post_bl_norm()
686 if (n->norm->Bl.comp) in post_bl_norm()
689 n->norm->Bl.comp = 1; in post_bl_norm()
696 n->norm->Bl.width = "0n"; in post_bl_norm()
699 if (NULL != n->norm->Bl.width) in post_bl_norm()
704 n->norm->Bl.width = argv->value[0]; in post_bl_norm()
712 if (NULL != n->norm->Bl.offs) in post_bl_norm()
717 n->norm->Bl.offs = argv->value[0]; in post_bl_norm()
728 if (LIST__NONE != n->norm->Bl.type) { in post_bl_norm()
[all …]
H A Dmdoc_term.c588 if (MDOC_Bd == bl->tok && bl->norm->Bd.comp) in print_bvspace()
590 if (MDOC_Bl == bl->tok && bl->norm->Bl.comp) in print_bvspace()
609 nn->parent->parent->norm->Bl.type != LIST_item) in print_bvspace()
615 if (MDOC_Bl == bl->tok && LIST_column == bl->norm->Bl.type) in print_bvspace()
621 if (MDOC_Bl == bl->tok && LIST_diag == bl->norm->Bl.type) in print_bvspace()
648 type = bl->norm->Bl.type; in termp_it_pre()
680 if (bl->norm->Bl.offs != NULL) { in termp_it_pre()
681 offset = a2width(p, bl->norm->Bl.offs); in termp_it_pre()
702 ncols = bl->norm->Bl.ncols; in termp_it_pre()
715 term_strlen(p, bl->norm->Bl.cols[i])); in termp_it_pre()
[all …]
H A Dmdoc_markdown.c847 switch (n->norm->An.auth) { in md_pre_An()
878 switch (n->norm->Bd.type) { in md_pre_Bd()
911 n->norm->Bl.count = 0; in md_pre_Bl()
912 if (n->norm->Bl.type == LIST_column) in md_pre_Bl()
921 n->norm->Bl.count = 0; in md_post_Bl()
922 if (n->norm->Bl.type == LIST_column) in md_post_Bl()
977 if (n->norm->Es == NULL || in md_pre_En()
978 n->norm->Es->child == NULL) in md_pre_En()
981 md_word(n->norm->Es->child->string); in md_pre_En()
989 if (n->norm->Es == NULL || in md_post_En()
[all …]
H A Dmdoc.c102 p->norm = body->norm; in mdoc_endbody_alloc()
126 p->norm = mandoc_calloc(1, sizeof(union mdoc_data)); in mdoc_block_alloc()
149 p->norm = mandoc_calloc(1, sizeof(union mdoc_data)); in mdoc_elem_alloc()
179 n->end == ENDBODY_NOT && n->norm->Bl.type == LIST_column) || in mdoc_ptext()
181 n->parent->norm->Bl.type == LIST_column)) { in mdoc_ptext()
373 n->end == ENDBODY_NOT && n->norm->Bl.type == LIST_column) || in mdoc_pmacro()
375 n->parent->norm->Bl.type == LIST_column)) { in mdoc_pmacro()
H A Dmdoc_html.c756 type = bl->norm->Bl.type; in mdoc_it_pre()
841 bl = &n->norm->Bl; in mdoc_bl_pre()
971 comp = n->norm->Bd.comp; in mdoc_bd_pre()
986 if (n->norm->Bd.offs != NULL && in mdoc_bd_pre()
987 strcmp(n->norm->Bd.offs, "left") != 0) in mdoc_bd_pre()
1011 if (n->norm->An.auth == AUTH_split) { in mdoc_an_pre()
1016 if (n->norm->An.auth == AUTH_nosplit) { in mdoc_an_pre()
1465 if (FONT_Em == n->norm->Bf.font) in mdoc_bf_pre()
1467 else if (FONT_Sy == n->norm->Bf.font) in mdoc_bf_pre()
1469 else if (FONT_Li == n->norm->Bf.font) in mdoc_bf_pre()
[all …]
/netbsd-src/sys/arch/m68k/fpsp/
H A Ddo_func.sa282 dc.l smod ; 00,00 norm,norm = normal
283 dc.l smod_oper ; 00,01 norm,zero = nan with operr
284 dc.l smod_fpn ; 00,10 norm,inf = fpn
285 dc.l smod_snan ; 00,11 norm,nan = nan
286 dc.l smod_zro ; 01,00 zero,norm = +-zero
290 dc.l smod_oper ; 10,00 inf,norm = nan with operr
294 dc.l smod_dnan ; 11,00 nan,norm = nan
314 * ;00 = norm or denorm
363 dc.l srem ; 00,00 norm,norm = normal
364 dc.l srem_oper ; 00,01 norm,zero = nan with operr
[all …]
H A Dtbldo.sa84 dc.l sint ;$01-0 fint norm
93 dc.l ssinh ;$02-0 fsinh norm
102 dc.l sintrz ;$03-0 fintrz norm
129 dc.l sslognp1 ;$06-0 flognp1 norm
147 dc.l setoxm1 ;$08-0 fetoxm1 norm
156 dc.l stanh ;$09-0 ftanh norm
165 dc.l satan ;$0a-0 fatan norm
183 dc.l sasin ;$0c-0 fasin norm
192 dc.l satanh ;$0d-0 fatanh norm
201 dc.l ssin ;$0e-0 fsin norm
[all …]
H A Dget_op.sa79 * routine which converts the unnorm to a norm (called mk_norm)
82 * norm. The instruction is then restored back into the '040
217 beq.b src_op_ck ;if dst op is norm, check src op
261 * ; (000 = norm, 100 = denorm)
289 * ; (000 = norm, 100 = denorm)
327 bsr mk_norm ;convert sgl/dbl denorm to norm
354 * Dest is not denormalized. Check for norm, and set fpte15
403 * Normalizes unnormalized numbers, sets tag to norm or denorm, sets unfl
408 * set tag = norm
415 * tag = norm
[all …]
/netbsd-src/sys/external/bsd/drm2/dist/drm/i2c/
H A Dch7006_mode.c187 if (~mode->valid_norms & 1<<priv->norm) in ch7006_lookup_mode()
210 const struct ch7006_tv_norm_info *norm = &ch7006_tv_norms[priv->norm]; in ch7006_setup_levels() local
216 if (norm->black_level < 339*fixed1/1000) { in ch7006_setup_levels()
226 black_level = round_fixed(norm->black_level*26625)/gain; in ch7006_setup_levels()
241 const struct ch7006_tv_norm_info *norm = &ch7006_tv_norms[priv->norm]; in ch7006_setup_subcarrier() local
246 * (norm->subc_freq >> 24)); in ch7006_setup_subcarrier()
336 const struct ch7006_tv_norm_info *norm = &ch7006_tv_norms[priv->norm]; in ch7006_setup_properties() local
351 scale = norm->vtotal*fixed1; in ch7006_setup_properties()
357 hpos = round_fixed((norm->hvirtual * aspect - mode->hdisplay * scale) in ch7006_setup_properties()
358 * priv->hmargin * mode->vtotal) / norm->vtotal / 100 / 4; in ch7006_setup_properties()
[all …]
H A Dch7006_drv.c128 const struct ch7006_tv_norm_info *norm = &ch7006_tv_norms[priv->norm]; in ch7006_encoder_mode_set() local
133 regs[CH7006_DISPMODE] = norm->dispmode | mode->dispmode; in ch7006_encoder_mode_set()
239 ~mode->valid_norms & 1<<priv->norm) in ch7006_encoder_get_modes()
273 priv->norm); in ch7006_encoder_create_resources()
327 priv->norm = val; in ch7006_encoder_set_property()
459 priv->norm = TV_NORM_PAL; in ch7006_encoder_init()
474 priv->norm = i; in ch7006_encoder_init()
/netbsd-src/crypto/external/bsd/heimdal/dist/lib/hcrypto/libtommath/
H A Dbn_mp_div.c108 int res, n, t, i, norm, neg; in mp_div() local
154 norm = mp_count_bits(&y) % DIGIT_BIT; in mp_div()
155 if (norm < (int)(DIGIT_BIT-1)) { in mp_div()
156 norm = (DIGIT_BIT-1) - norm; in mp_div()
157 if ((res = mp_mul_2d (&x, norm, &x)) != MP_OKAY) { in mp_div()
160 if ((res = mp_mul_2d (&y, norm, &y)) != MP_OKAY) { in mp_div()
164 norm = 0; in mp_div()
274 mp_div_2d (&x, norm, &x, NULL); in mp_div()
/netbsd-src/external/lgpl3/gmp/dist/
H A Dbootstrap.c95 int norm; in mpz_preinv_invert() local
98 norm = numb_bits - mpz_sizeinbase (d, 2); in mpz_preinv_invert()
99 assert (norm >= 0); in mpz_preinv_invert()
101 mpz_setbit (t, 2*numb_bits - norm); in mpz_preinv_invert()
/netbsd-src/external/gpl3/gcc.old/dist/libgcc/config/arc/
H A Dlib1funcs.S94 norm.f r2,r0
387 norm.f r2,r1
389 norm r3,r0
437 norm r2,r2
438 norm r3,r1
575 ;; We can use the abs, norm, divaw and mpy instructions for ARC700
847 norm r3,r2
857 norm r3,r1
860 norm r4,r0
905 norm r4,r0
[all …]
/netbsd-src/external/gpl3/gcc/dist/libgcc/config/arc/
H A Dlib1funcs.S94 norm.f r2,r0
387 norm.f r2,r1
389 norm r3,r0
437 norm r2,r2
438 norm r3,r1
575 ;; We can use the abs, norm, divaw and mpy instructions for ARC700
847 norm r3,r2
857 norm r3,r1
860 norm r4,r0
905 norm r4,r0
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/gcc/cp/
H A Dconstraint.cc848 tree norm = get_normalized_constraints_from_info (ci, args, tmpl, diag); in get_normalized_constraints_from_decl() local
851 hash_map_safe_put<hm_ggc> (normalized_map, tmpl, norm); in get_normalized_constraints_from_decl()
853 return norm; in get_normalized_constraints_from_decl()
873 tree norm = get_normalized_constraints (def, args, info); in normalize_concept_definition() local
877 hash_map_safe_put<hm_ggc> (normalized_map, tmpl, norm); in normalize_concept_definition()
879 return norm; in normalize_concept_definition()
907 tree norm = get_normalized_constraints (expr, args, info); in normalize_constraint_expression() local
909 return norm; in normalize_constraint_expression()
2023 tree norm = TREE_VALUE (TREE_TYPE (t)); in tsubst_nested_requirement() local
2024 tree result = satisfy_constraint (norm, args, info); in tsubst_nested_requirement()
[all …]
/netbsd-src/external/gpl3/gdb.old/dist/opcodes/
H A Dia64-waw.tbl98norm-writers-fp+1, IC:pr-norm-writers-int+1, IC:pr-and-writers+1, IC:mov-to-PR-allreg+7; IC:pr-unc…
101norm-writers-fp+1, IC:pr-norm-writers-int+1, IC:pr-and-writers+1, IC:mov-to-PR-allreg+7, IC:mov-to…
104norm-writers-fp+1, IC:pr-norm-writers-int+1, IC:pr-and-writers+1, IC:mov-to-PR-allreg+7, IC:mov-to…
/netbsd-src/external/gpl3/binutils/dist/opcodes/
H A Dia64-waw.tbl98norm-writers-fp+1, IC:pr-norm-writers-int+1, IC:pr-and-writers+1, IC:mov-to-PR-allreg+7; IC:pr-unc…
101norm-writers-fp+1, IC:pr-norm-writers-int+1, IC:pr-and-writers+1, IC:mov-to-PR-allreg+7, IC:mov-to…
104norm-writers-fp+1, IC:pr-norm-writers-int+1, IC:pr-and-writers+1, IC:mov-to-PR-allreg+7, IC:mov-to…
/netbsd-src/external/gpl3/binutils.old/dist/opcodes/
H A Dia64-waw.tbl98norm-writers-fp+1, IC:pr-norm-writers-int+1, IC:pr-and-writers+1, IC:mov-to-PR-allreg+7; IC:pr-unc…
101norm-writers-fp+1, IC:pr-norm-writers-int+1, IC:pr-and-writers+1, IC:mov-to-PR-allreg+7, IC:mov-to…
104norm-writers-fp+1, IC:pr-norm-writers-int+1, IC:pr-and-writers+1, IC:mov-to-PR-allreg+7, IC:mov-to…
/netbsd-src/external/gpl3/gdb/dist/opcodes/
H A Dia64-waw.tbl98norm-writers-fp+1, IC:pr-norm-writers-int+1, IC:pr-and-writers+1, IC:mov-to-PR-allreg+7; IC:pr-unc…
101norm-writers-fp+1, IC:pr-norm-writers-int+1, IC:pr-and-writers+1, IC:mov-to-PR-allreg+7, IC:mov-to…
104norm-writers-fp+1, IC:pr-norm-writers-int+1, IC:pr-and-writers+1, IC:mov-to-PR-allreg+7, IC:mov-to…
/netbsd-src/sys/dev/ic/
H A Daac.c563 int nsegs, i, rv, state, norm, high; in aac_init() local
701 norm = htole32(AAC_HOST_NORM_CMD_ENTRIES); in aac_init()
705 norm; in aac_init()
707 norm; in aac_init()
713 norm = htole32(AAC_ADAP_NORM_CMD_ENTRIES); in aac_init()
717 norm; in aac_init()
719 norm; in aac_init()
725 norm = htole32(AAC_HOST_NORM_RESP_ENTRIES); in aac_init()
729 qt_qindex[AAC_HOST_NORM_RESP_QUEUE][AAC_PRODUCER_INDEX] = norm; in aac_init()
731 qt_qindex[AAC_HOST_NORM_RESP_QUEUE][AAC_CONSUMER_INDEX] = norm; in aac_init()
[all …]

12345678