/libcore/ojluni/src/main/java/sun/security/util/ |
D | ByteArrayLexOrder.java | 55 int diff; in compare() local 57 diff = (bytes1[i] & 0xFF) - (bytes2[i] & 0xFF); in compare() 58 if (diff != 0) { in compare() 59 return diff; in compare()
|
/libcore/ojluni/src/main/java/jdk/internal/math/ |
D | FDBigInteger.java | 587 long diff = multDiffMe(q, S); in quoRemIteration() local 588 if (diff != 0L) { in quoRemIteration() 812 long diff = (mData[mIndex] & LONG_MASK) - (sData[sIndex] & LONG_MASK) + borrow; in leftInplaceSub() local 813 mData[mIndex] = (int) diff; in leftInplaceSub() 814 borrow = diff >> 32; // signed shift in leftInplaceSub() 817 long diff = (mData[mIndex] & LONG_MASK) + borrow; in leftInplaceSub() local 818 mData[mIndex] = (int) diff; in leftInplaceSub() 819 borrow = diff >> 32; // signed shift in leftInplaceSub() 891 long diff = 0L - (sData[sIndex] & LONG_MASK) + borrow; in rightInplaceSub() local 892 sData[sIndex] = (int) diff; in rightInplaceSub() [all …]
|
D | FloatingDecimal.java | 1336 FDBigInteger diff; 1341 diff = bigB.leftInplaceSub(bigD); // bigB is not user further - reuse 1352 diff = diff.leftShift(1); 1357 diff = bigD.rightInplaceSub(bigB); // bigB is not user further - reuse 1363 cmpResult = diff.cmpPow52(B5, Ulp2); 1642 FDBigInteger diff; in floatValue() local 1647 diff = bigB.leftInplaceSub(bigD); // bigB is not user further - reuse in floatValue() 1658 diff = diff.leftShift(1); in floatValue() 1663 diff = bigD.rightInplaceSub(bigB); // bigB is not user further - reuse in floatValue() 1669 cmpResult = diff.cmpPow52(B5, Ulp2); in floatValue()
|
/libcore/ojluni/src/test/java/time/test/java/time/ |
D | TestLocalTime.java | 194 long diff = Integer.MAX_VALUE; in now() local 198 diff = test.toNanoOfDay() - expected.toNanoOfDay(); in now() 200 diff = Math.floorMod(NANOS_PER_DAY + diff, NANOS_PER_DAY); in now() 201 if (diff < 100000000) { in now() 207 assertTrue(diff < 100000000, // less than 0.1 sec in now()
|
/libcore/ojluni/src/main/native/ |
D | PollArrayWrapper.c | 47 int diff; in ipoll() local 58 diff = now - start; in ipoll() 59 remaining -= diff; in ipoll() 60 if (diff < 0 || remaining <= 0) { in ipoll()
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
D | TestCertUtils.java | 314 private String diff = null; field in TestCertUtils.TestCertificate 328 public TestCertificate(String diff) { in TestCertificate() argument 330 this.diff = diff; in TestCertificate() 340 public TestCertificate(String diff, String type) { in TestCertificate() argument 342 this.diff = diff; in TestCertificate() 375 if (this.diff == null) { in equals() 376 return that.diff == null; in equals() 378 return this.diff.equals(that.diff); in equals() 395 if (diff == null) { in writeObject() 399 out.writeUTF(diff); in writeObject() [all …]
|
/libcore/tools/upstream/ |
D | upstream-diff | 101 def run_diff(diff, repositories, rel_paths): argument 119 subprocess.call([diff] + paths) 146 run_diff(args.diff, repositories, args.rel_path)
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
D | SSLSessionTest.java | 100 long diff = currentTime - sessionTime; in test_getCreationTime() local 102 diff < 10000); in test_getCreationTime() 112 long diff = currentTime - sessionTime; in test_getLastAccessedTime() local 114 diff < 10000); in test_getLastAccessedTime() 115 assertTrue ("diff should be < 10000 but is " + diff, diff < 10000); in test_getLastAccessedTime()
|
/libcore/ojluni/src/test/java/lang/StrictMath/ |
D | ExactArithTests.java | 91 int diff = StrictMath.subtractExact(x, y); in testIntegerExact() local 94 …fail("FAIL: int StrictMath.subtractExact(" + x + " - " + y + ") = " + diff + "; expected: " + diff… in testIntegerExact() 237 long diff = StrictMath.subtractExact(x, y); in testLongExact() local 238 checkResult("long StrictMath.subtractExact", x, y, diff, resultBig); in testLongExact()
|
/libcore/ojluni/src/main/java/java/time/format/ |
D | DecimalStyle.java | 336 int diff = zeroDigit - '0'; in convertNumberToI18N() local 339 array[i] = (char) (array[i] + diff); in convertNumberToI18N()
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | ScheduledThreadPoolExecutor.java | 256 long diff = time - x.time; in compareTo() local 257 if (diff < 0) in compareTo() 259 else if (diff > 0) in compareTo() 266 long diff = getDelay(NANOSECONDS) - other.getDelay(NANOSECONDS); in compareTo() local 267 return (diff < 0) ? -1 : (diff > 0) ? 1 : 0; in compareTo()
|
/libcore/ojluni/src/main/java/java/math/ |
D | MutableBigInteger.java | 938 long diff = 0; in subtract() local 947 diff = (a.value[x+a.offset] & LONG_MASK) - in subtract() 948 (b.value[y+b.offset] & LONG_MASK) - ((int)-(diff>>32)); in subtract() 949 result[rstart--] = (int)diff; in subtract() 954 diff = (a.value[x+a.offset] & LONG_MASK) - ((int)-(diff>>32)); in subtract() 955 result[rstart--] = (int)diff; in subtract() 981 long diff = 0; in difference() local 988 diff = (a.value[a.offset+ x] & LONG_MASK) - in difference() 989 (b.value[b.offset+ y] & LONG_MASK) - ((int)-(diff>>32)); in difference() 990 a.value[a.offset+x] = (int)diff; in difference() [all …]
|
D | BigDecimal.java | 5492 int diff = scale - preferredScale; in roundedTenPower() local 5493 if(diff < raise) { in roundedTenPower() 5494 return scaledTenPow(raise - diff, qsign, preferredScale); in roundedTenPower()
|
/libcore/ojluni/src/test/java/lang/Math/ |
D | ExactArithTests.java | 118 int diff = Math.subtractExact(x, y); in testIntegerExact() local 121 … fail("FAIL: int Math.subtractExact(" + x + " - " + y + ") = " + diff + "; expected: " + diff2); in testIntegerExact() 371 long diff = Math.subtractExact(x, y); in testLongExact() local 372 checkResult("long Math.subtractExact", x, y, diff, resultBig); in testLongExact()
|
/libcore/tools/expected_upstream/ |
D | ojluni_merge_package.sh | 210 local new_classes=$(git diff --name-only --diff-filter=D "${branch}" -- \
|
D | ojluni_merge_to_main.py | 343 diff_index = head_commit.diff(None) 558 for diff in index:
|
/libcore/ojluni/src/test/java/nio/Buffer/ |
D | BulkPutBuffer.java | 433 int diff = scap - buf.remaining(); in testPairs() local 434 int spos = diff > 0 ? RND.nextInt(diff) : 0; in testPairs()
|
/libcore/metrictests/memory/ |
D | README | 56 # To diff the second heap dump against the first:
|
/libcore/ojluni/src/test/java/util/Scanner/ |
D | input.txt | 48 <a href=make/java/java/mapfile-vers.diff.html>Diffs</a> 57 <a href=src/share/classes/java/lang/Shutdown.java.diff.html>Diffs</a> 66 <a href=src/share/native/java/lang/Shutdown.c.diff.html>Diffs</a>
|
/libcore/luni/src/main/native/ |
D | libcore_io_Linux.cpp | 2052 timespec diff; in Linux_poll() local 2053 diff.tv_sec = now.tv_sec - before.tv_sec; in Linux_poll() 2054 diff.tv_nsec = now.tv_nsec - before.tv_nsec; in Linux_poll() 2055 if (diff.tv_nsec < 0) { in Linux_poll() 2056 --diff.tv_sec; in Linux_poll() 2057 diff.tv_nsec += 1000000000; in Linux_poll() 2060 jint diffMs = diff.tv_sec * 1000 + diff.tv_nsec / 1000000; in Linux_poll()
|
/libcore/ojluni/src/test/java/time/tck/java/time/ |
D | TCKOffsetTime.java | 211 … long diff = Math.abs(test.toLocalTime().toNanoOfDay() - expected.toLocalTime().toNanoOfDay()); in now() local 212 if (diff >= DELTA) { in now() 216 … diff = Math.abs(test.toLocalTime().toNanoOfDay() - expected.toLocalTime().toNanoOfDay()); in now() 218 assertTrue(diff < DELTA); in now()
|
D | TCKOffsetDateTime.java | 241 … long diff = Math.abs(test.toLocalTime().toNanoOfDay() - expected.toLocalTime().toNanoOfDay()); in now() local 242 if (diff >= DELTA) { in now() 246 … diff = Math.abs(test.toLocalTime().toNanoOfDay() - expected.toLocalTime().toNanoOfDay()); in now() 248 assertTrue(diff < DELTA); in now()
|
D | TCKZonedDateTime.java | 233 … long diff = Math.abs(test.toLocalTime().toNanoOfDay() - expected.toLocalTime().toNanoOfDay()); in now() local 234 if (diff >= 100000000) { in now() 238 … diff = Math.abs(test.toLocalTime().toNanoOfDay() - expected.toLocalTime().toNanoOfDay()); in now() 240 assertTrue(diff < 100000000); // less than 0.1 secs in now()
|
D | TCKLocalDateTime.java | 265 … long diff = Math.abs(test.toLocalTime().toNanoOfDay() - expected.toLocalTime().toNanoOfDay()); in now() local 266 if (diff >= DELTA) { in now() 270 … diff = Math.abs(test.toLocalTime().toNanoOfDay() - expected.toLocalTime().toNanoOfDay()); in now() 272 assertTrue(diff < DELTA); in now()
|
D | TCKInstant.java | 193 long diff = Math.abs(test.toEpochMilli() - expected.toEpochMilli()); in now() local 194 assertTrue(diff < 100); // less than 0.1 secs in now()
|