/libcore/luni/src/main/java/java/util/ |
D | Grego.java | 108 long[] remainder = new long[1]; in dayOfWeek() local 109 floorDivide(day + Calendar.THURSDAY, 7, remainder); in dayOfWeek() 110 int dayOfWeek = (int)remainder[0]; in dayOfWeek() 174 long[] remainder = new long[1]; in timeToFields() local 175 long day = floorDivide(time, 24*60*60*1000 /* milliseconds per day */, remainder); in timeToFields() 177 fields[5] = (int)remainder[0]; in timeToFields() 189 private static long floorDivide(long numerator, long denominator, long[] remainder) { in floorDivide() argument 191 remainder[0] = numerator % denominator; in floorDivide() 195 remainder[0] = numerator - (quotient * denominator); in floorDivide()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/ |
D | BigIntegerDivideTest.java | 409 aNumber.remainder(bNumber); in testCase15() 426 BigInteger result = aNumber.remainder(bNumber); in testCase16() 446 BigInteger result = aNumber.remainder(bNumber); in testCase17() 466 BigInteger result = aNumber.remainder(bNumber); in testCase18() 487 BigInteger result = aNumber.remainder(bNumber); in testCase19() 508 BigInteger result = aNumber.remainder(bNumber); in testCase20() 528 BigInteger result = aNumber.remainder(bNumber); in testRemainderKnuth1() 548 BigInteger result = aNumber.remainder(bNumber); in testRemainderKnuthOneDigitByOneDigit() 568 BigInteger result = aNumber.remainder(bNumber); in testRemainderKnuthMultiDigitsByOneDigit()
|
D | BigIntegerTest.java | 600 largePos.remainder(zero); in test_remainderLjava_math_BigInteger() 606 bi1.remainder(zero); in test_remainderLjava_math_BigInteger() 612 bi3.negate().remainder(zero); in test_remainderLjava_math_BigInteger() 618 zero.remainder(zero); in test_remainderLjava_math_BigInteger() 904 BigInteger r = i1.remainder(i2); in testDiv()
|
D | BigDecimalArithmeticTest.java | 1469 BigDecimal result = aNumber.remainder(bNumber); in testRemainder1() 1486 BigDecimal result = aNumber.remainder(bNumber); in testRemainder2() 1506 BigDecimal result = aNumber.remainder(bNumber, mc); in testRemainderMathContextHALF_UP() 1526 BigDecimal result = aNumber.remainder(bNumber, mc); in testRemainderMathContextHALF_DOWN()
|
/libcore/luni/src/main/java/java/math/ |
D | BigInt.java | 300 static void division(BigInt dividend, BigInt divisor, BigInt quotient, BigInt remainder) { in division() argument 308 if (remainder != null) { in division() 309 remainder.makeValid(); in division() 310 rem = remainder.bignum; in division()
|
D | BigInteger.java | 923 BigInt remainder = new BigInt(); in divideAndRemainder() local 924 BigInt.division(getBigInt(), divisorBigInt, quotient, remainder); in divideAndRemainder() local 925 return new BigInteger[] {new BigInteger(quotient), new BigInteger(remainder) }; in divideAndRemainder() 951 public BigInteger remainder(BigInteger divisor) { in remainder() method in BigInteger 952 BigInt remainder = new BigInt(); in remainder() local 953 BigInt.division(getBigInt(), divisor.getBigInt(), null, remainder); in remainder() local 954 return new BigInteger(remainder); in remainder()
|
D | BigDecimal.java | 1079 BigInteger remainder = quotAndRem[1]; in divideBigIntegers() local 1080 if (remainder.signum() == 0) { in divideBigIntegers() 1086 long rem = remainder.longValue(); in divideBigIntegers() 1095 compRem = remainder.abs().shiftLeftOneBit().compareTo(scaledDivisor.abs()); in divideBigIntegers() 1112 long remainder = scaledDividend % scaledDivisor; in dividePrimitiveLongs() local 1114 if (remainder != 0) { in dividePrimitiveLongs() 1117 compRem = longCompareTo(Math.abs(remainder) * 2,Math.abs(scaledDivisor)); in dividePrimitiveLongs() 1513 public BigDecimal remainder(BigDecimal divisor) { in remainder() method in BigDecimal 1539 public BigDecimal remainder(BigDecimal divisor, MathContext mc) { in remainder() method in BigDecimal
|
/libcore/support/src/test/java/libcore/java/security/ |
D | StandardNames.java | 1095 String remainder = cipherSuite.substring("TLS_".length()); in isPermittedDefaultCipherSuite() local 1096 int macDelimiterIndex = remainder.lastIndexOf('_'); in isPermittedDefaultCipherSuite() 1099 String mac = remainder.substring(macDelimiterIndex + 1); in isPermittedDefaultCipherSuite() 1102 remainder = remainder.substring(0, macDelimiterIndex); in isPermittedDefaultCipherSuite() 1103 int withDelimiterIndex = remainder.indexOf("_WITH_"); in isPermittedDefaultCipherSuite() 1107 String keyExchange = remainder.substring(0, withDelimiterIndex); in isPermittedDefaultCipherSuite() 1109 String bulkEncryptionCipher = remainder.substring(withDelimiterIndex + "_WITH_".length()); in isPermittedDefaultCipherSuite()
|
/libcore/luni/src/main/java/java/lang/ |
D | RealToString.java | 293 long remainder = R - (S << i); in longDigitGenerator() local 294 if (remainder >= 0) { in longDigitGenerator() 295 R = remainder; in longDigitGenerator()
|
/libcore/luni/src/test/java/libcore/java/math/ |
D | OldBigDecimalArithmeticTest.java | 436 BigDecimal result = aNumber.remainder(bNumber); in testRemainderByZero() 452 res = a.remainder(b, mc); in testRemainderMathContextNonTrivial() 458 res = a.remainder(b, mc); in testRemainderMathContextNonTrivial() 465 res = a.remainder(b, mc); in testRemainderMathContextNonTrivial()
|
/libcore/luni/src/main/native/ |
D | java_lang_Math.cpp | 59 return remainder(a, b); in Math_IEEEremainder()
|
/libcore/benchmarks/libs/ |
D | caliper.jar | META-INF/
META-INF/MANIFEST.MF
com/
com/google/
com/ ... |