Home
last modified time | relevance | path

Searched refs:adj (Results 1 – 25 of 287) sorted by relevance

12345678910>>...12

/netbsd-src/external/lgpl3/gmp/dist/mpn/sparc64/
H A Ddivrem_1.c88 mp_size_t size, xsize, total_size, adj; in mpn_divrem_1() local
147 adj = HALF_ENDIAN_ADJ (i); in mpn_divrem_1()
148 n1 = ap[i + adj]; in mpn_divrem_1()
149 adj = -adj; in mpn_divrem_1()
153 n0 = ap[i-1 + adj]; in mpn_divrem_1()
154 adj = -adj; in mpn_divrem_1()
157 qp[i + adj] = q; in mpn_divrem_1()
165 adj = HALF_ENDIAN_ADJ (0); in mpn_divrem_1()
169 adj = -adj; in mpn_divrem_1()
170 qp[i + adj] = q; in mpn_divrem_1()
H A Dmod_1.c82 mp_size_t size, adj; in mpn_mod_1_anynorm() local
117 adj = HALF_ENDIAN_ADJ (i); in mpn_mod_1_anynorm()
118 n1 = src [i + adj]; in mpn_mod_1_anynorm()
122 adj = -adj; in mpn_mod_1_anynorm()
126 n0 = src [i + adj]; in mpn_mod_1_anynorm()
127 adj = -adj; in mpn_mod_1_anynorm()
/netbsd-src/external/gpl3/gcc.old/dist/libquadmath/math/
H A Dcasinhq_kernel.c28 __quadmath_kernel_casinhq (__complex128 x, int adj) in __quadmath_kernel_casinhq() argument
47 if (adj) in __quadmath_kernel_casinhq()
62 if (adj) in __quadmath_kernel_casinhq()
72 if (adj) in __quadmath_kernel_casinhq()
85 if (adj) in __quadmath_kernel_casinhq()
102 if (adj) in __quadmath_kernel_casinhq()
113 if (adj) in __quadmath_kernel_casinhq()
125 if (adj) in __quadmath_kernel_casinhq()
141 if (adj) in __quadmath_kernel_casinhq()
158 if (adj) in __quadmath_kernel_casinhq()
[all …]
/netbsd-src/external/gpl3/gcc/dist/libquadmath/math/
H A Dcasinhq_kernel.c28 __quadmath_kernel_casinhq (__complex128 x, int adj) in __quadmath_kernel_casinhq() argument
47 if (adj) in __quadmath_kernel_casinhq()
62 if (adj) in __quadmath_kernel_casinhq()
72 if (adj) in __quadmath_kernel_casinhq()
85 if (adj) in __quadmath_kernel_casinhq()
102 if (adj) in __quadmath_kernel_casinhq()
113 if (adj) in __quadmath_kernel_casinhq()
125 if (adj) in __quadmath_kernel_casinhq()
141 if (adj) in __quadmath_kernel_casinhq()
158 if (adj) in __quadmath_kernel_casinhq()
[all …]
/netbsd-src/usr.sbin/timed/timed/
H A Dcorrect.c124 struct timeval adj; in adjclock() local
129 adj = *corr; in adjclock()
130 if (adj.tv_sec < MAXADJ && adj.tv_sec > - MAXADJ) { in adjclock()
131 delta = adj.tv_sec*1000000 + adj.tv_usec; in adjclock()
154 adj.tv_usec = ndelta; in adjclock()
155 adj.tv_sec = 0; in adjclock()
173 (long)adj.tv_sec); in adjclock()
/netbsd-src/lib/libc/gdtoa/
H A Dstrtod.c104 U adj, aadj1, rv, rv0; local
699 dval(&adj) = 1.;
704 dval(&adj) = -1.;
718 dval(&adj) = -0.5;
725 word0(&adj) += (2*P+1)*Exp_msk1 - y;
731 dval(&rv) += adj*ulp(&rv);
737 dval(&rv) += adj.d*ulp(&rv);
741 dval(&adj) = ratio(delta, bs);
742 if (adj.d < 1.)
743 dval(&adj) = 1.;
[all …]
H A Dstrtodg.c339 U adj, rv; local
584 dval(&adj) = dval(&rv);
585 word0(&adj) -= P*Exp_msk1;
586 /* adj = */ rounded_product(dval(&adj), tens[e2]);
587 if ((word0(&adj) & Exp_mask)
590 word0(&adj) += P*Exp_msk1;
591 dval(&rv) = dval(&adj);
897 if ((dval(&adj) = ratio(delta, bs)) <= 2.) {
911 adj0 = dval(&adj) = 1.;
914 adj0 = dval(&adj) *= 0.5;
[all …]
/netbsd-src/external/bsd/ntp/dist/ntpd/
H A Dntpsim.c113 simclock.adj = 0; in ntpsim()
389 double adj; in sim_update_clocks() local
425 adj = time_gap * simclock.slew; in sim_update_clocks()
426 if (adj < fabs(simclock.adj)) { in sim_update_clocks()
427 if (simclock.adj < 0) { in sim_update_clocks()
428 simclock.adj += adj; in sim_update_clocks()
429 simclock.local_time -= adj; in sim_update_clocks()
431 simclock.adj -= adj; in sim_update_clocks()
432 simclock.local_time += adj; in sim_update_clocks()
435 simclock.local_time += simclock.adj; in sim_update_clocks()
[all …]
/netbsd-src/external/lgpl3/gmp/dist/mpf/
H A Ddiv_2exp.c114 mp_size_t adj; in mpf_div_2exp() local
124 adj = rp[abs_usize] != 0; in mpf_div_2exp()
131 adj = cy_limb != 0; in mpf_div_2exp()
134 abs_usize += adj; in mpf_div_2exp()
135 r->_mp_exp = uexp - exp / GMP_NUMB_BITS - 1 + adj; in mpf_div_2exp()
H A Dmul_2exp.c108 mp_size_t adj; in mpf_mul_2exp() local
119 adj = rp[abs_usize] != 0; in mpf_mul_2exp()
125 adj = cy_limb != 0; in mpf_mul_2exp()
128 abs_usize += adj; in mpf_mul_2exp()
129 r->_mp_exp = uexp + exp / GMP_NUMB_BITS + adj; in mpf_mul_2exp()
H A Dmul.c41 mp_size_t adj; in mpf_mul() local
120 adj = cy_limb == 0; in mpf_mul()
121 rsize -= adj; in mpf_mul()
130 r->_mp_exp = u->_mp_exp + v->_mp_exp - adj; in mpf_mul()
/netbsd-src/external/bsd/nvi/dist/ex/
H A Dex_screen.c80 adj_t adj; in ex_resize() local
85 adj = A_SET; in ex_resize()
88 adj = A_DECREASE; in ex_resize()
91 adj = A_INCREASE; in ex_resize()
97 return (vs_resize(sp, cmdp->count, adj)); in ex_resize()
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Domp-simd-clone.cc589 ipa_adjusted_param adj; in simd_clone_adjust_argument_types() local
590 memset (&adj, 0, sizeof (adj)); in simd_clone_adjust_argument_types()
593 adj.base_index = i; in simd_clone_adjust_argument_types()
594 adj.prev_clone_index = i; in simd_clone_adjust_argument_types()
603 adj.op = IPA_PARAM_OP_COPY; in simd_clone_adjust_argument_types()
612 adj.op = IPA_PARAM_OP_COPY; in simd_clone_adjust_argument_types()
625 adj.op = IPA_PARAM_OP_NEW; in simd_clone_adjust_argument_types()
626 adj.param_prefix_index = IPA_PARAM_PREFIX_SIMD; in simd_clone_adjust_argument_types()
628 adj.type = build_vector_type (pointer_sized_int_node, veclen); in simd_clone_adjust_argument_types()
630 adj.type = build_vector_type (parm_type, veclen); in simd_clone_adjust_argument_types()
[all …]
H A Dlto-cgraph.cc1866 ipa_adjusted_param *adj; in output_node_opt_summary() local
1867 FOR_EACH_VEC_SAFE_ELT (adjustments->m_adj_params, i, adj) in output_node_opt_summary()
1870 bp_pack_value (&bp, adj->base_index, IPA_PARAM_MAX_INDEX_BITS); in output_node_opt_summary()
1871 bp_pack_value (&bp, adj->prev_clone_index, IPA_PARAM_MAX_INDEX_BITS); in output_node_opt_summary()
1872 bp_pack_value (&bp, adj->op, 2); in output_node_opt_summary()
1873 bp_pack_value (&bp, adj->param_prefix_index, 2); in output_node_opt_summary()
1874 bp_pack_value (&bp, adj->prev_clone_adjustment, 1); in output_node_opt_summary()
1875 bp_pack_value (&bp, adj->reverse, 1); in output_node_opt_summary()
1876 bp_pack_value (&bp, adj->user_flag, 1); in output_node_opt_summary()
1878 if (adj->op == IPA_PARAM_OP_SPLIT in output_node_opt_summary()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Domp-simd-clone.c584 ipa_adjusted_param adj; in simd_clone_adjust_argument_types() local
585 memset (&adj, 0, sizeof (adj)); in simd_clone_adjust_argument_types()
588 adj.base_index = i; in simd_clone_adjust_argument_types()
589 adj.prev_clone_index = i; in simd_clone_adjust_argument_types()
598 adj.op = IPA_PARAM_OP_COPY; in simd_clone_adjust_argument_types()
607 adj.op = IPA_PARAM_OP_COPY; in simd_clone_adjust_argument_types()
619 adj.op = IPA_PARAM_OP_NEW; in simd_clone_adjust_argument_types()
620 adj.param_prefix_index = IPA_PARAM_PREFIX_SIMD; in simd_clone_adjust_argument_types()
622 adj.type = build_vector_type (pointer_sized_int_node, veclen); in simd_clone_adjust_argument_types()
624 adj.type = build_vector_type (parm_type, veclen); in simd_clone_adjust_argument_types()
[all …]
H A Dlto-cgraph.c1859 ipa_adjusted_param *adj; in output_node_opt_summary() local
1860 FOR_EACH_VEC_SAFE_ELT (adjustments->m_adj_params, i, adj) in output_node_opt_summary()
1863 bp_pack_value (&bp, adj->base_index, IPA_PARAM_MAX_INDEX_BITS); in output_node_opt_summary()
1864 bp_pack_value (&bp, adj->prev_clone_index, IPA_PARAM_MAX_INDEX_BITS); in output_node_opt_summary()
1865 bp_pack_value (&bp, adj->op, 2); in output_node_opt_summary()
1866 bp_pack_value (&bp, adj->param_prefix_index, 2); in output_node_opt_summary()
1867 bp_pack_value (&bp, adj->prev_clone_adjustment, 1); in output_node_opt_summary()
1868 bp_pack_value (&bp, adj->reverse, 1); in output_node_opt_summary()
1869 bp_pack_value (&bp, adj->user_flag, 1); in output_node_opt_summary()
1871 if (adj->op == IPA_PARAM_OP_SPLIT in output_node_opt_summary()
[all …]
/netbsd-src/sys/arch/sparc/dev/
H A Dsw.c691 int xlen, adj, adjlen; in sw_dma_start() local
733 adj = 0; in sw_dma_start()
735 adj = 2; in sw_dma_start()
738 printf("%s: adjusted up %d bytes\n", __func__, adj); in sw_dma_start()
744 SWREG_WRITE(ncr_sc, SWREG_DMA_ADDR, (u_int)(dh->dh_startingpa + adj)); in sw_dma_start()
745 SWREG_WRITE(ncr_sc, SWREG_DMA_CNT, xlen - adj); in sw_dma_start()
753 if (adj) { in sw_dma_start()
755 adj, dh->dh_addr); in sw_dma_start()
756 if (adjlen != adj) in sw_dma_start()
758 device_xname(ncr_sc->sc_dev), adjlen, adj); in sw_dma_start()
[all …]
/netbsd-src/external/gpl2/libmalloc/dist/
H A Dmemalign.c33 unsigned long int adj; local
43 adj = (unsigned long int) ((unsigned long int) ((char *) result -
45 if (adj != 0)
64 result = l->aligned = (char *) result + alignment - adj;
H A Dmalloc.c73 unsigned long int adj; local
76 adj = (unsigned long int) ((unsigned long int) ((char *) result -
78 if (adj != 0)
80 adj = BLOCKSIZE - adj;
81 (void) (*__morecore) (adj);
82 result = (char *) result + adj;
/netbsd-src/lib/libm/src/
H A Ds_fmal.c178 long double xs, ys, zs, adj; in fmal() local
271 adj = r.lo + xy.lo; in fmal()
272 return (ldexpl(r.hi + adj, spread)); in fmal()
275 adj = add_adjusted(r.lo, xy.lo); in fmal()
277 return (ldexpl(r.hi + adj, spread)); in fmal()
279 return (add_and_denormalize(r.hi, adj, spread)); in fmal()
H A Ds_fma.c193 double xs, ys, zs, adj; in fma() local
286 adj = r.lo + xy.lo; in fma()
287 return (ldexp(r.hi + adj, spread)); in fma()
290 adj = add_adjusted(r.lo, xy.lo); in fma()
292 return (ldexp(r.hi + adj, spread)); in fma()
294 return (add_and_denormalize(r.hi, adj, spread)); in fma()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/M68k/
H A DM68kInstrCompiler.td100 def : Pat<(MxTCRet (load MxCP_ARII:$dst), imm:$adj),
101 (TCRETURNj (MOV32af_TC MxARII32:$dst), imm:$adj)>,
104 def : Pat<(MxTCRet AR32_TC:$dst, imm:$adj),
105 (TCRETURNj MxARI32_TC:$dst, imm:$adj)>;
107 def : Pat<(MxTCRet (i32 tglobaladdr:$dst), imm:$adj),
108 (TCRETURNq MxPCD32:$dst, imm:$adj)>;
110 def : Pat<(MxTCRet (i32 texternalsym:$dst), imm:$adj),
111 (TCRETURNq MxPCD32:$dst, imm:$adj)>;
/netbsd-src/sys/arch/ia64/ia64/
H A Dinterrupt.c80 uint64_t adj, clk, itc; in interrupt() local
109 adj = ci->ci_clockadj; in interrupt()
124 ia64_set_itm(ia64_get_itc() + ia64_clock_reload - adj); in interrupt()
127 adj = ia64_clock_reload >> 4; in interrupt()
129 adj = 0; in interrupt()
131 adj = 0; in interrupt()
133 ci->ci_clockadj = adj; in interrupt()
/netbsd-src/external/cddl/osnet/dist/lib/libdtrace/common/
H A Ddt_buf.c89 size_t adj = roundup(off, align) - off; in dt_buf_write() local
96 if (bp->dbu_ptr + adj + len > bp->dbu_buf + bp->dbu_len) { in dt_buf_write()
101 while (bp->dbu_ptr + adj + len > bp->dbu_buf + new_len) { in dt_buf_write()
120 bp->dbu_ptr += adj; in dt_buf_write()
/netbsd-src/usr.sbin/npf/npfctl/
H A Dnpf_data.c642 uint32_t adj, isum = 0, osum = 0; in npfctl_npt66_calcadj() local
671 adj = isum + ~osum; in npfctl_npt66_calcadj()
672 while (adj >> 16) { in npfctl_npt66_calcadj()
673 adj = (adj >> 16) + (adj & 0xffff); in npfctl_npt66_calcadj()
675 return (uint16_t)adj; in npfctl_npt66_calcadj()

12345678910>>...12