/dalvik/libcore/concurrent/src/main/java/java/util/concurrent/ |
D | TimeUnit.java | 83 private static long doConvert(int delta, long duration) { in doConvert() argument 84 if (delta == 0) in doConvert() 86 if (delta < 0) in doConvert() 87 return duration / multipliers[-delta]; in doConvert() 88 if (duration > overflows[delta]) in doConvert() 90 if (duration < -overflows[delta]) in doConvert() 92 return duration * multipliers[delta]; in doConvert()
|
/dalvik/libcore/security/src/main/java/org/bouncycastle/crypto/signers/ |
D | ISO9796d2Signer.java | 235 int delta = 0; in generateSignature() local 240 delta = block.length - digSize - 1; in generateSignature() 241 digest.doFinal(block, delta); in generateSignature() 247 delta = block.length - digSize - 2; in generateSignature() 248 digest.doFinal(block, delta); in generateSignature() 261 delta -= mR; in generateSignature() 263 System.arraycopy(mBuf, 0, block, delta, mR); in generateSignature() 268 delta -= messageLength; in generateSignature() 270 System.arraycopy(mBuf, 0, block, delta, messageLength); in generateSignature() 273 if ((delta - 1) > 0) in generateSignature() [all …]
|
/dalvik/libcore/concurrent/src/main/java/java/util/concurrent/atomic/ |
D | AtomicInteger.java | 148 public final int getAndAdd(int delta) { in getAndAdd() argument 151 int next = current + delta; in getAndAdd() 189 public final int addAndGet(int delta) { in addAndGet() argument 192 int next = current + delta; in addAndGet()
|
D | AtomicLong.java | 159 public final long getAndAdd(long delta) { in getAndAdd() argument 162 long next = current + delta; in getAndAdd() 200 public final long addAndGet(long delta) { in addAndGet() argument 203 long next = current + delta; in addAndGet()
|
D | AtomicIntegerArray.java | 180 public final int getAndAdd(int i, int delta) { in getAndAdd() argument 183 int next = current + delta; in getAndAdd() 226 public final int addAndGet(int i, int delta) { in addAndGet() argument 229 int next = current + delta; in addAndGet()
|
D | AtomicLongArray.java | 176 public final long getAndAdd(int i, long delta) { in getAndAdd() argument 179 long next = current + delta; in getAndAdd() 223 public long addAndGet(int i, long delta) { in addAndGet() argument 226 long next = current + delta; in addAndGet()
|
D | AtomicIntegerFieldUpdater.java | 152 public int getAndAdd(T obj, int delta) { in getAndAdd() argument 155 int next = current + delta; in getAndAdd() 197 public int addAndGet(T obj, int delta) { in addAndGet() argument 200 int next = current + delta; in addAndGet()
|
D | AtomicLongFieldUpdater.java | 156 public long getAndAdd(T obj, long delta) { in getAndAdd() argument 159 long next = current + delta; in getAndAdd() 201 public long addAndGet(T obj, long delta) { in addAndGet() argument 204 long next = current + delta; in addAndGet()
|
/dalvik/tests/021-string2/src/junit/framework/ |
D | Assert.java | 94 static public void assertEquals(String message, double expected, double actual, double delta) { in assertEquals() argument 100 …} else if (!(Math.abs(expected-actual) <= delta)) // Because comparison with NaN always returns fa… in assertEquals() 107 static public void assertEquals(double expected, double actual, double delta) { in assertEquals() argument 108 assertEquals(null, expected, actual, delta); in assertEquals() 115 static public void assertEquals(String message, float expected, float actual, float delta) { in assertEquals() argument 121 } else if (!(Math.abs(expected-actual) <= delta)) in assertEquals() 128 static public void assertEquals(float expected, float actual, float delta) { in assertEquals() argument 129 assertEquals(null, expected, actual, delta); in assertEquals()
|
/dalvik/libcore/junit/src/main/java/junit/framework/ |
D | Assert.java | 94 static public void assertEquals(String message, double expected, double actual, double delta) { in assertEquals() argument 100 …} else if (!(Math.abs(expected-actual) <= delta)) // Because comparison with NaN always returns fa… in assertEquals() 107 static public void assertEquals(double expected, double actual, double delta) { in assertEquals() argument 108 assertEquals(null, expected, actual, delta); in assertEquals() 115 static public void assertEquals(String message, float expected, float actual, float delta) { in assertEquals() argument 121 } else if (!(Math.abs(expected-actual) <= delta)) in assertEquals() 128 static public void assertEquals(float expected, float actual, float delta) { in assertEquals() argument 129 assertEquals(null, expected, actual, delta); in assertEquals()
|
/dalvik/dx/src/junit/framework/ |
D | Assert.java | 94 static public void assertEquals(String message, double expected, double actual, double delta) { in assertEquals() argument 100 …} else if (!(Math.abs(expected-actual) <= delta)) // Because comparison with NaN always returns fa… in assertEquals() 107 static public void assertEquals(double expected, double actual, double delta) { in assertEquals() argument 108 assertEquals(null, expected, actual, delta); in assertEquals() 115 static public void assertEquals(String message, float expected, float actual, float delta) { in assertEquals() argument 121 } else if (!(Math.abs(expected-actual) <= delta)) in assertEquals() 128 static public void assertEquals(float expected, float actual, float delta) { in assertEquals() argument 129 assertEquals(null, expected, actual, delta); in assertEquals()
|
/dalvik/dx/src/com/android/dx/rop/code/ |
D | PlainCstInsn.java | 69 public Insn withRegisterOffset(int delta) { in withRegisterOffset() argument 71 getResult().withOffset(delta), in withRegisterOffset() 72 getSources().withOffset(delta), in withRegisterOffset()
|
D | SwitchInsn.java | 82 public Insn withRegisterOffset(int delta) { in withRegisterOffset() argument 84 getResult().withOffset(delta), in withRegisterOffset() 85 getSources().withOffset(delta), in withRegisterOffset()
|
D | PlainInsn.java | 90 public Insn withRegisterOffset(int delta) { in withRegisterOffset() argument 92 getResult().withOffset(delta), in withRegisterOffset() 93 getSources().withOffset(delta)); in withRegisterOffset()
|
D | InsnList.java | 113 public InsnList withRegisterOffset(int delta) { in withRegisterOffset() argument 120 result.set0(i, one.withRegisterOffset(delta)); in withRegisterOffset()
|
D | ThrowingCstInsn.java | 86 public Insn withRegisterOffset(int delta) { in withRegisterOffset() argument 88 getSources().withOffset(delta), in withRegisterOffset()
|
D | FillArrayDataInsn.java | 102 public Insn withRegisterOffset(int delta) { in withRegisterOffset() argument 104 getSources().withOffset(delta), in withRegisterOffset()
|
D | ThrowingInsn.java | 105 public Insn withRegisterOffset(int delta) { in withRegisterOffset() argument 107 getSources().withOffset(delta), in withRegisterOffset()
|
/dalvik/dx/src/com/android/dx/dex/code/ |
D | VariableSizeInsn.java | 46 public final DalvInsn withRegisterOffset(int delta) { in withRegisterOffset() argument 47 return withRegisters(getRegisters().withOffset(delta)); in withRegisterOffset()
|
D | ZeroSizeInsn.java | 59 public DalvInsn withRegisterOffset(int delta) { in withRegisterOffset() argument 60 return withRegisters(getRegisters().withOffset(delta)); in withRegisterOffset()
|
D | FixedSizeInsn.java | 64 public final DalvInsn withRegisterOffset(int delta) { in withRegisterOffset() argument 65 return withRegisters(getRegisters().withOffset(delta)); in withRegisterOffset()
|
D | LocalEnd.java | 59 public DalvInsn withRegisterOffset(int delta) { in withRegisterOffset() argument 60 return new LocalEnd(getPosition(), local.withOffset(delta)); in withRegisterOffset()
|
D | LocalStart.java | 67 public DalvInsn withRegisterOffset(int delta) { in withRegisterOffset() argument 68 return new LocalStart(getPosition(), local.withOffset(delta)); in withRegisterOffset()
|
D | LocalSnapshot.java | 52 public DalvInsn withRegisterOffset(int delta) { in withRegisterOffset() argument 53 return new LocalSnapshot(getPosition(), locals.withOffset(delta)); in withRegisterOffset()
|
/dalvik/libcore/math/src/main/java/java/math/ |
D | Conversion.java | 105 int delta = charsPerInt - previous + currentChar; in bigInteger2String() local 106 for (i = 0; i < delta && currentChar > 0; i++) { in bigInteger2String() 229 int delta = 9 - previous + currentChar; in toDecimalScaledString() local 230 for (int i = 0; (i < delta) && (currentChar > 0); i++) { in toDecimalScaledString() 441 int delta = bitLen - 54; in bigInteger2Double() local 443 long lVal = val.abs().shiftRight(delta).longValue(); in bigInteger2Double() 460 && (((mantissa & 2) == 2) || BitLevel.nonZeroDroppedBits(delta, in bigInteger2Double()
|