Home
last modified time | relevance | path

Searched refs:tn (Results 1 – 25 of 146) sorted by relevance

123456

/netbsd-src/external/apache2/llvm/dist/llvm/utils/unittest/googlemock/include/gmock/
H A Dgmock-generated-function-mockers.h120 #define GMOCK_RESULT_(tn, ...) \ argument
121 tn ::testing::internal::Function<__VA_ARGS__>::Result
125 #define GMOCK_ARG_(tn, N, ...) \ argument
126 tn ::testing::internal::Function<__VA_ARGS__>::template Arg<N-1>::type
130 #define GMOCK_MATCHER_(tn, N, ...) \ argument
131 const ::testing::Matcher<GMOCK_ARG_(tn, N, __VA_ARGS__)>&
139 #define GMOCK_METHOD0_(tn, constness, ct, Method, ...) \ argument
143 GMOCK_RESULT_(tn, __VA_ARGS__) ct Method( \
163 #define GMOCK_METHOD1_(tn, constness, ct, Method, ...) \ argument
167 GMOCK_RESULT_(tn, __VA_ARGS__) ct Method( \
[all …]
/netbsd-src/usr.bin/xlint/lint1/
H A Dfunc.c416 check_case_label_enum(const tnode_t *tn, const control_statement *cs) in check_case_label_enum() argument
420 if (!(tn->tn_type->t_is_enum || cs->c_switch_type->t_is_enum)) in check_case_label_enum()
422 if (tn->tn_type->t_is_enum && cs->c_switch_type->t_is_enum && in check_case_label_enum()
423 tn->tn_type->u.enumer == cs->c_switch_type->u.enumer) in check_case_label_enum()
429 type_name(tn->tn_type)); in check_case_label_enum()
462 check_case_label(tnode_t *tn) in check_case_label() argument
474 if (tn == NULL) in check_case_label()
477 if (tn->tn_op != CON) { in check_case_label()
483 if (!is_integer(tn->tn_type->t_tspec)) { in check_case_label()
489 check_case_label_bitand(tn, c in check_case_label()
517 case_label(tnode_t * tn) case_label() argument
551 check_controlling_expression(tnode_t * tn,bool is_do_while) check_controlling_expression() argument
577 stmt_if_expr(tnode_t * tn) stmt_if_expr() argument
615 stmt_switch_expr(tnode_t * tn) stmt_switch_expr() argument
715 stmt_while_expr(tnode_t * tn) stmt_while_expr() argument
760 stmt_do_while_expr(tnode_t * tn) stmt_do_while_expr() argument
908 is_parenthesized(const tnode_t * tn) is_parenthesized() argument
916 check_return_value(bool sys,tnode_t * tn) check_return_value() argument
946 stmt_return(bool sys,tnode_t * tn) stmt_return() argument
[all...]
H A Dtree.c489 ic_expr(const tnode_t *tn) in build_name_call()
493 lint_assert(is_integer(tn->tn_type->t_tspec)); in build_name_call()
495 switch (tn->tn_op) {
497 lc = ic_expr(tn->u.ops.left);
498 rc = ic_expr(tn->u.ops.right); in build_name()
499 return ic_mult(tn->tn_type, lc, rc); in build_name()
501 lc = ic_expr(tn->u.ops.left); in build_name()
502 rc = ic_expr(tn->u.ops.right); in build_name()
503 return ic_div(tn->tn_type, lc, rc); in build_name()
505 lc = ic_expr(tn in build_name()
277 ic_expr(const tnode_t * tn) ic_expr() argument
321 possible_bits(const tnode_t * tn) possible_bits() argument
588 is_out_of_char_range(const tnode_t * tn) is_out_of_char_range() argument
741 apply_usual_arithmetic_conversions(op_t op,tnode_t * tn,tspec_t t) apply_usual_arithmetic_conversions() argument
793 build_address(bool sys,tnode_t * tn,bool force) build_address() argument
978 fold_constant_integer(tnode_t * tn) fold_constant_integer() argument
1256 is_null_pointer(const tnode_t * tn) is_null_pointer() argument
1347 is_cast_redundant(const tnode_t * tn) is_cast_redundant() argument
1552 check_precedence_confusion(tnode_t * tn) check_precedence_confusion() argument
1576 fold_constant_compare_zero(tnode_t * tn) fold_constant_compare_zero() argument
1649 fold_constant_floating(tnode_t * tn) fold_constant_floating() argument
1734 use(const tnode_t * tn) use() argument
1917 build_unary(op_t op,bool sys,tnode_t * tn) build_unary() argument
1998 remove_unknown_member(tnode_t * tn,sym_t * msym) remove_unknown_member() argument
2023 struct_or_union_member(tnode_t * tn,op_t op,sym_t * msym) struct_or_union_member() argument
2117 cconv(tnode_t * tn) cconv() argument
2143 before_conversion(const tnode_t * tn) before_conversion() argument
2201 typeok_incdec(op_t op,const tnode_t * tn,const type_t * tp) typeok_incdec() argument
2220 typeok_address(op_t op,const tnode_t * tn,const type_t * tp,tspec_t t) typeok_address() argument
2690 is_direct_function_call(const tnode_t * tn,const char ** out_name) is_direct_function_call() argument
2714 is_const_char_pointer(const tnode_t * tn) is_const_char_pointer() argument
2739 is_const_pointer(const tnode_t * tn) is_const_pointer() argument
2934 has_side_effect(const tnode_t * tn) has_side_effect() argument
2961 is_void_cast(const tnode_t * tn) is_void_cast() argument
2969 is_local_symbol(const tnode_t * tn) is_local_symbol() argument
2978 is_int_constant_zero(const tnode_t * tn) is_int_constant_zero() argument
2987 check_null_effect(const tnode_t * tn) check_null_effect() argument
3248 promote_c90(const tnode_t * tn,tspec_t t,bool farg) promote_c90() argument
3284 promote(op_t op,bool farg,tnode_t * tn) promote() argument
3313 check_lossy_floating_to_integer_conversion(op_t op,int arg,const type_t * tp,const tnode_t * tn) check_lossy_floating_to_integer_conversion() argument
3331 convert_integer_from_floating(op_t op,int arg,const type_t * tp,const tnode_t * tn) convert_integer_from_floating() argument
3392 check_prototype_conversion(int arg,tspec_t nt,tspec_t ot,type_t * tp,tnode_t * tn) check_prototype_conversion() argument
3422 can_represent(const type_t * tp,const tnode_t * tn) can_represent() argument
3468 convert_integer_from_integer(op_t op,int arg,tspec_t nt,tspec_t ot,type_t * tp,tnode_t * tn) convert_integer_from_integer() argument
3514 convert_integer_from_pointer(op_t op,tspec_t nt,type_t * tp,tnode_t * tn) convert_integer_from_pointer() argument
3619 convert_pointer_from_pointer(type_t * ntp,tnode_t * tn) convert_pointer_from_pointer() argument
3676 convert(op_t op,int arg,type_t * tp,tnode_t * tn) convert() argument
4006 tnode_t *tn = build_integer_constant(SIZEOF_TSPEC, size_in_bytes); build_sizeof() local
4048 tnode_t *tn = build_integer_constant(SIZEOF_TSPEC, offset_in_bytes); build_offsetof() local
4164 null_pointer_offset(tnode_t * tn) null_pointer_offset() argument
4185 cast(tnode_t * tn,bool sys,type_t * tp) cast() argument
4280 check_prototype_argument(int n,type_t * tp,tnode_t * tn) check_prototype_argument() argument
4389 integer_constant(tnode_t * tn,bool required) integer_constant() argument
4435 is_constcond_false(const tnode_t * tn,tspec_t t) is_constcond_false() argument
4450 expr(tnode_t * tn,bool vctx,bool cond,bool dofreeblk,bool is_do_while) expr() argument
4581 check_expr_call(const tnode_t * tn,const tnode_t * ln,bool szof,bool vctx,bool cond,bool retval_discarded) check_expr_call() argument
4650 check_expr_misc(const tnode_t * tn,bool vctx,bool cond,bool eqwarn,bool fcall,bool retval_discarded,bool szof) check_expr_misc() argument
4735 constant_addr(const tnode_t * tn,const sym_t ** symp,ptrdiff_t * offsp) constant_addr() argument
4855 do_statement_expr(tnode_t * tn) do_statement_expr() argument
4871 tnode_t *tn; end_statement_expr() local
[all...]
H A Ddebug.c196 debug_node(const tnode_t *tn) // NOLINT(misc-no-recursion) in debug_node()
199 if (tn == NULL) { in debug_node()
204 op_t op = tn->tn_op; in debug_node()
206 op == CVT && tn->tn_cast ? "cast" : op_name(op)); in debug_node()
209 tn->u.sym->s_name, in debug_node()
210 scl_name(tn->u.sym->s_scl)); in debug_node()
213 debug_printf(" '%s'", type_name(tn->tn_type)); in debug_node()
214 if (tn->tn_lvalue) in debug_node()
216 if (tn->tn_parenthesized) in debug_node()
218 if (tn in debug_node()
192 debug_node(const tnode_t * tn) debug_node() argument
[all...]
H A Dckbool.c54 is_int_constant_zero(const tnode_t *tn, tspec_t t) in is_int_constant_zero() argument
56 return t == INT && tn->tn_op == CON && tn->u.value.u.integer == 0; in is_int_constant_zero()
187 is_typeok_bool_compares_with_zero(const tnode_t *tn, bool is_do_while) in is_typeok_bool_compares_with_zero() argument
189 while (tn->tn_op == COMMA) in is_typeok_bool_compares_with_zero()
190 tn = tn->u.ops.right; in is_typeok_bool_compares_with_zero()
191 tn = before_conversion(tn); in is_typeok_bool_compares_with_zero()
193 return tn->tn_type->t_tspec == BOOL in is_typeok_bool_compares_with_zero()
194 || tn->tn_op == BITAND in is_typeok_bool_compares_with_zero()
195 || (is_do_while && is_int_constant_zero(tn, tn->tn_type->t_tspec)) in is_typeok_bool_compares_with_zero()
196 || (tn->tn_sys && is_scalar(tn->tn_type->t_tspec)); in is_typeok_bool_compares_with_zero()
H A Dckgetopt.c80 is_getopt_condition(const tnode_t *tn, char **out_options) in is_getopt_condition() argument
86 if (tn != NULL in is_getopt_condition()
87 && tn->tn_op == NE in is_getopt_condition()
89 && tn->u.ops.right->tn_op == CON in is_getopt_condition()
90 && tn->u.ops.right->u.value.v_tspec == INT in is_getopt_condition()
91 && tn->u.ops.right->u.value.u.integer == -1 in is_getopt_condition()
93 && tn->u.ops.left->tn_op == ASSIGN in is_getopt_condition()
94 && tn->u.ops.left->u.ops.right->tn_op == CALL in is_getopt_condition()
95 && (call = tn->u.ops.left->u.ops.right->u.call)->func->tn_op == ADDR in is_getopt_condition()
144 check_getopt_begin_while(const tnode_t *tn) in check_getopt_begin_while() argument
[all …]
H A Dlint1.h664 constant_is_nonzero(const tnode_t *tn) in is_zero()
666 lint_assert(tn->tn_op == CON);
667 lint_assert(tn->tn_type->t_tspec == tn->u.value.v_tspec);
668 return is_nonzero_val(&tn->u.value); in is_nonzero() argument
672 is_zero(const tnode_t *tn)
674 return tn != NULL && tn->tn_op == CON && !is_nonzero_val(&tn->u.value); in op_name()
678 is_nonzero(const tnode_t *tn)
654 constant_is_nonzero(const tnode_t * tn) constant_is_nonzero() argument
662 is_zero(const tnode_t * tn) is_zero() argument
680 is_binary(const tnode_t * tn) is_binary() argument
[all...]
H A Dinit.c214 check_non_constant_initializer(const tnode_t *tn, const sym_t *sym) in check_non_constant_initializer() argument
217 if (tn == NULL || tn->tn_op == CON) in check_non_constant_initializer()
222 if (constant_addr(tn, &unused_sym, &unused_offs)) in check_non_constant_initializer()
835 tnode_t *tn = build_binary(ln, INIT, false /* XXX */, rn); in initialization_expr_using_op() local
836 expr(tn, false, false, false, false, "init"); in initialization_expr_using_op()
843 initialization_init_array_from_string(initialization *in, tnode_t *tn) in initialization_init_array_from_string() argument
846 if (tn->tn_op != STRING) in initialization_init_array_from_string()
851 if (!can_init_character_array(tp, tn)) in initialization_init_array_from_string()
854 size_t len = tn in initialization_init_array_from_string()
882 initialization_expr(initialization * in,tnode_t * tn) initialization_expr() argument
991 init_expr(tnode_t * tn) init_expr() argument
[all...]
/netbsd-src/external/lgpl3/gmp/dist/mpn/generic/
H A Dmu_bdiv_q.c77 mp_size_t tn, wn; in mpn_mu_bdiv_q_old() local
94 #define scratch_out (scratch + in + dn + tn) /* mulmod_bnm1_itch(next_size(dn)) */ in mpn_mu_bdiv_q_old()
123 tn = mpn_mulmod_bnm1_next_size (dn); in mpn_mu_bdiv_q_old()
124 mpn_mulmod_bnm1 (tp, tn, dp, dn, qp, in, scratch_out); in mpn_mu_bdiv_q_old()
125 wn = dn + in - tn; /* number of wrapped limbs */ in mpn_mu_bdiv_q_old()
128 c0 = mpn_sub_n (tp + tn, tp, rp, wn); in mpn_mu_bdiv_q_old()
159 tn = mpn_mulmod_bnm1_next_size (dn); in mpn_mu_bdiv_q_old()
160 mpn_mulmod_bnm1 (tp, tn, dp, dn, qp, in, scratch_out); in mpn_mu_bdiv_q_old()
161 wn = dn + in - tn; /* number of wrapped limbs */ in mpn_mu_bdiv_q_old()
164 c0 = mpn_sub_n (tp + tn, tp, rp, wn); in mpn_mu_bdiv_q_old()
[all …]
H A Dmu_bdiv_qr.c77 mp_size_t tn, wn; in mpn_mu_bdiv_qr_old() local
93 #define scratch_out (scratch + in + tn)/* mulmod_bnm1_itch(next_size(dn)) */ in mpn_mu_bdiv_qr_old()
121 tn = mpn_mulmod_bnm1_next_size (dn); in mpn_mu_bdiv_qr_old()
122 mpn_mulmod_bnm1 (tp, tn, dp, dn, qp, in, scratch_out); in mpn_mu_bdiv_qr_old()
123 wn = dn + in - tn; /* number of wrapped limbs */ in mpn_mu_bdiv_qr_old()
126 c0 = mpn_sub_n (tp + tn, tp, rp, wn); in mpn_mu_bdiv_qr_old()
156 tn = mpn_mulmod_bnm1_next_size (dn); in mpn_mu_bdiv_qr_old()
157 mpn_mulmod_bnm1 (tp, tn, dp, dn, qp, qn, scratch_out); in mpn_mu_bdiv_qr_old()
158 wn = dn + qn - tn; /* number of wrapped limbs */ in mpn_mu_bdiv_qr_old()
161 c0 = mpn_sub_n (tp + tn, tp, rp, wn); in mpn_mu_bdiv_qr_old()
[all …]
H A Dsqrtrem.c435 mp_size_t rn, tn; local
498 tn = (nn + 1) / 2; /* 2*tn is the smallest even integer >= nn */
501 return mpn_dc_sqrt (sp, np, tn, c, nn & 1);
507 TMP_ALLOC_LIMBS_2 (tp, 2 * tn, scratch, tn / 2 + 1);
515 rl = mpn_dc_sqrtrem (sp, tp, tn, (rp == NULL) ? mask - 1 : 0, scratch);
519 rl += mpn_addmul_1 (tp, sp, tn, 2 * s0[0]); /* R = R + 2*s0*S */
521 rl -= (tn > 1) ? mpn_sub_1 (tp + 1, tp + 1, tn - 1, cc) : cc;
522 mpn_rshift (sp, sp, tn, c);
523 tp[tn] = rl;
528 tn++;
[all …]
/netbsd-src/external/gpl3/gdb/dist/sim/testsuite/frv/
H A Dtn.cgs1 # frv testcase for tn $ICCi_2,$GRi,$GRj
8 .global tn
9 tn:
21 tn icc0,gr7,gr8 ; should branch to tbr + (128 + 4)*16
25 tn icc0,gr7,gr8 ; should branch to tbr + (128 + 4)*16
29 tn icc0,gr7,gr8 ; should branch to tbr + (128 + 4)*16
33 tn icc0,gr7,gr8 ; should branch to tbr + (128 + 4)*16
37 tn icc0,gr7,gr8 ; should branch to tbr + (128 + 4)*16
41 tn icc0,gr7,gr8 ; should branch to tbr + (128 + 4)*16
45 tn icc0,gr7,gr8 ; should branch to tbr + (128 + 4)*16
[all …]
/netbsd-src/external/lgpl3/gmp/dist/rand/
H A Drandlc2x.c76 mp_size_t tn, seedn, an; in lc() local
100 tn = BITS_TO_LIMBS (m2exp); in lc()
101 if (ta <= tn) /* that is, if (ta < tn + 1) */ in lc()
104 ta = tn + 1; in lc()
117 ASSERT (tn >= p->_cn); in lc()
118 __GMPN_ADD (cy, tp, tp, tn, p->_cp, p->_cn); in lc()
124 MPN_COPY (PTR (p->_mp_seed), tp, tn); in lc()
130 tn -= xn; in lc()
131 if (tn > 0) in lc()
136 mpn_rshift (tp, tp + xn, tn, cnt); in lc()
[all …]
/netbsd-src/external/bsd/libbind/dist/doc/
H A Dgetnetent.cat34 …ggeettnneetteenntt, ggeettnneettbbyyaaddddrr, ggeettnneettbbyynnaam…
11 ggeettnneetteenntt();
14 ggeettnneettbbyynnaammee(_c_h_a_r _n_a_m_e);
17 …ggeettnneettbbyyaaddddrr(_u_n_s_i_g_n_e_d _l_o_n_g _n_e_t, _i_n_t _…
20 sseettnneetteenntt(_i_n_t _s_t_a_y_o_p_e_n);
26 …The ggeettnneetteenntt(), ggeettnneettbbyynnaammee(), and ggeettnneettb…
48 …If the _s_t_a_y_o_p_e_n flag on a sseettnneetteenntt() subroutine is NULL, the _…
49 database is opened. Otherwise, the sseettnneetteenntt() has the effect of rewind-
53 The ggeettnneetteenntt() subroutine simply reads the next line while
54 …ggeettnneettbbyynnaammee() and ggeettnneettbbyyaaddddrr() search until a m…
[all …]
/netbsd-src/usr.bin/fstat/
H A Dtmpfs.c50 struct tmpfs_node tn; in tmpfs_filestat() local
53 if (!KVM_READ(VP_TO_TMPFS_NODE(vp), &tn, sizeof(tn))) { in tmpfs_filestat()
65 fsp->fileid = tn.tn_id; in tmpfs_filestat()
66 fsp->mode = tn.tn_mode | getftype(vp->v_type); in tmpfs_filestat()
67 fsp->size = tn.tn_size; in tmpfs_filestat()
68 switch (tn.tn_type) { in tmpfs_filestat()
71 fsp->rdev = tn.tn_spec.tn_dev.tn_rdev; in tmpfs_filestat()
/netbsd-src/external/lgpl3/gmp/dist/mpz/
H A Dpowm_ui.c127 mp_size_t xn, tn, mn, bn; in mpz_powm_ui() local
207 tn = 2 * xn; tn -= tp[tn - 1] == 0; in mpz_powm_ui()
208 if (tn < mn) in mpz_powm_ui()
210 MPN_COPY (xp, tp, tn); in mpz_powm_ui()
211 xn = tn; in mpz_powm_ui()
215 mod (tp, tn, mp, mn, &dinv, scratch); in mpz_powm_ui()
223 tn = xn + bn; tn -= tp[tn - 1] == 0; in mpz_powm_ui()
224 if (tn < mn) in mpz_powm_ui()
226 MPN_COPY (xp, tp, tn); in mpz_powm_ui()
227 xn = tn; in mpz_powm_ui()
[all …]
H A Doddfac_1.c306 mp_limb_t tn; in mpz_oddfac_1() local
317 for (tn = n; ABOVE_THRESHOLD (tn, FAC_DSC_THRESHOLD); s++) in mpz_oddfac_1()
318 tn >>= 1; in mpz_oddfac_1()
323 factors = TMP_SALLOC_LIMBS (1 + tn / FACTORS_PER_LIMB); in mpz_oddfac_1()
324 ASSERT (tn >= FACTORS_PER_LIMB); in mpz_oddfac_1()
333 ASSERT (tn > ODD_DOUBLEFACTORIAL_TABLE_LIMIT + 1); in mpz_oddfac_1()
340 } while (i <= tn); in mpz_oddfac_1()
342 tn >>= 1; in mpz_oddfac_1()
343 } while (tn > ODD_DOUBLEFACTORIAL_TABLE_LIMIT + 1); in mpz_oddfac_1()
346 factors[j++] = __gmp_odd2fac_table[(tn - 1) >> 1]; in mpz_oddfac_1()
[all …]
/netbsd-src/external/cddl/osnet/dist/uts/common/fs/zfs/
H A Dtxg.c754 txg_node_t *tn = (txg_node_t *)((char *)p + tl->tl_offset); in txg_list_add() local
758 add = (tn->tn_member[t] == 0); in txg_list_add()
760 tn->tn_member[t] = 1; in txg_list_add()
761 tn->tn_next[t] = tl->tl_head[t]; in txg_list_add()
762 tl->tl_head[t] = tn; in txg_list_add()
778 txg_node_t *tn = (txg_node_t *)((char *)p + tl->tl_offset); in txg_list_add_tail() local
782 add = (tn->tn_member[t] == 0); in txg_list_add_tail()
789 tn->tn_member[t] = 1; in txg_list_add_tail()
790 tn->tn_next[t] = NULL; in txg_list_add_tail()
791 *tp = tn; in txg_list_add_tail()
[all …]
/netbsd-src/external/lgpl3/gmp/dist/mini-gmp/tests/
H A Dt-str.c210 size_t tn; in testmain() local
212 tn = mpz_out_str (tmp, (i&1 || base > 36) ? base: -base, a); in testmain()
213 if (tn != rn) in testmain()
219 base, (unsigned) rn, (unsigned)tn); in testmain()
224 tn = fread (bp, 1, rn, tmp); in testmain()
225 if (tn != rn) in testmain()
229 (unsigned long) rn, (unsigned long) tn); in testmain()
264 size_t tn = mpz_size (a); in testmain() local
266 assert (tn <= MAXLIMBS); in testmain()
267 mpn_copyi (t, a->_mp_d, tn); in testmain()
[all …]
H A Dt-limbs.c35 mp_size_t tn, an, bn; in my_mpz_mul() local
43 tn = an + bn; in my_mpz_mul()
44 tp = mpz_limbs_write (r, tn); in my_mpz_mul()
51 tn = - tn; in my_mpz_mul()
53 mpz_limbs_finish (r, tn); in my_mpz_mul()
/netbsd-src/external/lgpl3/mpfr/dist/src/
H A Drec_sqrt.c215 mp_size_t xn, rn, th, ln, tn, sn, ahn, un; in mpfr_mpn_rec_sqrt() local
243 tn = LIMB_SIZE(2 * h + 1 + as); in mpfr_mpn_rec_sqrt()
258 un = xn + (tn - th); in mpfr_mpn_rec_sqrt()
317 t = s + sn - tn; /* pointer to low limb of the high part of t */ in mpfr_mpn_rec_sqrt()
327 neg = t[tn - 1] & (MPFR_LIMB_HIGHBIT >> as); in mpfr_mpn_rec_sqrt()
334 t[tn - 1] |= MPFR_LIMB_HIGHBIT | (MPFR_LIMB_HIGHBIT >> as); in mpfr_mpn_rec_sqrt()
335 MPFR_COM_N (t, t, tn); in mpfr_mpn_rec_sqrt()
344 t[tn - 1] ^= neg; in mpfr_mpn_rec_sqrt()
345 mpn_add_1 (t, t, tn, 1); in mpfr_mpn_rec_sqrt()
347 tn -= th; /* we know at least th = floor((h+1+as-3)/GMP_NUMB_LIMBS) of in mpfr_mpn_rec_sqrt()
[all …]
H A Dround_prec.c182 mp_size_t k, k1, tn; in mpfr_can_round_raw() local
382 tn = bn; in mpfr_can_round_raw()
384 tmp = MPFR_TMP_LIMBS_ALLOC (tn); in mpfr_can_round_raw()
403 for (tn = 0; tn + 1 < k1 && cy != 0; tn ++) in mpfr_can_round_raw()
404 cy = bp[bn + tn] == MPFR_LIMB_MAX; in mpfr_can_round_raw()
433 for (tn = 0; tn + 1 < k1 && cy != 0; tn ++) in mpfr_can_round_raw()
434 cy = bp[bn + tn] == MPFR_LIMB_MAX; in mpfr_can_round_raw()
468 for (tn = 0; tn < k1 && cy != 0; tn ++) in mpfr_can_round_raw()
469 cy = mpn_sub_1 (&tmp_hi, bp + bn + tn, 1, cy); in mpfr_can_round_raw()
492 if (tn == k1 && tmp_hi < MPFR_LIMB_HIGHBIT) /* exponent decrease */ in mpfr_can_round_raw()
H A Dfrac.c35 mp_size_t un, tn, t0; in mpfr_frac() local
106 tn = (MPFR_PREC(t) - 1) / GMP_NUMB_BITS; in mpfr_frac()
107 MPFR_ASSERTN(tn >= un); in mpfr_frac()
108 t0 = tn - un; in mpfr_frac()
113 tp[tn] = k | ((un) ? mpn_lshift (tp + t0, up, un, sh) : MPFR_LIMB_ZERO); in mpfr_frac()
132 (mpfr_prec_t) (tn + 1) * GMP_NUMB_BITS, in mpfr_frac()
137 tp[tn] = MPFR_LIMB_HIGHBIT; in mpfr_frac()
/netbsd-src/external/lgpl3/gmp/dist/mpf/
H A Dget_str.c127 mp_size_t un, pn, tn; in mpf_get_str() local
213 tn = un + pn; in mpf_get_str()
214 tn -= tp[tn - 1] == 0; in mpf_get_str()
218 MPN_COPY_DECR (tp - off, tp, tn); in mpf_get_str()
220 tn -= off; in mpf_get_str()
223 n_digits_computed = mpn_get_str (tstr, base, tp + off, tn - off); in mpf_get_str()
247 tn = xn - pn + 1; in mpf_get_str()
248 tn -= tp[tn - 1] == 0; in mpf_get_str()
249 n_digits_computed = mpn_get_str (tstr, base, tp, tn); in mpf_get_str()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Basic/
H A DBuiltins.def681 BUILTIN(__sync_fetch_and_and_1, "ccD*c.", "tn")
682 BUILTIN(__sync_fetch_and_and_2, "ssD*s.", "tn")
683 BUILTIN(__sync_fetch_and_and_4, "iiD*i.", "tn")
684 BUILTIN(__sync_fetch_and_and_8, "LLiLLiD*LLi.", "tn")
685 BUILTIN(__sync_fetch_and_and_16, "LLLiLLLiD*LLLi.", "tn")
688 BUILTIN(__sync_fetch_and_xor_1, "ccD*c.", "tn")
689 BUILTIN(__sync_fetch_and_xor_2, "ssD*s.", "tn")
690 BUILTIN(__sync_fetch_and_xor_4, "iiD*i.", "tn")
691 BUILTIN(__sync_fetch_and_xor_8, "LLiLLiD*LLi.", "tn")
692 BUILTIN(__sync_fetch_and_xor_16, "LLLiLLLiD*LLLi.", "tn")
[all …]

123456