/libcore/luni/src/main/java/java/util/concurrent/atomic/ |
D | AtomicInteger.java | 159 public final int getAndAdd(int delta) { in getAndAdd() argument 162 int next = current + delta; in getAndAdd() 202 public final int addAndGet(int delta) { in addAndGet() argument 205 int next = current + delta; in addAndGet()
|
D | AtomicLong.java | 173 public final long getAndAdd(long delta) { in getAndAdd() argument 176 long next = current + delta; in getAndAdd() 216 public final long addAndGet(long delta) { in addAndGet() argument 219 long next = current + delta; in addAndGet()
|
D | AtomicIntegerArray.java | 190 public final int getAndAdd(int i, int delta) { in getAndAdd() argument 194 if (compareAndSetRaw(offset, current, current + delta)) in getAndAdd() 226 public final int addAndGet(int i, int delta) { in addAndGet() argument 230 int next = current + delta; in addAndGet()
|
D | AtomicLongArray.java | 190 public final long getAndAdd(int i, long delta) { in getAndAdd() argument 194 if (compareAndSetRaw(offset, current, current + delta)) in getAndAdd() 226 public long addAndGet(int i, long delta) { in addAndGet() argument 230 long next = current + delta; in addAndGet()
|
D | AtomicIntegerFieldUpdater.java | 177 public int getAndAdd(T obj, int delta) { in getAndAdd() argument 180 int next = current + delta; in getAndAdd() 226 public int addAndGet(T obj, int delta) { in addAndGet() argument 229 int next = current + delta; in addAndGet()
|
D | AtomicLongFieldUpdater.java | 179 public long getAndAdd(T obj, long delta) { in getAndAdd() argument 182 long next = current + delta; in getAndAdd() 228 public long addAndGet(T obj, long delta) { in addAndGet() argument 231 long next = current + delta; in addAndGet()
|
/libcore/luni/src/main/java/java/math/ |
D | Conversion.java | 100 int delta = charsPerInt - previous + currentChar; in bigInteger2String() local 101 for (i = 0; i < delta && currentChar > 0; i++) { in bigInteger2String() 222 int delta = 9 - previous + currentChar; in toDecimalScaledString() local 223 for (int i = 0; (i < delta) && (currentChar > 0); i++) { in toDecimalScaledString() 432 int delta = bitLen - 54; in bigInteger2Double() local 434 long lVal = val.abs().shiftRight(delta).longValue(); in bigInteger2Double() 451 && (((mantissa & 2) == 2) || BitLevel.nonZeroDroppedBits(delta, in bigInteger2Double()
|
D | BigDecimal.java | 2324 int delta = end - begin; in toEngineeringString() local 2339 if (delta < 3) { in toEngineeringString() 2340 for (int i = rem - delta; i > 0; i--) { in toEngineeringString() 2381 int delta = scale; in toPlainString() local 2390 delta -= (intStr.length() - begin); in toPlainString() 2391 if (delta >= 0) { in toPlainString() 2394 for (; delta > CH_ZEROS.length; delta -= CH_ZEROS.length) { in toPlainString() 2397 result.append(CH_ZEROS, 0, delta); in toPlainString() 2400 delta = begin - delta; in toPlainString() 2401 result.append(intStr.substring(begin, delta)); in toPlainString() [all …]
|
/libcore/luni/src/main/java/libcore/net/http/ |
D | ResponseHeaders.java | 294 long delta = expires.getTime() - servedMillis; in computeFreshnessLifetime() local 295 return delta > 0 ? delta : 0; in computeFreshnessLifetime() 304 long delta = servedMillis - lastModified.getTime(); in computeFreshnessLifetime() local 305 return delta > 0 ? (delta / 10) : 0; in computeFreshnessLifetime()
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | OldAndroidMathTest.java | 34 public static void assertEquals(String message, double expected, double actual, double delta) { in assertEquals() argument 35 if (delta == 0D) { in assertEquals() 38 Assert.assertEquals(message, expected, actual, delta); in assertEquals() 42 public static void assertEquals(String message, float expected, float actual, float delta) { in assertEquals() argument 43 if (delta == 0F) { in assertEquals() 46 Assert.assertEquals(message, expected, actual, delta); in assertEquals()
|
/libcore/luni/src/main/java/java/util/concurrent/ |
D | ThreadPoolExecutor.java | 1474 int delta = corePoolSize - this.corePoolSize; in setCorePoolSize() local 1478 else if (delta > 0) { in setCorePoolSize() 1483 int k = Math.min(delta, workQueue.size()); in setCorePoolSize() 1622 long delta = keepAliveTime - this.keepAliveTime; in setKeepAliveTime() local 1624 if (delta < 0) in setKeepAliveTime()
|
/libcore/luni/src/main/java/java/util/ |
D | GregorianCalendar.java | 445 long delta = value * multiplier; in add() local 460 int offsetAfter = getOffset(time + zoneOffset + delta); in add() 462 if (getOffset(time + zoneOffset + delta + dstDelta) == offsetAfter) { in add() 463 delta += dstDelta; in add() 466 time += delta; in add()
|
D | TreeMap.java | 466 int delta = leftHeight - rightHeight; in rebalance() local 467 if (delta == -2) { in rebalance() 485 } else if (delta == 2) { in rebalance() 503 } else if (delta == 0) { in rebalance() 510 assert (delta == -1 || delta == 1); in rebalance()
|
/libcore/luni/src/test/java/libcore/net/http/ |
D | HttpResponseCacheTest.java | 1658 private String formatDate(long delta, TimeUnit timeUnit) { in formatDate() argument 1659 return formatDate(new Date(System.currentTimeMillis() + timeUnit.toMillis(delta))); in formatDate()
|