HomeSort by: relevance | last modified time | path
    Searched defs:borrow (Results 1 - 25 of 26) sorted by relevancy

1 2

  /src/sys/external/isc/libsodium/dist/test/default/
core6.c 24 unsigned int borrow = 0; local
29 printf(",0x%02x", 255 & (xi - yi - borrow));
30 borrow = (xi < yi + borrow);
  /src/external/lgpl3/gmp/dist/mpn/generic/
brootinv.c 146 int borrow; local
147 borrow = mpn_sub_n (tp, tp2, tp, pbn) != 0;
150 if (borrow)
  /src/crypto/external/apache2/openssl/dist/crypto/bn/
bn_add.c 128 BN_ULONG t1, t2, borrow, *rp; local
150 borrow = bn_sub_words(rp, ap, bp, min);
157 t2 = (t1 - borrow) & BN_MASK2;
159 borrow &= (t1 == 0);
bn_mod.c 140 BN_ULONG borrow, carry, ta, tb, mask, *rp; local
150 for (i = 0, ai = 0, bi = 0, borrow = 0; i < mtop;) {
156 rp[i] = ta - tb - borrow;
158 borrow = (ta < tb);
165 for (i = 0, mask = 0 - borrow, carry = 0; i < mtop; i++) {
171 borrow -= carry;
172 for (i = 0, mask = 0 - borrow, carry = 0; i < mtop; i++) {
  /src/crypto/external/bsd/openssl/dist/crypto/bn/
bn_add.c 128 BN_ULONG t1, t2, borrow, *rp; local
150 borrow = bn_sub_words(rp, ap, bp, min);
157 t2 = (t1 - borrow) & BN_MASK2;
159 borrow &= (t1 == 0);
bn_mod.c 141 BN_ULONG borrow, carry, ta, tb, mask, *rp; local
151 for (i = 0, ai = 0, bi = 0, borrow = 0; i < mtop;) {
157 rp[i] = ta - tb - borrow;
159 borrow = (ta < tb);
166 for (i = 0, mask = 0 - borrow, carry = 0; i < mtop; i++) {
172 borrow -= carry;
173 for (i = 0, mask = 0 - borrow, carry = 0; i < mtop; i++) {
  /src/crypto/external/bsd/openssl.old/dist/crypto/bn/
bn_add.c 128 BN_ULONG t1, t2, borrow, *rp; local
150 borrow = bn_sub_words(rp, ap, bp, min);
157 t2 = (t1 - borrow) & BN_MASK2;
159 borrow &= (t1 == 0);
bn_mod.c 132 BN_ULONG borrow, carry, ta, tb, mask, *rp; local
142 for (i = 0, ai = 0, bi = 0, borrow = 0; i < mtop;) {
148 rp[i] = ta - tb - borrow;
150 borrow = (ta < tb);
157 for (i = 0, mask = 0 - borrow, carry = 0; i < mtop; i++) {
163 borrow -= carry;
164 for (i = 0, mask = 0 - borrow, carry = 0; i < mtop; i++) {
rsa_sup_mul.c 287 static limb_t _sub_limb(limb_t *ret, limb_t a, limb_t b, limb_t borrow)
295 *ret = a - borrow;
312 * place the result of a - b into ret, return the borrow bit.
317 limb_t borrow = 0; local
321 borrow = _sub_limb(&ret[i], a[i], b[i], borrow);
323 return borrow;
  /src/lib/libc/gdtoa/
dmisc.c 118 ULLong borrow, carry, y, ys; local
120 ULong borrow, carry, y, ys; local
143 borrow = 0;
150 y = *bx - (ys & 0xffffffffUL) - borrow;
151 borrow = y >> 32 & 1UL;
160 y = (*bx & 0xffff) - (ys & 0xffff) - borrow;
161 borrow = (y & 0x10000) >> 16;
162 z = (*bx >> 16) - (zs & 0xffff) - borrow;
163 borrow = (z & 0x10000) >> 16;
168 y = *bx - (ys & 0xffff) - borrow;
    [all...]
misc.c 570 ULLong borrow, y; local
572 ULong borrow, y; local
606 borrow = 0;
609 y = (ULLong)*xa++ - *xb++ - borrow;
610 borrow = y >> 32 & 1UL;
616 y = *xa++ - borrow;
617 borrow = y >> 32 & 1UL;
624 y = (*xa & 0xffff) - (*xb & 0xffff) - borrow;
625 borrow = (y & 0x10000) >> 16;
626 z = (*xa++ >> 16) - (*xb++ >> 16) - borrow;
    [all...]
strtodg.c 104 ULong borrow = 1, y; local
120 y = *x - borrow;
121 borrow = (y & 0x10000) >> 16;
123 } while(borrow && x < xe);
  /src/sys/kern/
subr_time_arith.c 346 bool borrow; local
360 * Fail if a - b - borrow overflows TIME_MIN, or if a - b
361 * overflows TIME_MAX because timespecsub subtracts the borrow
368 borrow = (tsp->tv_nsec - usp->tv_nsec < 0);
387 * If b >= 0, then a - b - borrow <= a - b < 0, so
391 * a - b - borrow < TIME_MIN,
395 * a < TIME_MIN + b + borrow.
398 * values of b and borrow as long as TIME_MIN +
405 * - a + borrow) without extra cases like checking for
409 if (b >= 0 && a < TIME_MIN + b + borrow)
    [all...]
  /src/crypto/external/apache2/openssl/dist/crypto/ec/curve448/
scalar.c 44 c448_word_t borrow; local
51 borrow = (c448_word_t)chain + extra; /* = 0 or -1 */
55 chain = (chain + out->limb[i]) + (p->limb[i] & borrow);
  /src/crypto/external/bsd/openssl/dist/crypto/ec/curve448/
scalar.c 55 c448_word_t borrow; local
62 borrow = (c448_word_t)chain + extra; /* = 0 or -1 */
66 chain = (chain + out->limb[i]) + (p->limb[i] & borrow);
  /src/crypto/external/bsd/openssl.old/dist/crypto/ec/curve448/
scalar.c 55 c448_word_t borrow; local
62 borrow = (c448_word_t)chain + extra; /* = 0 or -1 */
66 chain = (chain + out->limb[i]) + (p->limb[i] & borrow);
  /src/external/lgpl3/mpfr/dist/src/
sub1.c 370 mp_limb_t borrow; local
375 borrow = mpn_sub_n (ap, ap, cp + cn - (an + cancel2),
382 borrow = mpn_sub_n (ap2, ap2, cp, cn);
385 mpn_sub_1 (ap2, ap2, -cancel2, borrow);
sum.c 375 mp_limb_t borrow; local
377 borrow = vs > 0 ? mpn_sub_n (dp, dp, vp, vs) : 0;
378 MPFR_ASSERTD (borrow <= 1);
380 borrow += vp[vs] & MPFR_LIMB_MASK (GMP_NUMB_BITS - tr);
382 mpn_sub_1 (dp + vs, dp + vs, ds - vs, borrow);
  /src/sys/altq/
altq_cbq.c 315 struct rm_class *borrow, *parent; local
345 /* Get pointers to parent and borrow classes. */
348 borrow = parent;
350 borrow = NULL;
353 * A class must borrow from its parent or it can not
354 * borrow at all. Hence, borrow can be null.
361 if ((borrow != parent) && (borrow != NULL)) {
362 printf("cbq_add_class: borrow class != parent\n")
615 struct rm_class *borrow, *parent; local
    [all...]
altq_rmclass.c 112 * borrow the offtime of the class borrowing from.
114 * to borrow much, especially when cutoff is taking effect.
159 * borrow class to borrow from (should be either 'parent' or null).
200 struct rm_class *parent, struct rm_class *borrow, u_int maxidle,
242 cl->borrow_ = borrow;
771 struct rm_class *borrow = cl->borrow_; local
773 while (borrow != NULL &&
774 borrow->depth_ < ifd->cutoff_) {
775 if (TS_LT(&borrow->undertime_, &now))
    [all...]
  /src/usr.sbin/altq/libaltq/
qop_cbq.c 169 const char *borrow = NULL; local
218 } else if (EQUAL(*argv, "borrow")) {
219 borrow = parent_name;
221 /* support old style "borrow [parent]" */
298 error = qcmd_cbq_add_class(ifname, class_name, parent_name, borrow,
335 struct classinfo *parent = NULL, *borrow = NULL; local
348 (borrow = clname2clinfo(ifinfo, borrow_name)) == NULL)
369 borrow, pri, bandwidth,
523 struct classinfo *borrow, u_int pri, uint64_t bandwidth,
596 borrow_handle = borrow != NULL ? borrow->handle : NULL_CLASS_HANDLE
    [all...]
  /src/external/bsd/bc/dist/
number.c 426 int borrow, count, val; local
449 borrow = 0;
463 val = - *n2ptr-- - borrow;
467 borrow = 1;
470 borrow = 0;
479 val = *n1ptr-- - *n2ptr-- - borrow;
483 borrow = 1;
486 borrow = 0;
495 val = *n1ptr-- - borrow;
499 borrow = 1
912 unsigned int qdig, qguess, borrow, carry; local
    [all...]
  /src/external/gpl3/gcc/dist/gcc/
real.cc 303 true if there's a borrow incoming to the least significant word.
304 Return true if there was borrow out of the most significant word. */
631 /* We got a borrow out of the subtraction. That means that
5391 bool borrow = sub_significands (r, r, &u, 0);
5392 gcc_assert (borrow);
5376 bool borrow = sub_significands (r, r, &u, 0); local
  /src/external/gpl3/gcc.old/dist/gcc/
real.cc 293 true if there's a borrow incoming to the least significant word.
294 Return true if there was borrow out of the most significant word. */
621 /* We got a borrow out of the subtraction. That means that
5343 bool borrow = sub_significands (r, r, &u, 0);
5344 gcc_assert (borrow);
5328 bool borrow = sub_significands (r, r, &u, 0); local
  /src/sys/net/
if_wg.c 1577 int borrow; local
1586 for (borrow = 0, i = 0; i < BLAKE2S_MAX_DIGEST; i++)
1587 borrow = (h_local[i] - h_peer[i] + borrow) >> 8;
1589 return 1 & (h_local[0] ^ h_peer[0] ^ h_min ^ borrow);

Completed in 62 milliseconds

1 2