/libcore/ojluni/src/test/java/util/Map/ |
D | Collisions.java | 53 BitSet all = new BitSet(mapSize); in testIntegerIteration() local 55 assertFalse(all.get(each.getKey().getValue()), "Iteration: key already seen"); in testIntegerIteration() 56 all.set(each.getKey().getValue()); in testIntegerIteration() 59 all.flip(0, mapSize); in testIntegerIteration() 60 assertTrue(all.isEmpty(), "Iteration: some keys not visited"); in testIntegerIteration() 63 assertFalse(all.get(each.getValue()), "Iteration: key already seen"); in testIntegerIteration() 64 all.set(each.getValue()); in testIntegerIteration() 67 all.flip(0, mapSize); in testIntegerIteration() 68 assertTrue(all.isEmpty(), "Iteration: some keys not visited"); in testIntegerIteration() 84 BitSet all = new BitSet(mapSize); in testStringIteration() local [all …]
|
D | Defaults.java | 790 Collection<Object[]> all = new ArrayList<>(); in makeAllRWMapsWithNulls() local 792 all.addAll(makeRWMaps(true, true)); in makeAllRWMapsWithNulls() 794 return all; in makeAllRWMapsWithNulls() 798 Collection<Object[]> all = new ArrayList<>(); in makeRWMapsNoNulls() local 800 all.addAll(makeRWNoNullKeysMaps(false)); in makeRWMapsNoNulls() 801 all.addAll(makeRWNoNullsMaps()); in makeRWMapsNoNulls() 803 return all; in makeRWMapsNoNulls() 807 Collection<Object[]> all = new ArrayList<>(); in makeAllROMaps() local 809 all.addAll(makeROMaps(false)); in makeAllROMaps() 810 all.addAll(makeROMaps(true)); in makeAllROMaps() [all …]
|
D | BasicSerialization.java | 96 } catch (NoSuchMethodException | SecurityException all) { in mapClone() 104 } catch (Exception all) { in mapClone() 105 fail("clone() failed " + map.getClass().getSimpleName(), all); in mapClone() 116 } catch (Exception all) { in mapClone()
|
/libcore/ojluni/src/test/java/util/Collections/ |
D | CheckedListBash.java | 135 List all = clone(odd); in main() local 137 all.add(2*i, even.get(i)); in main() 138 if (!all.equals(s)) in main() 141 all = clone(odd); in main() 142 ListIterator itAll = all.listIterator(all.size()); in main() 149 itAll = all.listIterator(); in main() 154 itAll = all.listIterator(); in main() 159 if (!all.equals(s)) in main() 162 it = all.listIterator(); in main() 166 if (all.indexOf(o) != all.lastIndexOf(o)) in main() [all …]
|
D | EnumerationAsIterator.java | 120 public static Iterator<Object[]> all() { 121 List<Object[]> all = new ArrayList<>(); 122 unmodifiable().forEachRemaining(all::add); 123 others().forEachRemaining(all::add); 124 return all.iterator();
|
D | EmptyCollectionSerialization.java | 75 } catch (Exception all) { in serializableSingletons() 76 fail(description + ": Unexpected Exception", all); in serializableSingletons()
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | CurrencyTest.java | 75 Set<Currency> all = Currency.getAvailableCurrencies(); in testGetAvailableCurrencies() local 77 assertTrue(all.toString(), all.contains(Currency.getInstance("CHF"))); in testGetAvailableCurrencies() 78 assertTrue(all.toString(), all.contains(Currency.getInstance("EUR"))); in testGetAvailableCurrencies() 79 assertTrue(all.toString(), all.contains(Currency.getInstance("GBP"))); in testGetAvailableCurrencies() 80 assertTrue(all.toString(), all.contains(Currency.getInstance("JPY"))); in testGetAvailableCurrencies() 81 assertTrue(all.toString(), all.contains(Currency.getInstance("USD"))); in testGetAvailableCurrencies()
|
/libcore/ojluni/src/test/java/util/List/ |
D | ListFactories.java | 141 public Iterator<Object[]> all() { in all() method in ListFactories 142 List<Object[]> all = new ArrayList<>(); in all() local 143 empty().forEachRemaining(all::add); in all() 144 nonempty().forEachRemaining(all::add); in all() 145 sublists().forEachRemaining(all::add); in all() 146 return all.iterator(); in all() 151 List<Object[]> all = new ArrayList<>(); in nonsublists() local 152 empty().forEachRemaining(all::add); in nonsublists() 153 nonempty().forEachRemaining(all::add); in nonsublists() 154 return all.iterator(); in nonsublists()
|
/libcore/dom/src/test/java/ |
D | README | 1 all classes under org.w3c.domts are from the official w3c test suite. 6 all additions under org.w3c.dom.* and org.w3c.dom.events.*
|
/libcore/ojluni/src/test/java/util/Random/ |
D | RandomTestCoverage.java | 189 RandomGeneratorFactory.all() in main() 194 RandomGeneratorFactory.all() in main() 199 RandomGeneratorFactory.all() in main() 204 RandomGeneratorFactory.all() in main() 209 RandomGeneratorFactory.all() in main() 214 RandomGeneratorFactory.all() in main()
|
D | RandomTestBsi1999Split.java | 40 return RandomGeneratorFactory.all() in data()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | ThreadGroupTest.java | 663 ThreadGroup[] all = new ThreadGroup[count]; in allGroups() local 664 parent.enumerate(all, true); in allGroups() 665 return all; in allGroups() 705 ThreadGroup[] all = new ThreadGroup[count]; in groups() local 706 parent.enumerate(all, false); in groups() 709 for (; actualSize < all.length; actualSize++) { in groups() 710 if (all[actualSize] == null) { in groups() 715 if (actualSize == all.length) { in groups() 716 result = all; in groups() 719 System.arraycopy(all, 0, result, 0, actualSize); in groups()
|
/libcore/luni/src/test/java/libcore/java/util/random/ |
D | RandomGeneratorTest.java | 45 RandomGeneratorFactory.all() in randomGeneratorFactory_and_randomGenerator_consistency() 52 RandomGeneratorFactory.all() in isDeprecated_doesNotThrow()
|
D | RandomGeneratorFactoryTest.java | 89 Set<String> actual = RandomGeneratorFactory.all() in checkCurrentlyAvailableImplementations() 110 RandomGeneratorFactory.all() in checkConsistency_initializeWithLongSeed() 116 RandomGeneratorFactory.all() in checkConsistency_initializeWithBytesSeed() 122 RandomGeneratorFactory.all().forEach(factory -> { in isDeprecated_consistency()
|
/libcore/luni/src/test/java/libcore/java/util/beans/ |
D | PropertyChangeSupportTest.java | 65 EventLog all = new EventLog(); in testEventsFilteredByProxies() local 66 support.addPropertyChangeListener(all); in testEventsFilteredByProxies() 94 assertEquals(Arrays.asList(eventA, eventB, eventC), all.log); in testEventsFilteredByProxies() 111 EventLog all = new EventLog(); in testRemoveWithProxies() local 112 support.addPropertyChangeListener(all); in testRemoveWithProxies() 139 support.removePropertyChangeListener(all); in testRemoveWithProxies()
|
/libcore/ojluni/src/test/java/util/Collection/ |
D | SetFactories.java | 117 public Iterator<Object[]> all() { in all() method in SetFactories 118 List<Object[]> all = new ArrayList<>(); in all() local 119 empty().forEachRemaining(all::add); in all() 120 nonempty().forEachRemaining(all::add); in all() 121 return all.iterator(); in all()
|
/libcore/luni/src/test/java9compatibility/ |
D | Android.bp | 21 // all of the 'license_kinds' from "libcore_luni_license" 35 system_modules: "core-all-system-modules",
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | OldThreadGroupTest.java | 356 ThreadGroup[] all = new ThreadGroup[count]; in groups() local 357 parent.enumerate(all, false); in groups() 360 for (; actualSize < all.length; actualSize++) { in groups() 361 if (all[actualSize] == null) { in groups() 365 return Arrays.copyOfRange(all, 0, actualSize); in groups()
|
/libcore/benchmarks/ |
D | Android.bp | 31 system_modules: "core-all-system-modules", 64 system_modules: "core-all-system-modules",
|
/libcore/ |
D | JavaLibrary.bp | 164 //"-Xlint:all", 202 // See core-all-system-modules for more details. 204 name: "core-all", 246 src: ":core-all", 254 // contains the core-all jar, which contains the classes that end up in core-oj, 262 name: "core-all-system-modules", 278 libs: ["core-all"], 303 system_modules: "core-all-system-modules", 364 system_modules: "core-all-system-modules", 441 system_modules: "core-all-system-modules", [all …]
|
/libcore/ojluni/src/main/ |
D | Android.bp | 37 // directory, detect that it is a GPL+classpath license and then copy all 45 "core-all",
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
D | InetAddressTest.java | 83 InetAddress[] all = InetAddress.getAllByName("localhost"); in test_getAllByNameLjava_lang_String() local 84 assertNotNull(all); in test_getAllByNameLjava_lang_String() 86 assertTrue(all.length >= 1); in test_getAllByNameLjava_lang_String() 87 for (InetAddress alias : all) { in test_getAllByNameLjava_lang_String()
|
/libcore/ojluni/src/test/ |
D | Android.bp | 53 system_modules: "core-all-system-modules", 72 // For now, we use patch_module to put all sources 146 system_modules: "core-all-system-modules",
|
D | LICENSE | 14 software--to make sure the software is free for all its users. This 34 gratis or for a fee, you must give the recipients all the rights that 54 patent must be licensed for everyone's free use or not licensed at all. 82 copyright notice and disclaimer of warranty; keep intact all the 93 above, provided that you also meet all of these conditions: 100 part thereof, to be licensed as a whole at no charge to all third 157 code means all the source code for all modules it contains, plus any 186 all its terms and conditions for copying, distributing or modifying 204 may not distribute the Program at all. For example, if a patent 206 all those who receive copies directly or indirectly through you, then [all …]
|
/libcore/ojluni/src/test/java/util/Base64/ |
D | plain.txt | 1 This test data is part of rfc2045 which includes all characters a~z A~Z, 0~9 and all symbols, 140 Now's the time for all folk to come to the aid of their country. 145 for all folk to come=
|