Home
last modified time | relevance | path

Searched refs:mr (Results 1 – 3 of 3) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DRandomTest.java279 Mock_Random mr = new Mock_Random(); in test_next() local
280 assertFalse(mr.getFlag()); in test_next()
281 mr.nextBoolean(); in test_next()
282 assertTrue(mr.getFlag()); in test_next()
283 mr.nextBytes(new byte[10]); in test_next()
284 assertTrue(mr.getFlag()); in test_next()
285 mr.nextDouble(); in test_next()
286 assertTrue(mr.getFlag()); in test_next()
287 mr.nextFloat(); in test_next()
288 assertTrue(mr.getFlag()); in test_next()
[all …]
/libcore/ojluni/src/main/java/java/util/
DScanner.java1525 MatchResult mr = this.match(); in hasNextLine() local
1526 String lineSep = mr.group(1); in hasNextLine()
1564 MatchResult mr = this.match(); in nextLine() local
1565 String lineSep = mr.group(1); in nextLine()
/libcore/ojluni/src/main/java/java/math/
DBigDecimal.java4329 MutableBigInteger mr = mdividend.divide(mdivisor, mq); in divideAndRound() local
4330 isRemainderZero = mr.isZero(); in divideAndRound()
4333 if (needIncrement(mdivisor, roundingMode, qsign, mq, mr)) { in divideAndRound()
4357 MutableBigInteger mr = mdividend.divide(mdivisor, mq); in divideAndRound() local
4358 isRemainderZero = mr.isZero(); in divideAndRound()
4361 if (needIncrement(mdivisor, roundingMode, qsign, mq, mr)) { in divideAndRound()
4383 int qsign, MutableBigInteger mq, MutableBigInteger mr) { in needIncrement() argument
4384 assert !mr.isZero(); in needIncrement()
4385 int cmpFracHalf = mr.compareHalf(mdivisor); in needIncrement()