Searched refs:residue (Results 1 - 25 of 27) sorted by relevance

12

/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssl/dist/crypto/modes/
H A Dcts128.c35 { size_t residue, n; local
41 if ((residue=len%16) == 0) residue = 16;
43 len -= residue;
50 for (n=0; n<residue; ++n)
53 memcpy(out,out-16,residue);
56 return len+residue;
62 { size_t residue, n; local
68 residue=len%16;
70 len -= residue;
90 { size_t residue; local
122 { size_t residue; local
153 { size_t residue, n; local
190 { size_t residue, n; local
233 { size_t residue; local
267 { size_t residue; local
[all...]
/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/dist/lib/hcrypto/libtommath/
H A Dbn_mp_jacobi.c27 mp_digit residue; local
69 residue = p->dp[0] & 7;
71 if (residue == 1 || residue == 7) {
73 } else if (residue == 3 || residue == 5) {
H A Dtommath.tex3599 \index{modular residue}
3607 ``modular residue'' which leads to ``quadratic residue''\footnote{That's fancy talk for $b \equiv a^2 \mbox{ (mod }p\mbox{)}$.} and
3620 division. Barretts observation was that the residue $c$ of $a$ modulo $b$ is equal to
3660 to work correctly. Plugging this form of divison into the original equation the following modular residue equation arises.
3678 another $n^2$ single precision multiplications to find the residue. In total $3n^2$ single precision multiplications are required to
3683 By subtracting $152913b$ from $a$ the correct residue $a \equiv 677346 \mbox{ (mod }b\mbox{)}$ is found.
3691 Let $a$ represent the number of which the residue is sought. Let $b$ represent the modulus used to find the residue. Let $m$ represent
3714 $b$ once or twice the residue i
[all...]
H A Dbn.tex1524 equal to the correct residue.
1806 then the result will be $-1$ when $a$ is not a quadratic residue modulo $p$. The result will be $0$ if $a$ divides $p$
1807 and the result will be $1$ if $a$ is a quadratic residue modulo $p$.
/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/dist/lib/hx509/
H A Dks_dir.c60 const char *residue, hx509_lock lock)
68 ret = stat(residue, &sb);
71 "No such file %s", residue);
77 "%s is not a directory", residue);
82 *data = strdup(residue);
58 dir_init(hx509_context context, hx509_certs certs, void **data, int flags, const char *residue, hx509_lock lock) argument
H A Dks_mem.c56 const char *residue, hx509_lock lock)
62 if (residue == NULL || residue[0] == '\0')
63 residue = "anonymous";
64 mem->name = strdup(residue);
54 mem_init(hx509_context context, hx509_certs certs, void **data, int flags, const char *residue, hx509_lock lock) argument
H A Dks_null.c42 const char *residue, hx509_lock lock)
40 null_init(hx509_context context, hx509_certs certs, void **data, int flags, const char *residue, hx509_lock lock) argument
H A Dkeyset.c121 const char *residue; local
128 residue = strchr(name, ':');
129 if (residue) {
130 type = malloc(residue - name + 1);
132 strlcpy(type, name, residue - name + 1);
133 residue++;
134 if (residue[0] == '\0')
135 residue = NULL;
138 residue = name;
161 ret = (*ops->init)(context, c, &c->ops_data, flags, residue, loc
[all...]
H A Dks_keychain.c325 const char *residue, hx509_lock lock)
335 if (residue) {
336 if (strcasecmp(residue, "system-anchors") == 0) {
338 } else if (strncasecmp(residue, "FILE:", 5) == 0) {
341 ret = SecKeychainOpen(residue + 5, &ctx->keychain);
344 "Failed to open %s", residue);
349 "Unknown subtype %s", residue);
323 keychain_init(hx509_context context, hx509_certs certs, void **data, int flags, const char *residue, hx509_lock lock) argument
H A Dks_file.c369 const char *residue, hx509_lock lock, outformat format)
392 ksf->fn = strdup(residue);
496 const char *residue, hx509_lock lock)
498 return file_init_common(context, certs, data, flags, residue, lock, USE_PEM);
504 const char *residue, hx509_lock lock)
506 return file_init_common(context, certs, data, flags, residue, lock, USE_DER);
367 file_init_common(hx509_context context, hx509_certs certs, void **data, int flags, const char *residue, hx509_lock lock, outformat format) argument
494 file_init_pem(hx509_context context, hx509_certs certs, void **data, int flags, const char *residue, hx509_lock lock) argument
502 file_init_der(hx509_context context, hx509_certs certs, void **data, int flags, const char *residue, hx509_lock lock) argument
H A Dks_p12.c325 const char *residue, hx509_lock lock)
351 p12->fn = strdup(residue);
366 ret = rk_undumpdata(residue, &buf, &len);
376 "Failed to decode the PFX in %s", residue);
323 p12_init(hx509_context context, hx509_certs certs, void **data, int flags, const char *residue, hx509_lock lock) argument
H A Dks_p11.c795 const char *residue, hx509_lock lock)
804 list = strdup(residue);
793 p11_init(hx509_context context, hx509_certs certs, void **data, int flags, const char *residue, hx509_lock lock) argument
/netbsd-6-1-5-RELEASE/sys/arch/mips/mips/
H A Dcpu_exec.c162 int residue; local
168 residue = ph.p_memsz - ph.p_filesz;
181 "obsolete elf: NEW_VMCMD len %x va %x off %x prot %x residue %x\n",
182 length, vaddr, offset, prot, residue);
185 if (residue) {
190 residue = (ph.p_vaddr + ph.p_memsz)
198 residue = (ph.p_vaddr + ph.p_memsz)
210 if (residue > 0) {
213 "old elf:resid NEW_VMCMD len %x va %x off %x prot %x residue %x\n",
214 length, vaddr + length, offset, prot, residue);
[all...]
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/libdecnumber/
H A DdecNumber.c144 /* residue (in the range -1 through 9). This avoids any double- */
506 Int residue; /* rounding residue */ local
698 residue=0;
699 decSetCoeff(dn, set, res, d, &residue, &status);
701 decFinalize(dn, set, &residue, &status);
707 residue=0;
708 decFinalize(dn, set, &residue, &status);
1438 Int residue=0; /* (no residue) */ local
1961 Int residue=0; /* rounding residue */ local
2318 Int residue=0; /* as usual */ local
2615 Int residue; /* work */ local
2803 Int residue=0; /* rounding residue */ local
3807 Int residue; /* rounding accumulator */ local
4242 Int residue; /* for rounding */ local
4836 Int residue=0; /* rounding residue */ local
5226 Int residue; /* rounding residue */ local
5585 Int residue; /* rounding residue */ local
5835 Int residue=0; /* rounding residue */ local
6107 Int residue=0; /* rounding accumulator */ local
6805 Int residue=0; /* rounding accumulator */ local
6837 decCopyFit(decNumber *dest, const decNumber *src, decContext *set, Int *residue, uInt *status) argument
6883 decSetCoeff(decNumber *dn, decContext *set, const Unit *lsu, Int len, Int *residue, uInt *status) argument
7064 decApplyRound(decNumber *dn, decContext *set, Int residue, uInt *status) argument
7233 decFinish(decNumber *dn, decContext *set, Int *residue, uInt *status) argument
7268 decFinalize(decNumber *dn, decContext *set, Int *residue, uInt *status) argument
7422 decSetSubnormal(decNumber *dn, decContext *set, Int *residue, uInt *status) argument
[all...]
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/libdecnumber/
H A DdecNumber.c144 /* residue (in the range -1 through 9). This avoids any double- */
506 Int residue; /* rounding residue */ local
698 residue=0;
699 decSetCoeff(dn, set, res, d, &residue, &status);
701 decFinalize(dn, set, &residue, &status);
707 residue=0;
708 decFinalize(dn, set, &residue, &status);
1438 Int residue=0; /* (no residue) */ local
1961 Int residue=0; /* rounding residue */ local
2318 Int residue=0; /* as usual */ local
2615 Int residue; /* work */ local
2803 Int residue=0; /* rounding residue */ local
3807 Int residue; /* rounding accumulator */ local
4242 Int residue; /* for rounding */ local
4836 Int residue=0; /* rounding residue */ local
5226 Int residue; /* rounding residue */ local
5585 Int residue; /* rounding residue */ local
5835 Int residue=0; /* rounding residue */ local
6107 Int residue=0; /* rounding accumulator */ local
6805 Int residue=0; /* rounding accumulator */ local
6837 decCopyFit(decNumber *dest, const decNumber *src, decContext *set, Int *residue, uInt *status) argument
6883 decSetCoeff(decNumber *dn, decContext *set, const Unit *lsu, Int len, Int *residue, uInt *status) argument
7064 decApplyRound(decNumber *dn, decContext *set, Int residue, uInt *status) argument
7233 decFinish(decNumber *dn, decContext *set, Int *residue, uInt *status) argument
7268 decFinalize(decNumber *dn, decContext *set, Int *residue, uInt *status) argument
7422 decSetSubnormal(decNumber *dn, decContext *set, Int *residue, uInt *status) argument
[all...]
/netbsd-6-1-5-RELEASE/sys/dev/usb/
H A Dumass_scsipi.c102 int residue, int status);
104 int residue, int status);
393 umass_scsipi_cb(struct umass_softc *sc, void *priv, int residue, int status) argument
407 DPRINTF(UDMASS_CMD,("umass_scsipi_cb: at %"PRIu64".%06"PRIu64", delta=%u: xs=%p residue=%d"
408 " status=%d\n", tv.tv_sec, (uint64_t)tv.tv_usec, delta, xs, residue, status));
410 xs->resid = residue;
467 umass_scsipi_sense_cb(struct umass_softc *sc, void *priv, int residue, argument
473 DPRINTF(UDMASS_CMD,("umass_scsipi_sense_cb: xs=%p residue=%d "
474 "status=%d\n", xs, residue, status));
481 if (residue
[all...]
H A Dumass_isdata.c227 uisdata_bio_cb(struct umass_softc *sc, void *priv, int residue, int status) argument
233 DPRINTF(("%s: residue=%d status=%d\n", __func__, residue, status));
247 if (residue != 0) {
248 ata_bio->bcount += residue;
394 int residue, int status)
393 uisdata_exec_cb(struct umass_softc *sc, void *priv, int residue, int status) argument
H A Dumass.c1012 int residue; local
1186 residue = UGETDW(sc->csw.dCSWDataResidue);
1188 residue = sc->transfer_datalen - sc->transfer_actlen;
1232 printf("%s: Phase Error, residue = %d\n",
1233 device_xname(sc->sc_dev), residue);
1245 != residue) {
1246 DPRINTF(UDMASS_BBB, ("%s: actlen=%d != residue=%d\n",
1249 residue));
1256 device_xname(sc->sc_dev), residue));
1260 sc->transfer_cb(sc, sc->transfer_priv, residue,
[all...]
H A Duaudio.c151 u_int residue; /* accumulates the fractional samples */ member in struct:chan
2791 int i, n, size, residue, total; local
2802 residue = ch->residue;
2806 residue += ch->fraction;
2807 if (residue >= USB_FRAMES_PER_SECOND) {
2810 residue -= USB_FRAMES_PER_SECOND;
2815 ch->residue = residue;
2835 DPRINTF("buffer=%p, residue
2894 int i, size, residue, total; local
[all...]
/netbsd-6-1-5-RELEASE/sbin/dump_lfs/
H A Dlfs_inode.c207 daddr_t residue, up; local
237 * residue of modulus, and then rounding accordingly.
239 residue = (lbn-NDADDR) % NINDIR(fs);
240 if(residue == 1) {
250 } else /* residue == 0 */ {
/netbsd-6-1-5-RELEASE/gnu/dist/grep/src/
H A Dgrep.c763 size_t residue, save; local
790 residue = 0;
816 /* no more data to scan (eof) except for maybe a residue -> break */
820 /* Determine new residue (the length of an incomplete line at the end of
828 lim = beg - residue;
829 beg -= residue;
830 residue = buflim - lim;
860 save = residue + lim - beg;
872 if (residue)
876 nlines += grepbuf (bufbeg + save - residue, bufli
[all...]
/netbsd-6-1-5-RELEASE/sys/arch/i386/pci/
H A Delan520.c658 struct pareg *residue = regions; local
675 residue->start = start;
676 residue->end = end;
677 residue++;
680 residue->start = start0;
681 residue->end = start;
682 residue++;
685 residue->start = end;
686 residue->end = end0;
687 residue
[all...]
/netbsd-6-1-5-RELEASE/sys/dev/pci/
H A Dmlyreg.h367 int32_t residue; member in struct:mly_status
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssl/dist/
H A Dmakevms.com655 $! Delete [.CRYPTO]BUILDINF.H File, as there might be some residue from Unix.
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/
H A Dfold-const.c10002 get_pointer_modulus_and_residue (tree expr, unsigned HOST_WIDE_INT *residue,
10007 *residue = 0;
10022 *residue = bitpos / BITS_PER_UNIT;
10026 *residue += TREE_INT_CST_LOW (offset);
10045 modulus = get_pointer_modulus_and_residue (op0, residue,
10053 *residue += TREE_INT_CST_LOW (op1);
11763 unsigned HOST_WIDE_INT modulus, residue;
11766 modulus = get_pointer_modulus_and_residue (arg0, &residue,
11773 return build_int_cst (type, residue & low);
9967 get_pointer_modulus_and_residue(tree expr, unsigned HOST_WIDE_INT *residue, bool allow_func_align) argument
11728 unsigned HOST_WIDE_INT modulus, residue; local

Completed in 601 milliseconds

12