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

123456

/external/compiler-rt/lib/builtins/
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;
/external/chromium_org/third_party/boringssl/src/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...]
/external/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...]
/external/wpa_supplicant_8/hostapd/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)
/external/wpa_supplicant_8/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)
/external/wpa_supplicant_8/wpa_supplicant/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)
/external/openssl/crypto/bn/
H A Dbn_nist.c69 /* pre-computed tables are "carry-less" values of modulus*(i+1) */
84 0xFFFFFFFFFFFFFFFFULL,0x00000001FFFFFFFFULL} /* this one is "carry-full" */
359 int carry; local
426 carry = (int)(acc>>32);
433 carry = (int)bn_add_words(r_d, r_d, t_d, BN_NIST_192_TOP);
435 carry += (int)bn_add_words(r_d, r_d, t_d, BN_NIST_192_TOP);
437 carry += (int)bn_add_words(r_d, r_d, t_d, BN_NIST_192_TOP);
440 if (carry > 0)
441 carry = (int)bn_sub_words(r_d,r_d,_nist_p_192[carry
480 int carry; local
638 int carry = 0; local
842 int carry = 0; local
[all...]
H A Dbn_add.c108 BN_ULONG *ap,*bp,*rp,carry,t1,t2; local
130 carry=bn_add_words(rp,ap,bp,min);
135 if (carry)
145 carry=0;
149 if (carry)
151 /* carry != 0 => dif == 0 */
170 int i,carry; local
195 carry=0;
200 if (carry)
202 carry
[all...]
/external/fio/lib/
H A Dnum2str.c10 * Cheesy number->string conversion, complete with carry rounding error.
18 int byte_post_index = 0, post_index, carry = 0; local
45 carry = modulo >= thousand[!!pow2] / 2;
62 if (carry)
/external/chromium_org/third_party/boringssl/src/crypto/bn/
H A Dadd.c104 BN_ULONG *ap, *bp, *rp, carry, t1, t2; local
126 carry = bn_add_words(rp, ap, bp, min);
131 if (carry) {
138 carry = 0;
142 if (carry) {
143 /* carry != 0 => dif == 0 */
262 int i, carry; local
282 carry = 0;
286 if (carry) {
287 carry
[all...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/
H A DWNafUtil.java70 boolean carry = false;
75 if (k.testBit(pos) == carry)
84 if (carry)
89 carry = (digit & sign) != 0;
90 if (carry)
214 boolean carry = false;
219 if (k.testBit(pos) == carry)
228 if (carry)
233 carry = (digit & sign) != 0;
234 if (carry)
[all...]
/external/chromium_org/third_party/smhasher/src/
H A DPMurHash.c39 the caller a carry containing up to 3 bytes that we were unable to process.
40 This carry also needs to record the number of bytes the carry holds. I use
41 the low 2 bits as a count (0..3) and the carry bytes are shifted into the
161 /* Append unaligned bytes to carry, forcing hash churn if we have 4 bytes */
162 /* cnt=bytes to process, h1=name of h1 var, c=carry, n=bytes in c, ptr/len=payload */
176 /* Main hashing function. Initialise carry to 0 and h1 to 0 or an initial seed
186 /* Extract carry count from low 2 bits of c value */
192 /* Consume any carry bytes */
214 /* We're now aligned. Process in aligned blocks. Specialise for each possible carry coun
263 PMurHash32_Result(uint32_t h, uint32_t carry, uint32_t total_length) argument
288 uint32_t h1=seed, carry=0; local
298 uint32_t h1=seed, carry=0; local
[all...]
/external/chromium_org/third_party/WebKit/Source/wtf/dtoa/
H A Dbignum.cc191 // In both cases we might need a carry bigit.
194 Chunk carry = 0; local
198 Chunk sum = bigits_[bigit_pos] + other.bigits_[i] + carry;
200 carry = sum >> kBigitSize;
204 while (carry != 0) {
205 Chunk sum = bigits_[bigit_pos] + carry;
207 carry = sum >> kBigitSize;
260 // Assert that this number + 1 (for the carry) fits into double chunk.
262 DoubleChunk carry = 0; local
264 DoubleChunk product = static_cast<DoubleChunk>(factor) * bigits_[i] + carry;
[all...]
/external/chromium_org/v8/src/
H A Dbignum.cc168 // In both cases we might need a carry bigit.
171 Chunk carry = 0; local
175 Chunk sum = bigits_[bigit_pos] + other.bigits_[i] + carry;
177 carry = sum >> kBigitSize;
181 while (carry != 0) {
182 Chunk sum = bigits_[bigit_pos] + carry;
184 carry = sum >> kBigitSize;
237 // Assert that this number + 1 (for the carry) fits into double chunk.
239 DoubleChunk carry = 0; local
241 DoubleChunk product = static_cast<DoubleChunk>(factor) * bigits_[i] + carry;
[all...]
/external/srec/srec/cfront/
H A Dhimul32.h128 asr_uint32_t oldlo, carry;
165 // Note that folding mid into lo can cause a carry. An old trick
166 // for portable carry-detection applies: if a and b are unsigned,
173 carry = lo < oldlo;
175 hi += carry + (mid >> 16);
181 // complement and adding 1. So there's a carry out of the low
/external/valgrind/main/VEX/switchback/
H A Dtest_emfloat.c531 static void Add16Bits(u16 *carry,u16 *a,u16 b,u16 c);
533 static void ShiftMantLeft1(u16 *carry,u16 *mantissa);
534 static void ShiftMantRight1(u16 *carry,u16 *mantissa);
768 ** Add b, c, and carry. Retult in a. New carry in carry.
770 static void Add16Bits(u16 *carry, argument
779 ** the carry.
783 accum+=(u32)*carry;
784 *carry
816 ShiftMantLeft1(u16 *carry, u16 *mantissa) argument
841 ShiftMantRight1(u16 *carry, u16 *mantissa) argument
872 u16 carry; /* Self-explanatory */ local
916 u16 carry; local
1075 u16 carry; local
1283 u16 carry; local
1445 u16 carry; local
[all...]
/external/stressapptest/src/
H A Dpattern.h118 uint32 carry = (addition & crc) >> 31; local
120 return crc + addition + carry;
/external/chromium_org/third_party/WebKit/Source/wtf/
H A Ddtoa.cpp164 unsigned long long carry; local
166 uint32_t carry;
172 carry = a;
175 unsigned long long y = *x * (unsigned long long)m + carry;
176 carry = y >> 32;
180 uint32_t y = (xi & 0xffff) * m + carry;
182 carry = z >> 16;
187 if (carry)
188 b.append((uint32_t)carry);
283 unsigned long long carry, local
285 uint32_t carry, z; local
614 unsigned long long borrow, carry, y, ys; local
616 uint32_t borrow, carry, y, ys; local
[all...]

Completed in 3141 milliseconds

123456