Home
last modified time | relevance | path

Searched refs:factor (Results 1 – 11 of 11) sorted by relevance

/libcore/benchmarks/src/benchmarks/
DMultiplicationBenchmark.java39 int factor = 10; in timeMultiplyIntByVariable10() local
41 result *= factor; in timeMultiplyIntByVariable10()
47 int factor = 8; in timeMultiplyIntByVariable8() local
49 result *= factor; in timeMultiplyIntByVariable8()
/libcore/benchmarks/src/benchmarks/regression/
DIntConstantDivisionBenchmark.java64 int factor = 2; in timeDivideIntByVariable2() local
66 result /= factor; in timeDivideIntByVariable2()
72 int factor = 10; in timeDivideIntByVariable10() local
74 result /= factor; in timeDivideIntByVariable10()
DIntConstantMultiplicationBenchmark.java85 int factor = 10; in timeMultiplyIntByVariable10() local
87 result *= factor; in timeMultiplyIntByVariable10()
93 int factor = 8; in timeMultiplyIntByVariable8() local
95 result *= factor; in timeMultiplyIntByVariable8()
DIntConstantRemainderBenchmark.java59 int factor = 2; in timeRemainderIntByVariable2() local
61 result %= factor; in timeRemainderIntByVariable2()
DR.java1598 public static final int factor = 0; field in R
/libcore/luni/src/main/java/java/math/
DMultiplication.java91 static BigInteger multiplyByPositiveInt(BigInteger val, int factor) { in multiplyByPositiveInt() argument
93 bi.multiplyByPositiveInt(factor); in multiplyByPositiveInt()
DBigInteger.java1157 static int multiplyByInt(int[] res, int[] a, int aSize, int factor) {
1161 carry += (a[i] & 0xFFFFFFFFL) * (factor & 0xFFFFFFFFL);
/libcore/luni/src/main/java/javax/xml/datatype/
DDuration.java633 public Duration multiply(int factor) { in multiply() argument
634 return multiply(BigDecimal.valueOf(factor)); in multiply()
684 public abstract Duration multiply(final BigDecimal factor); in multiply() argument
/libcore/luni/src/test/java/tests/java/sql/
DUpdateFunctionalityTest.java232 int factor = 3; in testUpdate5() local
234 + " SET field2=field2 *" + factor; in testUpdate5()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DMathTest.java1976 public int factor; in test_shiftIntBits_II() field in MathTest.Tuple
1978 public Tuple(int result, int value, int factor) { in test_shiftIntBits_II() argument
1981 this.factor = factor; in test_shiftIntBits_II()
2008 .intBitsToFloat(tuple.value), tuple.factor))); in test_shiftIntBits_II()
2010 .intBitsToFloat(tuple.value), tuple.factor))); in test_shiftIntBits_II()
2026 public int factor; in test_shiftLongBits_LL() field in MathTest.Tuple
2028 public Tuple(long result, long value, int factor) { in test_shiftLongBits_LL() argument
2031 this.factor = factor; in test_shiftLongBits_LL()
2054 Double.longBitsToDouble(tuple.value), tuple.factor))); in test_shiftLongBits_LL()
2056 -Double.longBitsToDouble(tuple.value), tuple.factor))); in test_shiftLongBits_LL()
/libcore/ojluni/src/main/java/sun/misc/
DFDBigInteger.java225 int factor = 1; in FDBigInteger() local
229 factor *= 10; in FDBigInteger()
231 if (factor != 1) { in FDBigInteger()
232 multAddMe(factor, v); in FDBigInteger()