/external/chromium_org/third_party/WebKit/Source/core/platform/ |
DateComponents.cpp | 244 int carry; local 248 carry = minute / 60; 251 carry = (59 - minute) / 60; 252 minute += carry * 60; 253 carry = -carry; 262 int hour = m_hour + carry; 264 carry = hour / 24; 267 carry = (23 - hour) / 24; 268 hour += carry * 24 [all...] |
/external/fdlibm/ |
k_rem_pio2.c | 170 int jz,jx,jv,jp,jk,carry,n,iq[20],i,j,k,m,q0,ih; local 215 n += 1; carry = 0; 218 if(carry==0) { 220 carry = 1; iq[i] = 0x1000000- j; 234 if(carry!=0) z -= ieee_scalbn(one,q0);
|
/libcore/luni/src/main/java/java/math/ |
BitLevel.java | 76 // this digit absorbs the carry 115 int carry = 0; local 118 result[i] = (val << 1) | carry; 119 carry = val >>> 31; 121 if(carry != 0) { 122 result[srcLen] = carry;
|
BigInteger.java | [all...] |
/external/llvm/lib/Support/ |
APInt.cpp | 180 /// 1 is returned if there is a carry out, otherwise 0 is returned. 181 /// @returns the carry of the addition. 186 y = 1; // Carry one to next digit. 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; 294 uint64_t carry = 0; local 330 uint64_t carry = 0, lx = 0, hx = 0; local [all...] |
/external/compiler-rt/lib/ |
udivmoddi4.c | 228 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;
|
udivmodti4.c | 231 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;
|
/external/chromium_org/third_party/openssl/openssl/crypto/bn/ |
bn_mont.c | 180 BN_ULONG *ap,*np,*rp,n0,v,carry; local 187 max=(2*nl); /* carry is stored separately */ 208 for (carry=0, i=0; i<nl; i++, rp++) 226 v = (v+carry+rp[nl])&BN_MASK2; 227 carry |= (v != rp[nl]); 228 carry &= (v <= rp[nl]); 245 v=bn_sub_words(rp,ap,np,nl)-carry; 269 if (bn_sub_words (rp,ap,np,nl)-carry)
|
/external/openssl/crypto/bn/ |
bn_mont.c | 180 BN_ULONG *ap,*np,*rp,n0,v,carry; local 187 max=(2*nl); /* carry is stored separately */ 208 for (carry=0, i=0; i<nl; i++, rp++) 226 v = (v+carry+rp[nl])&BN_MASK2; 227 carry |= (v != rp[nl]); 228 carry &= (v <= rp[nl]); 245 v=bn_sub_words(rp,ap,np,nl)-carry; 269 if (bn_sub_words (rp,ap,np,nl)-carry)
|
/external/chromium_org/third_party/icu/source/i18n/ |
decNumber.c | 4891 uInt carry; \/* carry (NB not uLong) *\/ local 6353 eInt carry=0; \/* carry integer (could be Long) *\/ local [all...] |
/external/icu4c/i18n/ |
decNumber.c | 4914 uInt carry; \/* carry (NB not uLong) *\/ local 6384 eInt carry=0; \/* carry integer (could be Long) *\/ local [all...] |
/external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/ |
floatnum.c | 312 boolean carry; local 362 carry = 0; 363 BitVector_add(operand[1], operand[0], flt->mantissa, &carry); 368 carry = 0; 369 BitVector_add(flt->mantissa, operand[1], operand[0], &carry); 398 carry = 0; 399 BitVector_add(operand[1], operand[0], flt->mantissa, &carry); 404 carry = 0; 405 BitVector_add(flt->mantissa, operand[1], operand[0], &carry);
|
bitvect.c | 1816 boolean carry; local 1927 boolean carry; local 2499 boolean carry = TRUE; local 2518 boolean carry = TRUE; local 2616 boolean carry = TRUE; local 2623 boolean carry = TRUE; local 2632 boolean carry = TRUE; local 2688 boolean carry; local 3033 boolean carry; local [all...] |
/external/chromium_org/third_party/opus/src/celt/ |
entenc.c | 72 /*Outputs a symbol, with a carry bit. 73 If there is a potential to propagate a carry over several symbols, they are 74 buffered until it can be determined whether or not an actual carry will 80 The alternative is to truncate the range in order to force a carry, but 81 requires similar carry tracking in the decoder, needlessly slowing it down.*/ 84 /*No further carry propagation possible, flush buffer.*/ 85 int carry; local 86 carry=_c>>EC_SYM_BITS; 89 if(_this->rem>=0)_this->error|=ec_write_byte(_this,_this->rem+carry); 92 sym=(EC_SYM_MAX+carry)&EC_SYM_MAX [all...] |
/external/chromium/base/third_party/dmg_fp/ |
dtoa.cc | 613 ULLong carry, y; variable 615 ULong carry, *x, y; variable 625 carry = a; 628 y = *x * (ULLong)m + carry; 629 carry = y >> 32; 634 y = (xi & 0xffff) * m + carry; 636 carry = z >> 16; 639 y = *x * m + carry; 640 carry = y >> 16; 646 if (carry) { 808 ULLong carry, z; variable 810 ULong carry, z; variable 2116 ULLong borrow, carry, y, ys; variable 2118 ULong borrow, carry, y, ys; variable [all...] |
/external/chromium_org/base/third_party/dmg_fp/ |
dtoa.cc | 613 ULLong carry, y; variable 615 ULong carry, *x, y; variable 625 carry = a; 628 y = *x * (ULLong)m + carry; 629 carry = y >> 32; 634 y = (xi & 0xffff) * m + carry; 636 carry = z >> 16; 639 y = *x * m + carry; 640 carry = y >> 16; 646 if (carry) { 808 ULLong carry, z; variable 810 ULong carry, z; variable 2116 ULLong borrow, carry, y, ys; variable 2118 ULong borrow, carry, y, ys; variable [all...] |
/external/llvm/unittests/ADT/ |
APIntTest.cpp | 541 integerPart carry = APInt::tcDecrement(&singleWord, 1); local 542 EXPECT_EQ(carry, integerPart(0)); 549 integerPart carry = APInt::tcDecrement(&singleWord, 1); local 550 EXPECT_EQ(carry, integerPart(1)); 568 integerPart carry = APInt::tcDecrement(test, 4); local 569 EXPECT_EQ(carry, integerPart(0)); 577 integerPart carry = APInt::tcDecrement(test, 4); local 578 EXPECT_EQ(carry, integerPart(0)); 586 integerPart carry = APInt::tcDecrement(test, 4); local 587 EXPECT_EQ(carry, integerPart(0)) 595 integerPart carry = APInt::tcDecrement(test, 4); local [all...] |
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/decoder/ |
FwdLockFile.c | 225 unsigned char carry = 0; local 229 pCounter[i] = part + carry; 230 carry = (part < pNonce[i] || pCounter[i] < part) ? 1 : 0; 233 pCounter[i] = pNonce[i] + carry; 234 carry = (pCounter[i] < pNonce[i]) ? 1 : 0;
|
/bionic/libc/stdlib/ |
strtod.c | 673 ULong carry, y, z; local 708 carry = 0; 710 z = (*x & 0xffff) * y + (*xc & 0xffff) + carry; 711 carry = z >> 16; 712 z2 = (*x++ >> 16) * y + (*xc >> 16) + carry; 713 carry = z2 >> 16; 717 *xc = carry; 722 carry = 0; 725 z = (*x & 0xffff) * y + (*xc >> 16) + carry; 726 carry = z >> 16 1919 ULong carry, q, ys; local [all...] |
/external/chromium_org/third_party/openssl/openssl/crypto/bn/asm/ |
x86_64-mont.pl | 1038 my ($shift,$carry)=($a0,$a1); 1044 xor $carry,$carry 1050 mov $carry,24($tptr) # t[7] 1065 neg $carry # mov $carry,cf 1074 sbb $carry,$carry # mov cf,$carry 1082 neg $carry # mov $carry,c [all...] |
armv4-mont.S | 117 subs r7,r7,r7 @ "clear" carry flag 122 teq r4,r0 @ preserve carry 124 sbcs r14,r14,#0 @ upmost carry
|
/external/openssl/crypto/bn/asm/ |
x86_64-mont.pl | 1038 my ($shift,$carry)=($a0,$a1); 1044 xor $carry,$carry 1050 mov $carry,24($tptr) # t[7] 1065 neg $carry # mov $carry,cf 1074 sbb $carry,$carry # mov cf,$carry 1082 neg $carry # mov $carry,c [all...] |
/external/chromium_org/third_party/libxslt/libexslt/ |
date.c | 1461 long carry, tempdays, temp; local 1705 long carry; local [all...] |
/libcore/luni/src/main/native/ |
cbigint.cpp | 136 * do the temp1 + temp2 + carry addition correct. carry is 64 bit because gcc has 139 uint64_t carry; local 151 carry = 0; 158 arg1[index] = temp3 + carry; 160 carry = 0; 162 carry = 1; 165 if (!carry)
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/ |
IntArray.java | 243 boolean carry = false; 249 if (carry) 254 carry = nextCarry;
|