Searched refs:carry (Results 1 - 25 of 67) sorted by relevance

123

/freebsd-10.1-release/contrib/gdtoa/
H A Dsum.c42 ULong carry, *xc, *xa, *xb, *xe, y; local
52 carry = 0;
59 y = (*xa & 0xffff) + (*xb & 0xffff) + carry;
60 carry = (y & 0x10000) >> 16;
61 z = (*xa++ >> 16) + (*xb++ >> 16) + carry;
62 carry = (z & 0x10000) >> 16;
68 y = (*xa & 0xffff) + carry;
69 carry = (y & 0x10000) >> 16;
70 z = (*xa++ >> 16) + carry;
71 carry
[all...]
H A Ddmisc.c111 ULLong borrow, carry, y, ys; local
113 ULong borrow, carry, y, ys; local
137 carry = 0;
140 ys = *sx++ * (ULLong)q + carry;
141 carry = ys >> 32;
148 ys = (si & 0xffff) * q + carry;
150 carry = zs >> 16;
157 ys = *sx++ * q + carry;
158 carry = ys >> 16;
176 carry
[all...]
H A Dmisc.c168 ULLong carry, y; local
170 ULong carry, *x, y; local
180 carry = a;
183 y = *x * (ULLong)m + carry;
184 carry = y >> 32;
189 y = (xi & 0xffff) * m + carry;
191 carry = z >> 16;
194 y = *x * m + carry;
195 carry = y >> 16;
201 if (carry) {
277 ULLong carry, z; local
279 ULong carry, z; local
[all...]
/freebsd-10.1-release/contrib/subversion/subversion/libsvn_fs_fs/
H A Dkey-gen.c49 int carry = 0;
52 while ((i1 >= 0) || (i2 >= 0) || (carry > 0))
54 val = carry;
61 carry = val / 36;
86 svn_boolean_t carry = TRUE; /* boolean: do we have a carry or not?
87 We start with a carry, because we're
108 if (carry)
114 carry = FALSE;
126 /* The new length is OLEN, plus 1 if there's a carry ou
48 int carry = 0; local
85 svn_boolean_t carry = TRUE; /* boolean: do we have a carry or not? local
[all...]
/freebsd-10.1-release/contrib/compiler-rt/lib/
H A Dudivsi3.c47 su_int carry = 0; local
50 /* r:q = ((r:q) << 1) | carry */
52 q = (q << 1) | carry;
53 /* carry = 0;
57 * carry = 1;
61 carry = s & 1;
64 q = (q << 1) | carry;
/freebsd-10.1-release/contrib/binutils/gas/
H A Dflonum-mult.c43 (carry) a .b ... | ... a .b a .b
84 unsigned long carry;
117 carry = 0;
121 work = carry;
122 carry = 0;
137 carry += work >> LITTLENUM_NUMBER_OF_BITS;
140 printf ("work=%08x carry=%04x\n", work, carry);
163 This is where 'carry' should go. */
165 printf ("final carry
83 unsigned long carry; local
[all...]
H A Datof-generic.c390 long carry; local
398 carry = c - '0'; /* char -> binary */
406 work = carry + 10 * (long) (*littlenum_pointer);
408 carry = work >> LITTLENUM_NUMBER_OF_BITS;
411 if (carry != 0)
/freebsd-10.1-release/crypto/openssl/crypto/bn/asm/
H A Dx86-mont.pl281 $carry="ebp";
284 &lea ($carry,&DWP(1,$num));
288 &and ($carry,1); # see if num is even
291 &or ($carry,"edx");
299 &mov ($carry,"edx");
301 &add ($carry,"eax");
306 &mov (&DWP($frame-4,"esp",$j,4),$carry); # tp[j]=
309 &mov ($carry,"edx");
312 &add ("eax",$carry);
334 &mov ($carry,"ed
[all...]
H A Dppc64-mont.pl99 $carry="r0";
274 li $carry,0
504 add $t0,$t0,$carry ; can not overflow
509 srdi $carry,$t0,16
510 add $t1,$t1,$carry
511 srdi $carry,$t1,16
518 add $t2,$t2,$carry
521 srdi $carry,$t2,16
525 add $t3,$t3,$carry
526 srdi $carry,
[all...]
/freebsd-10.1-release/contrib/subversion/subversion/libsvn_fs_base/
H A Dkey-gen.c45 svn_boolean_t carry = TRUE; /* boolean: do we have a carry or not?
46 We start with a carry, because we're
67 if (carry)
73 carry = FALSE;
85 /* The new length is OLEN, plus 1 if there's a carry out of the
87 *len = olen + (carry ? 1 : 0);
97 /* Handle any leftover carry. */
98 if (carry)
44 svn_boolean_t carry = TRUE; /* boolean: do we have a carry or not? local
/freebsd-10.1-release/contrib/wpa/src/crypto/
H A Dfips_prf_internal.c23 u32 carry; local
56 carry = 1;
58 carry += xkey[k] + xpos[k];
59 xkey[k] = carry & 0xff;
60 carry >>= 8;
H A Dfips_prf_openssl.c32 u32 carry; local
65 carry = 1;
67 carry += xkey[k] + xpos[k];
68 xkey[k] = carry & 0xff;
69 carry >>= 8;
H A Daes-omac1.c18 int i, carry; local
20 carry = pad[0] & 0x80;
24 if (carry)
/freebsd-10.1-release/crypto/openssh/
H A Dsc25519.c59 crypto_uint32 carry; local
69 carry = q2[31] >> 8;
70 q2[32] += carry;
71 carry = q2[32] >> 8;
72 q2[33] += carry;
81 carry = r2[i] >> 8;
82 r2[i+1] += carry;
169 int i, carry; local
173 carry = r->v[i] >> 8;
174 r->v[i+1] += carry;
195 int i,j,carry; local
223 char carry; local
260 char carry; local
[all...]
/freebsd-10.1-release/crypto/heimdal/lib/krb5/
H A Dn-fold.c86 int carry = 0; local
88 int x = a[i] + b[i] + carry;
89 carry = x > 0xff;
92 for(i = len - 1; carry && i >= 0; i--){
93 int x = a[i] + carry;
94 carry = x > 0xff;
/freebsd-10.1-release/crypto/openssl/crypto/bn/
H A Dbn_nist.c68 /* pre-computed tables are "carry-less" values of modulus*(i+1) */
86 * "carry-full" */
371 int carry; local
453 carry = (int)(acc >> 32);
460 carry = (int)bn_add_words(r_d, r_d, t_d, BN_NIST_192_TOP);
462 carry += (int)bn_add_words(r_d, r_d, t_d, BN_NIST_192_TOP);
464 carry += (int)bn_add_words(r_d, r_d, t_d, BN_NIST_192_TOP);
467 if (carry > 0)
468 carry =
469 (int)bn_sub_words(r_d, r_d, _nist_p_192[carry
512 int carry; local
693 int carry = 0; local
939 int carry = 0; local
[all...]
H A Dbn_add.c110 BN_ULONG *ap, *bp, *rp, carry, t1, t2; local
134 carry = bn_add_words(rp, ap, bp, min);
139 if (carry) {
146 carry = 0;
150 if (carry) {
151 /* carry != 0 => dif == 0 */
170 int i, carry; local
195 carry = 0;
199 if (carry) {
200 carry
[all...]
/freebsd-10.1-release/contrib/binutils/gas/config/
H A Datof-ieee.c546 unsigned long carry;
548 for (carry = 1; carry && (lp >= words); lp--)
550 carry = *lp + carry;
551 *lp = carry;
552 carry >>= LITTLENUM_NUMBER_OF_BITS;
622 unsigned long carry;
630 /* #if (sizeof(carry)) < ((sizeof(bits[0]) * BITS_PER_CHAR) + 2)
631 Please allow at least 1 more bit in carry tha
544 unsigned long carry; local
620 unsigned long carry; local
[all...]
H A Datof-vax.c345 unsigned long carry;
348 #if (sizeof(carry)) < ((sizeof(bits[0]) * BITS_PER_CHAR) + 2)
349 Please allow at least 1 more bit in carry than is in a LITTLENUM.
350 We need that extra bit to hold a carry during a LITTLENUM carry
353 permits us to propagate the carry without any masking of bits.
355 for (carry = 1, lp--;
356 carry && (lp >= words);
359 carry = *lp + carry;
341 unsigned long carry; local
[all...]
/freebsd-10.1-release/contrib/ntp/libparse/
H A Dmfp_mul.c71 u_long carry; local
116 carry = (unsigned)1<<(FRACTION_PREC/2);
121 carry = 1;
124 if (((c[low_index] >> 1) + (result_low >> 1) + ((c[low_index] & result_low & carry) != 0)) &
178 * correct carry propagation implementation
/freebsd-10.1-release/contrib/ntp/libntp/
H A Ddolfptoa.c96 int carry = ((fpv & 0x80000000) != 0); local
98 for (dec = (int)(tp - cbuf); carry && dec > 0; dec--) {
103 carry = FALSE;
/freebsd-10.1-release/sys/kgssapi/krb5/
H A Dkcrypto.c112 uint32_t carry; local
120 carry = in[0] >> 5;
121 out[0] = (in[0] << 3) | carry;
125 carry = ((in[numlen - 2] & 31) << 8) | in[numlen - 1];
129 out[1] = ((carry & 31) << 3) | (in[0] >> 5);
130 out[0] = carry >> 5;
144 * carry.
153 * Then add back the carry.
/freebsd-10.1-release/crypto/openssl/crypto/modes/
H A Dxts128.c115 unsigned int carry, res; local
118 carry = (unsigned int)(tweak.u[0] >> 63);
120 tweak.u[1] = (tweak.u[1] << 1) | carry;
154 unsigned int carry, res; local
157 carry = (unsigned int)(tweak.u[0] >> 63);
159 tweak1.u[1] = (tweak.u[1] << 1) | carry;
/freebsd-10.1-release/contrib/llvm/lib/Support/
H A DAPInt.cpp180 /// 1 is returned if there is a carry out, otherwise 0 is returned.
181 /// @returns the carry of the addition.
188 y = 0; // No need to carry so exit early
235 /// @returns the carry out from the addition
239 bool carry = false; local
242 dest[i] = x[i] + y[i] + carry;
243 carry = dest[i] < limit || (carry && dest[i] == limit);
245 return carry;
289 /// @returns the carry ou
294 uint64_t carry = 0; local
330 uint64_t carry = 0, lx = 0, hx = 0; local
[all...]
/freebsd-10.1-release/contrib/gdb/gdb/
H A Dvalprint.c605 unsigned char octa1, octa2, octa3, carry;
618 * Octal side: 0 1 carry 3 4 carry ...
638 /* For 32 we start in cycle 2, with two bits and one bit carry;
639 * for 64 in cycle in cycle 1, with one bit and a two bit carry.
642 carry = 0;
654 /* No carry in, carry out two bits.
658 carry = (CARRY_ZERO & *p);
664 /* Carry in two bits, carry ou
604 unsigned char octa1, octa2, octa3, carry; local
768 int carry; local
[all...]

Completed in 282 milliseconds

123