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

123

/freebsd-9.3-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-9.3-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;
H A Dudivmoddi4.c228 su_int carry = 0; local
231 /* r:q = ((r:q) << 1) | carry */
235 q.s.low = (q.s.low << 1) | carry;
236 /* carry = 0;
240 * carry = 1;
244 carry = s & 1;
247 q.all = (q.all << 1) | carry;
H A Dudivmodti4.c231 su_int carry = 0; local
234 /* r:q = ((r:q) << 1) | carry */
238 q.s.low = (q.s.low << 1) | carry;
239 /* carry = 0;
243 * carry = 1;
247 carry = s & 1;
250 q.all = (q.all << 1) | carry;
/freebsd-9.3-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-9.3-release/crypto/openssl/crypto/bn/asm/
H A Dmo-586.pl293 $carry="ebp";
296 &lea ($carry,&DWP(1,$num));
300 &and ($carry,1); # see if num is even
303 &or ($carry,"edx");
311 &mov ($carry,"edx");
313 &add ($carry,"eax");
318 &mov (&DWP($frame-4,"esp",$j,4),$carry); # tp[j]=
321 &mov ($carry,"edx");
324 &add ("eax",$carry);
346 &mov ($carry,"ed
[all...]
/freebsd-9.3-release/contrib/wpa/src/crypto/
H A Dfips_prf_internal.c29 u32 carry; local
61 carry = 1;
63 carry += xkey[k] + xpos[k];
64 xkey[k] = carry & 0xff;
65 carry >>= 8;
H A Dfips_prf_openssl.c38 u32 carry; local
70 carry = 1;
72 carry += xkey[k] + xpos[k];
73 xkey[k] = carry & 0xff;
74 carry >>= 8;
H A Daes-omac1.c24 int i, carry; local
26 carry = pad[0] & 0x80;
30 if (carry)
/freebsd-9.3-release/crypto/openssl/crypto/bn/
H A Dbn_nist.c68 /* pre-computed tables are "carry-less" values of modulus*(i+1) */
86 * "carry-full" */
362 int carry; local
398 carry = (int)bn_add_words(r_d, r_d, t_d, BN_NIST_192_TOP);
400 carry += (int)bn_add_words(r_d, r_d, t_d, BN_NIST_192_TOP);
402 carry += (int)bn_add_words(r_d, r_d, t_d, BN_NIST_192_TOP);
404 if (carry > 0)
405 carry =
406 (int)bn_sub_words(r_d, r_d, _nist_p_192[carry - 1],
409 carry
446 int carry; local
557 int carry = 0; local
695 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-9.3-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-9.3-release/crypto/heimdal/lib/krb5/
H A Dn-fold.c88 int carry = 0; local
90 int x = a[i] + b[i] + carry;
91 carry = x > 0xff;
94 for(i = len - 1; carry && i >= 0; i--){
95 int x = a[i] + carry;
96 carry = x > 0xff;
/freebsd-9.3-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-9.3-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-9.3-release/crypto/openssl/bugs/
H A Dsgiccbug.c42 int i, carry; local
50 carry = 0;
/freebsd-9.3-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-9.3-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-9.3-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-9.3-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...]
/freebsd-9.3-release/contrib/gcclibs/libdecnumber/
H A DdecNumber.c2214 /* -- a carry to digits+1 digits looks possible */
2243 /* final carry digit or DECBUFFER=0] */
2398 /* is all in one unit, no operand rounding is needed, and no carry, */
2411 { /* no carry */
2506 /* If destructive overlap, or the number is too long, or a carry or */
2513 /* we'll need units for maxdigits digits, +1 Unit for carry or borrow */
4113 /* shift), or one Unit longer than that (if a Unit carry occurred). */
4135 /* safe, allowing space if necessary for a one-Unit carry. */
4155 eInt carry = 0; /* carry intege local
[all...]

Completed in 154 milliseconds

123