Home
last modified time | relevance | path

Searched refs:remainder (Results 1 – 15 of 15) sorted by relevance

/libcore/ojluni/src/main/java/java/security/
DSecureRandom.java642 String remainder = property; in getInstanceStrong() local
643 while (remainder != null) { in getInstanceStrong()
646 remainder)).matches()) { in getInstanceStrong()
660 remainder = m.group(5); in getInstanceStrong()
662 remainder = null; in getInstanceStrong()
/libcore/ojluni/src/main/java/sun/misc/
DRegexpTarget.java40 Object found(String remainder); in found() argument
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/
DBigIntegerDivideTest.java409 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()
DBigIntegerTest.java601 largePos.remainder(zero); in test_remainderLjava_math_BigInteger()
607 bi1.remainder(zero); in test_remainderLjava_math_BigInteger()
613 bi3.negate().remainder(zero); in test_remainderLjava_math_BigInteger()
619 zero.remainder(zero); in test_remainderLjava_math_BigInteger()
905 BigInteger r = i1.remainder(i2); in testDiv()
DBigDecimalArithmeticTest.java1469 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/
DBigInt.java298 static void division(BigInt dividend, BigInt divisor, BigInt quotient, BigInt remainder) { in division() argument
306 if (remainder != null) { in division()
307 remainder.makeValid(); in division()
308 rem = remainder.bignum; in division()
DBigInteger.java945 BigInt remainder = new BigInt(); in divideAndRemainder() local
946 BigInt.division(getBigInt(), divisorBigInt, quotient, remainder); in divideAndRemainder() local
947 return new BigInteger[] {new BigInteger(quotient), new BigInteger(remainder) }; in divideAndRemainder()
973 @NonNull public BigInteger remainder(@NonNull BigInteger divisor) { in remainder() method in BigInteger
974 BigInt remainder = new BigInt(); in remainder() local
975 BigInt.division(getBigInt(), divisor.getBigInt(), null, remainder); in remainder() local
976 return new BigInteger(remainder); in remainder()
DBigDecimal.java1088 BigInteger remainder = quotAndRem[1]; in divideBigIntegers() local
1089 if (remainder.signum() == 0) { in divideBigIntegers()
1095 long rem = remainder.longValue(); in divideBigIntegers()
1104 compRem = remainder.abs().shiftLeftOneBit().compareTo(scaledDivisor.abs()); in divideBigIntegers()
1121 long remainder = scaledDividend % scaledDivisor; in dividePrimitiveLongs() local
1123 if (remainder != 0) { in dividePrimitiveLongs()
1125 int compRem = compareForRounding(remainder, scaledDivisor); // 'compare to remainder' in dividePrimitiveLongs()
1521 public BigDecimal remainder(BigDecimal divisor) { in remainder() method in BigDecimal
1547 public BigDecimal remainder(BigDecimal divisor, MathContext mc) { in remainder() method in BigDecimal
/libcore/ojluni/src/main/java/sun/nio/fs/
DUnixPath.java437 UnixPath remainder = other.subpath(i, cn); in relativize() local
439 return remainder; in relativize()
447 int len = dotdots*3 + remainder.path.length; in relativize()
449 assert remainder.isEmpty(); in relativize()
464 System.arraycopy(remainder.path, 0, result, pos, remainder.path.length); in relativize()
/libcore/ojluni/src/main/native/
Djfdlibm.h59 #define remainder jremainder macro
Dfdlibm.h164 extern double remainder __P((double, double));
DMath.c96 return remainder(dividend, divisor); in Math_IEEEremainder()
/libcore/luni/src/test/java/libcore/java/math/
DOldBigDecimalArithmeticTest.java436 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/test/java/libcore/java/lang/
DLongTest.java194 assertEquals(dividend.remainder(divisor).longValue(), ur);
/libcore/ojluni/src/main/java/java/lang/
DLong.java1336 remainder(toUnsignedBigInteger(divisor)).longValue(); in remainderUnsigned()