Home
last modified time | relevance | path

Searched refs:delta (Results 1 – 25 of 41) sorted by relevance

12

/dalvik/libcore/concurrent/src/main/java/java/util/concurrent/
DTimeUnit.java83 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/
DISO9796d2Signer.java235 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/
DAtomicInteger.java148 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()
DAtomicLong.java159 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()
DAtomicIntegerArray.java180 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()
DAtomicLongArray.java176 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()
DAtomicIntegerFieldUpdater.java152 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()
DAtomicLongFieldUpdater.java156 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/
DAssert.java94 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/
DAssert.java94 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/
DAssert.java94 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/
DPlainCstInsn.java69 public Insn withRegisterOffset(int delta) { in withRegisterOffset() argument
71 getResult().withOffset(delta), in withRegisterOffset()
72 getSources().withOffset(delta), in withRegisterOffset()
DSwitchInsn.java82 public Insn withRegisterOffset(int delta) { in withRegisterOffset() argument
84 getResult().withOffset(delta), in withRegisterOffset()
85 getSources().withOffset(delta), in withRegisterOffset()
DPlainInsn.java90 public Insn withRegisterOffset(int delta) { in withRegisterOffset() argument
92 getResult().withOffset(delta), in withRegisterOffset()
93 getSources().withOffset(delta)); in withRegisterOffset()
DInsnList.java113 public InsnList withRegisterOffset(int delta) { in withRegisterOffset() argument
120 result.set0(i, one.withRegisterOffset(delta)); in withRegisterOffset()
DThrowingCstInsn.java86 public Insn withRegisterOffset(int delta) { in withRegisterOffset() argument
88 getSources().withOffset(delta), in withRegisterOffset()
DFillArrayDataInsn.java102 public Insn withRegisterOffset(int delta) { in withRegisterOffset() argument
104 getSources().withOffset(delta), in withRegisterOffset()
DThrowingInsn.java105 public Insn withRegisterOffset(int delta) { in withRegisterOffset() argument
107 getSources().withOffset(delta), in withRegisterOffset()
/dalvik/dx/src/com/android/dx/dex/code/
DVariableSizeInsn.java46 public final DalvInsn withRegisterOffset(int delta) { in withRegisterOffset() argument
47 return withRegisters(getRegisters().withOffset(delta)); in withRegisterOffset()
DZeroSizeInsn.java59 public DalvInsn withRegisterOffset(int delta) { in withRegisterOffset() argument
60 return withRegisters(getRegisters().withOffset(delta)); in withRegisterOffset()
DFixedSizeInsn.java64 public final DalvInsn withRegisterOffset(int delta) { in withRegisterOffset() argument
65 return withRegisters(getRegisters().withOffset(delta)); in withRegisterOffset()
DLocalEnd.java59 public DalvInsn withRegisterOffset(int delta) { in withRegisterOffset() argument
60 return new LocalEnd(getPosition(), local.withOffset(delta)); in withRegisterOffset()
DLocalStart.java67 public DalvInsn withRegisterOffset(int delta) { in withRegisterOffset() argument
68 return new LocalStart(getPosition(), local.withOffset(delta)); in withRegisterOffset()
DLocalSnapshot.java52 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/
DConversion.java105 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()

12