/libcore/luni/src/test/java/libcore/dalvik/system/ |
D | EmulatedStackFrameTest.java | 48 assertTrue(reader.nextBoolean()); in testReaderWriter_allParamTypes() 69 assertTrue(reader.nextBoolean()); in testReaderWriter_allReturnTypes() 182 assertFalse(reader.nextBoolean()); in testReturnValueReaderWriter_wrongTypes() 186 reader.nextBoolean(); in testReturnValueReaderWriter_wrongTypes()
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | TreeSetTest.java | 727 if (rnd.nextBoolean()) { in mutateSet() 752 if (rnd.nextBoolean()) { in mutateSubSet() 797 boolean incl = rnd.nextBoolean(); in bashSubSet() 800 if (rnd.nextBoolean()) in bashSubSet() 806 if (rnd.nextBoolean()) in bashSubSet() 814 incl = rnd.nextBoolean(); in bashSubSet() 817 if (rnd.nextBoolean()) in bashSubSet() 823 if (rnd.nextBoolean()) { in bashSubSet() 837 boolean lowIncl = rnd.nextBoolean(); in bashSubSet() 838 boolean highIncl = rnd.nextBoolean(); in bashSubSet() [all …]
|
D | ConcurrentSkipListSetTest.java | 723 if (rnd.nextBoolean()) { in mutateSet() 749 if (rnd.nextBoolean()) { in mutateSubSet() 795 boolean incl = rnd.nextBoolean(); in bashSubSet() 798 if (rnd.nextBoolean()) in bashSubSet() 804 if (rnd.nextBoolean()) in bashSubSet() 812 incl = rnd.nextBoolean(); in bashSubSet() 815 if (rnd.nextBoolean()) in bashSubSet() 821 if (rnd.nextBoolean()) { in bashSubSet() 835 boolean lowIncl = rnd.nextBoolean(); in bashSubSet() 836 boolean highIncl = rnd.nextBoolean(); in bashSubSet() [all …]
|
D | TreeMapTest.java | 834 if (rnd.nextBoolean()) { 859 if (rnd.nextBoolean()) { 904 boolean incl = rnd.nextBoolean(); 907 if (rnd.nextBoolean()) 913 if (rnd.nextBoolean()) 921 incl = rnd.nextBoolean(); 924 if (rnd.nextBoolean()) 930 if (rnd.nextBoolean()) { 944 boolean lowIncl = rnd.nextBoolean(); 945 boolean highIncl = rnd.nextBoolean(); [all …]
|
D | ConcurrentSkipListMapTest.java | 1029 if (rnd.nextBoolean()) { 1054 if (rnd.nextBoolean()) { 1099 boolean incl = rnd.nextBoolean(); 1102 if (rnd.nextBoolean()) 1108 if (rnd.nextBoolean()) 1116 incl = rnd.nextBoolean(); 1119 if (rnd.nextBoolean()) 1125 if (rnd.nextBoolean()) { 1139 boolean lowIncl = rnd.nextBoolean(); 1140 boolean highIncl = rnd.nextBoolean(); [all …]
|
D | ThreadLocalRandomTest.java | 85 boolean f = ThreadLocalRandom.current().nextBoolean(); 87 while (i < NCALLS && ThreadLocalRandom.current().nextBoolean() == f)
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | SortedMapTestBase.java | 51 ref.put(rnd.nextInt(N) * 2, rnd.nextBoolean() ? null : rnd.nextInt(N) * 2); in setUp() 103 if (rnd.nextBoolean()) { in testKeySet() 175 if (rnd.nextBoolean()) { in testValues() 341 if (rnd.nextBoolean()) { in compareIterators()
|
D | RandomTest.java | 66 if (r.nextBoolean()) in test_nextBoolean() 281 mr.nextBoolean(); in test_next()
|
D | ScannerTest.java | 669 assertTrue(s.nextBoolean()); in test_match() 677 assertFalse(s.nextBoolean()); in test_match() 679 s.nextBoolean(); in test_match() 690 assertTrue(s.nextBoolean()); in test_match() 700 s.nextBoolean(); in test_match() 713 assertTrue(s.nextBoolean()); in test_match() 716 s.nextBoolean(); in test_match() 727 assertTrue(s.nextBoolean()); in test_match() 997 assertTrue(s.nextBoolean()); in test_nextBoolean() 1000 assertTrue(s.nextBoolean()); in test_nextBoolean() [all …]
|
D | ArraysTest.java | 2190 a[i] = ourRandom.nextBoolean() ? (ourFirst += 2) : (ourSecond += 2); in build()
|
/libcore/dalvik/src/main/java/dalvik/system/ |
D | EmulatedStackFrame.java | 386 writer.putNextBoolean(reader.nextBoolean()); in copyNext() 494 public boolean nextBoolean() { in nextBoolean() method in EmulatedStackFrame.StackFrameReader
|
/libcore/ojluni/annotations/hiddenapi/java/util/ |
D | Random.java | 86 public boolean nextBoolean() { in nextBoolean() method in Random
|
/libcore/ojluni/src/main/java/java/lang/invoke/ |
D | Transformers.java | 522 filterWriter.putNextBoolean(returnValueReader.nextBoolean()); in transform() 577 arguments[i] = reader.nextBoolean(); in transform() 743 case 'Z': { o = reader.nextBoolean(); break; } in referenceArray() 835 case 'Z': { arityArray[i] = reader.nextBoolean(); break; } in booleanArray() 943 case 'Z': { writer.putNextBoolean(reader.nextBoolean()); break; } in copyParameter() 1420 array[i] = reader.nextBoolean(); in transform() 2118 boxed = Boolean.valueOf(reader.nextBoolean()); in box() 2159 explicitCastFromBoolean(reader.nextBoolean(), writer, to); in explicitCast()
|
/libcore/ojluni/src/main/java/java/util/ |
D | SplittableRandom.java | 555 public boolean nextBoolean() { in nextBoolean() method in SplittableRandom
|
D | Random.java | 447 public boolean nextBoolean() { in nextBoolean() method in Random
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | ThreadLocalRandom.java | 429 public boolean nextBoolean() { in nextBoolean() method in ThreadLocalRandom
|