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

/openjdk7/jdk/src/share/native/sun/security/ec/impl/
H A Decp_256.c55 mp_digit carry; local
107 MP_ADD_CARRY(r3, a11, r3, 0, carry);
108 MP_ADD_CARRY(r4, a12, r4, carry, carry);
109 MP_ADD_CARRY(r5, a13, r5, carry, carry);
110 MP_ADD_CARRY(r6, a14, r6, carry, carry);
111 MP_ADD_CARRY(r7, a15, r7, carry, carry);
[all...]
H A Decp_224.c58 mp_digit carry; local
111 MP_ADD_CARRY (r1b, a3b, r1b, 0, carry);
112 MP_ADD_CARRY (r2a, a4a, r2a, carry, carry);
113 MP_ADD_CARRY (r2b, a4b, r2b, carry, carry);
114 MP_ADD_CARRY (r3a, a5a, r3a, carry, carry);
115 r3b = carry;
116 MP_ADD_CARRY (r1b, a5b, r1b, 0, carry);
[all...]
H A Decp_192.c58 mp_digit carry; local
111 MP_ADD_CARRY(r0a, a3a, r0a, 0, carry);
112 MP_ADD_CARRY(r0b, a3b, r0b, carry, carry);
113 MP_ADD_CARRY(r1a, a3a, r1a, carry, carry);
114 MP_ADD_CARRY(r1b, a3b, r1b, carry, carry);
115 MP_ADD_CARRY(r2a, a4a, r2a, carry, carry);
297 mp_digit carry; local
[all...]
H A Decl_gf.c269 mp_digit carry; local
289 MP_ADD_CARRY_ZERO(a0, r0, r0, carry);
290 MP_ADD_CARRY(a1, r1, r1, carry, carry);
291 MP_ADD_CARRY(a2, r2, r2, carry, carry);
299 : "=r"(r0), "=r"(r1), "=r"(r2), "=r"(carry)
315 if (carry || r2 > a2 ||
320 MP_SUB_BORROW(r0, a0, r0, 0, carry);
321 MP_SUB_BORROW(r1, a1, r1, carry, carr
352 mp_digit carry; local
446 mp_digit carry; local
523 mp_digit carry; local
[all...]
H A Dmpi.c3257 mp_digit sum, mp_i, carry = 0;
3263 carry = (sum < d);
3264 while (carry && --used > 0) {
3266 *pmp++ = sum = carry + mp_i;
3267 carry = !sum;
3269 if (carry && !used) {
3273 MP_DIGIT(mp, used) = carry;
3494 mp_digit d, sum, carry = 0;
3509 less precision, we'll have to make sure the carry out is duly
3524 *pa++ = sum += carry;
3581 mp_digit sum, carry = 0, d; local
[all...]
H A Dmp_gf2m.c251 mp_digit a_i, a0b0, a1b1, carry = 0; local
255 *d++ = a0b0 ^ carry;
256 carry = a1b1;
258 *d = carry;
265 mp_digit a_i, a0b0, a1b1, carry = 0; local
269 *d++ ^= a0b0 ^ carry;
270 carry = a1b1;
272 *d ^= carry;
/openjdk7/hotspot/src/share/vm/interpreter/
H A DinvocationCounter.cpp34 _counter = 0; // reset all the bits, including the sticky carry
46 // The carry bit now indicates that this counter had achieved a very
61 int carry = (_counter & carry_mask); // the carry bit is sticky local
62 _counter = (init << number_of_noncount_bits) | carry | state;
67 tty->print_cr("invocation count: up = %d, limit = %d, carry = %s, state = %s",
69 carry() ? "true" : "false",
74 tty->print(" [%d%s;%s]", count(), carry()?"+carry":"", state_as_short_string(state()));
H A DinvocationCounter.hpp44 unsigned int _counter; // format: [count|carry|state]
85 void set_carry(); // set the sticky carry bit
90 bool carry() const { return (_counter & carry_mask) != 0; } function in class:VALUE_OBJ_CLASS_SPEC
132 int carry = (_counter & carry_mask); // the carry bit is sticky local
133 _counter = (count << number_of_noncount_bits) | carry | state;
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/dv/xs/
H A DDurationDV.java286 int carry = fQuotient (temp, 1, 13);
289 duration.year=addto.year + date.year + carry;
293 carry = (int)Math.floor(dtemp/60);
294 duration.second = dtemp - carry*60;
297 temp = addto.minute +date.minute + carry;
298 carry = fQuotient (temp, 60);
299 duration.minute= mod(temp, 60, carry);
302 temp = addto.hour + date.hour + carry;
303 carry = fQuotient(temp, 24);
304 duration.hour = mod(temp, 24, carry);
[all...]
H A DAbstractDateTimeDV.java628 int carry = fQuotient(temp, 60);
629 date.minute = mod(temp, 60, carry);
632 System.out.println("==>carry: " + carry);
635 temp = date.hour + negate * date.timezoneHr + carry;
636 carry = fQuotient(temp, 24);
637 date.hour = mod(temp, 24, carry);
640 System.out.println("==>carry: " + carry);
643 date.day = date.day + carry;
[all...]
/openjdk7/jdk/src/share/classes/java/math/
H A DMutableBigInteger.java236 int carry = 0;
241 carry = 0x80000000;
250 long hb = ((bv >>> 1) + carry) & LONG_MASK;
254 carry = (bv & 1) << 31; // carray will be either 0x80000000 or 0
256 return carry == 0? 0 : -1;
514 long carry = 0;
518 (result[j+offset] & LONG_MASK) + carry;
520 carry = sum >>> 32;
522 return (int)carry;
532 long carry
[all...]
H A DBigInteger.java444 long carry = 0;
446 product = ylong * (x[i] & LONG_MASK) + carry;
448 carry = product >>> 32;
454 carry = sum >>> 32;
456 sum = (x[i] & LONG_MASK) + carry;
458 carry = sum >>> 32;
1085 // Copy remainder of longer number while carry propagation is required
1086 boolean carry = (sum >>> 32 != 0);
1087 while (xIndex > 0 && carry)
1088 carry
1947 addOne(int[] a, int offset, int mlen, int carry) argument
[all...]
/openjdk7/jdk/src/share/native/java/lang/fdlibm/src/
H A Dk_rem_pio2.c183 int jz,jx,jv,jp,jk,carry,n,iq[20],i,j,k,m,q0,ih; local
228 n += 1; carry = 0;
231 if(carry==0) {
233 carry = 1; iq[i] = 0x1000000- j;
247 if(carry!=0) z -= scalbn(one,q0);
/openjdk7/hotspot/src/share/vm/runtime/
H A DsharedRuntimeTrig.cpp261 int jz,jx,jv,jp,jk,carry,n,iq[20],i,j,k,m,q0,ih; local
306 n += 1; carry = 0;
309 if(carry==0) {
311 carry = 1; iq[i] = 0x1000000- j;
325 if(carry!=0) z -= scalbnA(one,q0);
H A DsimpleThresholdPolicy.cpp149 if (!counter->carry() && counter->count() > InvocationCounter::count_limit / 2) {
154 // Set carry flags on the counters if necessary
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/jaxp/datatype/
H A DXMLGregorianCalendarImpl.java2039 * carry := fQuotient(temp, 1, 13)
2062 BigInteger carry =
2066 * E[year] := S[year] + D[year] + carry
2074 BigInteger endYear = startYear.add(dYears).add(carry);
2086 * carry := fQuotient(temp, 60)
2104 carry = fQuotient.toBigInteger();
2111 carry = carry.subtract(BigInteger.ONE);
2120 * temp := S[minute] + D[minute] + carry
2122 * carry
[all...]
H A DDurationImpl.java1531 BigDecimal carry = ZERO;
1539 bd = bd.multiply(factor).add(carry);
1546 throw new IllegalStateException(); // illegal carry-down
1548 carry = ZERO;
1551 carry = bd.multiply(FACTORS[i]);
1556 buf[5] = seconds.multiply(factor).add(carry);
1558 buf[5] = carry;
/openjdk7/hotspot/src/share/vm/oops/
H A DmethodOop.cpp262 else if (_invocation_counter.carry() || (method_data() != NULL && method_data()->invocation_counter()->carry())) {
263 // The carry bit is set when the counter overflows and causes
1521 if (invocation_counter()->carry() || ((mdo != NULL) ? mdo->invocation_counter()->carry() : false)) {
1534 if (backedge_counter()->carry() || ((mdo != NULL) ? mdo->backedge_counter()->carry() : false)) {
H A DmethodDataOop.hpp1334 if (invocation_counter()->carry()) {
1340 if (backedge_counter()->carry()) { function
1347 if (invocation_counter()->carry()) {
1354 if (backedge_counter()->carry()) {
H A DmethodDataOop.cpp824 if (ic->carry()) icval += CompileThreshold;
827 if (bc->carry()) bcval += CompileThreshold;
/openjdk7/hotspot/src/cpu/x86/vm/
H A Dassembler_x86.cpp9992 bool carry() const { return ((_value >> 0) & 1) != 0; } function in class:Flag_Register
10003 f[6] = (carry ()) ? 'C' : '-';

Completed in 135 milliseconds