Home
last modified time | relevance | path

Searched refs:qp (Results 1 – 3 of 3) sorted by relevance

/lib/mpi/
Dmpi-div.c86 mpi_ptr_t qp, rp; in mpi_tdiv_qr() local
133 qp = quot->d; in mpi_tdiv_qr()
134 rlimb = mpihelp_divmod_1(qp, np, nsize, dp[0]); in mpi_tdiv_qr()
135 qsize -= qp[qsize - 1] == 0; in mpi_tdiv_qr()
149 qp = quot->d; in mpi_tdiv_qr()
153 if (qp == np) { /* Copy NP object to temporary space. */ in mpi_tdiv_qr()
155 MPN_COPY(np, qp, nsize); in mpi_tdiv_qr()
158 qp = rp + dsize; in mpi_tdiv_qr()
192 if (dp == rp || (quot && (dp == qp))) { in mpi_tdiv_qr()
207 q_limb = mpihelp_divrem(qp, 0, rp, rsize, dp, dsize); in mpi_tdiv_qr()
[all …]
Dmpih-div.c189 mpihelp_divrem(mpi_ptr_t qp, mpi_size_t qextra_limbs, in mpihelp_divrem() argument
218 qp += qextra_limbs; in mpihelp_divrem()
220 udiv_qrnnd(qp[i], n1, n1, np[i], d); in mpihelp_divrem()
221 qp -= qextra_limbs; in mpihelp_divrem()
224 udiv_qrnnd(qp[i], n1, n1, 0, d); in mpihelp_divrem()
266 qp[i] = q; in mpihelp_divrem()
287 qp[i] = q; in mpihelp_divrem()
360 qp[i] = q; in mpihelp_divrem()
Dmpi-internal.h199 mpi_limb_t mpihelp_divrem(mpi_ptr_t qp, mpi_size_t qextra_limbs,