/libcore/luni/src/test/java/libcore/java/util/ |
D | TreeSetTest.java | 30 TreeSet<String> set = new TreeSet<String>(); in testEmptySetSerialization() local 39 TreeSet<String> set = new TreeSet<String>(String.CASE_INSENSITIVE_ORDER); in testSerializationWithComparator() local 42 new SerializationTester<NavigableSet<String>>(set, s) { in testSerializationWithComparator() argument 54 TreeSet<String> set = new TreeSet<String>(String.CASE_INSENSITIVE_ORDER); in testSubSetSerialization() local 72 TreeSet<String> set = new TreeSet<String>(String.CASE_INSENSITIVE_ORDER); in testNavigableSubSetSerialization() local 111 TreeSet<String> set = new TreeSet<String>(); in testDescendingSetSerialization() local 127 TreeSet<String> set = new TreeSet<String>(String.CASE_INSENSITIVE_ORDER); in testJava5SerializationWithComparator() local 130 new SerializationTester<TreeSet<String>>(set, s) { in testJava5SerializationWithComparator() argument
|
D | CollectionsTest.java | 382 NavigableSet set = Collections.checkedNavigableSet(new TreeSet<>(), String.class); in test_checkedNavigableSet() local 399 NavigableSet set = Collections.checkedNavigableSet(new TreeSet<>(), String.class); in test_checkedNavigableSet_isChecked() local 637 NavigableSet<String> set = Collections.unmodifiableNavigableSet(new TreeSet<>()); in test_unmodifiableNavigableSet_empty() local 644 NavigableSet<String> set = Collections.unmodifiableNavigableSet(delegate); in test_unmodifiableNavigableSet_nonEmpty() local 717 Set<String> set = map.keySet(); in test_synchronizedNavigableMap_keySet() local 724 NavigableSet<String> set = map.navigableKeySet(); in test_synchronizedNavigableMap_navigableKeySet() local 731 NavigableSet<String> set = map.descendingMap().descendingKeySet(); in test_synchronizedNavigableMap_descendingMap_descendingKeySet() local 738 NavigableSet<String> set = map.descendingKeySet(); in test_synchronizedNavigableMap_descendingKeySet() local 746 Set<String> set = map.descendingMap().keySet(); in test_synchronizedNavigableMap_descendingMap_keySet() local 753 NavigableSet<String> set = map.descendingMap().navigableKeySet(); in test_synchronizedNavigableMap_descendingMap_navigableKeySet() local [all …]
|
/libcore/ojluni/src/test/java/util/Collection/ |
D | SetFactories.java | 82 Set<Integer> set = Set.copyOf(null); in copyOfRejectsNullCollection() local 87 Set<Integer> set = Set.copyOf(Arrays.asList(1, null, 3)); in copyOfRejectsNullElements() local 92 Set<Integer> set = Set.copyOf(Arrays.asList(1, 1, 2, 3, 3, 3)); in copyOfAcceptsDuplicates() local
|
/libcore/luni/src/test/java/libcore/java/util/concurrent/ |
D | ConcurrentSkipListSetTest.java | 37 ConcurrentSkipListSet set = new ConcurrentSkipListSet(); in createPopulatedSet() local 67 ConcurrentSkipListSet set = createPopulatedSet(); in testClone() local 83 ConcurrentSkipListSet set = createPopulatedSet(); in testDescendingIterator() local
|
D | ConcurrentHashMapTest.java | 223 Set<Long> set = ConcurrentHashMap.<Long>newKeySet(capacity); in testNewKeySetWithCapacity() local 236 Set<Long> set = ConcurrentHashMap.<Long>newKeySet(capacity); in testNewKeySetWithZeroCapacity() local 249 Set<Long> set = ConcurrentHashMap.<Long>newKeySet(capacity); in testNewKeySetWithInvalidCapacity() local 322 ConcurrentHashMap.KeySetView<String, Boolean> set = in createKeySet() local 337 ConcurrentHashMap.KeySetView set = createKeySet(); in testKeySetViewClear() local 346 ConcurrentHashMap.KeySetView set = createKeySet(); in testKeySetViewContainsAll() local 358 ConcurrentHashMap.KeySetView<Integer, Boolean> set = in testKeySetViewForEach() local 371 ConcurrentHashMap.KeySetView set = createKeySet(); in testKeySetViewRemoveAll() local 382 ConcurrentHashMap.KeySetView set = createKeySet(); in testKeySetViewRetainAll() local
|
/libcore/ojluni/src/main/java/sun/util/ |
D | ResourceBundleEnumeration.java | 39 Set<String> set; field in ResourceBundleEnumeration 49 public ResourceBundleEnumeration(Set<String> set, Enumeration<String> enumeration) { in ResourceBundleEnumeration()
|
/libcore/luni/src/test/java/libcore/java/nio/file/ |
D | DefaultSecureDirectoryStreamTest.java | 203 Set<OpenOption> set = new HashSet<OpenOption>(); in test_newByteChannel() local 210 set)) { in test_newByteChannel() argument 219 path_root.relativize(path_f1), set)) { in test_newByteChannel() argument 228 path_root.relativize(path_f1), set)) { in test_newByteChannel() argument 240 path_root.relativize(path_f1), set)) { in test_newByteChannel() argument 250 Set<OpenOption> set = new HashSet<OpenOption>(); in test_newByteChannel_NPE() local 251 try (SeekableByteChannel sbc = ds_path_root.newByteChannel(null, set)) { in test_newByteChannel_NPE() argument
|
D | DefaultFileSystemProviderTest.java | 291 Set<OpenOption> set = new HashSet<OpenOption>(); in test_newByteChannel() local 294 try (SeekableByteChannel sbc = provider.newByteChannel(filesSetup.getTestPath(), set)) { in test_newByteChannel() argument 303 try (SeekableByteChannel sbc = provider.newByteChannel(filesSetup.getDataFilePath(), set)) { in test_newByteChannel() argument 310 try (SeekableByteChannel sbc = provider.newByteChannel(filesSetup.getDataFilePath(), set)) { in test_newByteChannel() argument 326 Set<OpenOption> set = new HashSet<OpenOption>(); in test_newByteChannel_openOption_WRITE() local 330 try (SeekableByteChannel sbc = provider.newByteChannel(filesSetup.getTestPath(), set)) { in test_newByteChannel_openOption_WRITE() argument 338 try (SeekableByteChannel sbc = provider.newByteChannel(filesSetup.getDataFilePath(), set)) { in test_newByteChannel_openOption_WRITE() argument 345 try (SeekableByteChannel sbc = provider.newByteChannel(filesSetup.getDataFilePath(), set)) { in test_newByteChannel_openOption_WRITE() argument 362 Set<OpenOption> set = new HashSet<OpenOption>(); in test_newByteChannel_openOption_WRITE_READ() local 367 try (SeekableByteChannel sbc = provider.newByteChannel(filesSetup.getDataFilePath(), set)) { in test_newByteChannel_openOption_WRITE_READ() argument [all …]
|
/libcore/ojluni/src/main/java/java/util/ |
D | BitSet.java | 442 public void set(int bitIndex) { in set() method in BitSet 462 public void set(int bitIndex, boolean value) { in set() method in BitSet 480 public void set(int fromIndex, int toIndex) { in set() method in BitSet 524 public void set(int fromIndex, int toIndex, boolean value) { in set() method in BitSet 883 public boolean intersects(BitSet set) { in intersects() 912 public void and(BitSet set) { in and() 936 public void or(BitSet set) { in or() 975 public void xor(BitSet set) { in xor() 1005 public void andNot(BitSet set) { in andNot()
|
/libcore/ojluni/src/main/java/sun/nio/fs/ |
D | Util.java | 100 HashSet<E> set = new HashSet<>(); in newSet() local 113 HashSet<E> set = new HashSet<>(other); in newSet() local
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | TreeSetTest.java | 551 TreeSet set = set5(); in testSubSetContents() local 582 TreeSet set = set5(); in testSubSetContents2() local 612 TreeSet set = set5(); in testHeadSetContents() local 638 TreeSet set = set5(); in testTailSetContents() local 676 NavigableSet<Integer> set = newSet(cl); in testRecursiveSubSets() local 709 void populate(NavigableSet<Integer> set, int limit) { in populate() 716 void mutateSet(NavigableSet<Integer> set, int min, int max) { in mutateSet() 741 void mutateSubSet(NavigableSet<Integer> set, int min, int max) { in mutateSubSet() 772 void put(NavigableSet<Integer> set, int element) { in put() 777 void remove(NavigableSet<Integer> set, int element) { in remove() [all …]
|
D | ConcurrentSkipListSetTest.java | 548 ConcurrentSkipListSet set = set5(); in testSubSetContents() local 579 ConcurrentSkipListSet set = set5(); in testSubSetContents2() local 609 ConcurrentSkipListSet set = set5(); in testHeadSetContents() local 635 ConcurrentSkipListSet set = set5(); in testTailSetContents() local 672 NavigableSet<Integer> set = newSet(cl); in testRecursiveSubSets() local 705 void populate(NavigableSet<Integer> set, int limit, BitSet bs) { in populate() 712 void mutateSet(NavigableSet<Integer> set, int min, int max, BitSet bs) { in mutateSet() 737 void mutateSubSet(NavigableSet<Integer> set, int min, int max, in mutateSubSet() 769 void put(NavigableSet<Integer> set, int element, BitSet bs) { in put() 774 void remove(NavigableSet<Integer> set, int element, BitSet bs) { in remove() [all …]
|
D | TreeSubSetTest.java | 89 TreeSet set = new TreeSet(); in set0() local 95 TreeSet set = new TreeSet(); in dset0() local 502 NavigableSet set = set5(); in testSubSetContents() local 533 NavigableSet set = set5(); in testSubSetContents2() local 563 NavigableSet set = set5(); in testHeadSetContents() local 589 NavigableSet set = set5(); in testTailSetContents() local 991 NavigableSet set = dset5(); in testDescendingSubSetContents() local 1022 NavigableSet set = dset5(); in testDescendingSubSetContents2() local 1052 NavigableSet set = dset5(); in testDescendingHeadSetContents() local 1078 NavigableSet set = dset5(); in testDescendingTailSetContents() local
|
D | ConcurrentSkipListSubSetTest.java | 92 ConcurrentSkipListSet set = new ConcurrentSkipListSet(); in set0() local 98 ConcurrentSkipListSet set = new ConcurrentSkipListSet(); in dset0() local 505 NavigableSet set = set5(); in testSubSetContents() local 536 NavigableSet set = set5(); in testSubSetContents2() local 566 NavigableSet set = set5(); in testHeadSetContents() local 592 NavigableSet set = set5(); in testTailSetContents() local 1004 NavigableSet set = dset5(); in testDescendingSubSetContents() local 1035 NavigableSet set = dset5(); in testDescendingSubSetContents2() local 1065 NavigableSet set = dset5(); in testDescendingHeadSetContents() local 1091 NavigableSet set = dset5(); in testDescendingTailSetContents() local
|
/libcore/ojluni/src/test/java/util/concurrent/tck/ |
D | TreeSetTest.java | 574 TreeSet set = set5(); in testSubSetContents() local 605 TreeSet set = set5(); in testSubSetContents2() local 635 TreeSet set = set5(); in testHeadSetContents() local 661 TreeSet set = set5(); in testTailSetContents() local 699 NavigableSet<Integer> set = newSet(cl); in testRecursiveSubSets() local 733 void populate(NavigableSet<Integer> set, int limit) { in populate() 740 void mutateSet(NavigableSet<Integer> set, int min, int max) { in mutateSet() 765 void mutateSubSet(NavigableSet<Integer> set, int min, int max) { in mutateSubSet() 796 void put(NavigableSet<Integer> set, int element) { in put() 801 void remove(NavigableSet<Integer> set, int element) { in remove() [all …]
|
D | ConcurrentSkipListSetTest.java | 578 ConcurrentSkipListSet set = set5(); in testSubSetContents() local 609 ConcurrentSkipListSet set = set5(); in testSubSetContents2() local 639 ConcurrentSkipListSet set = set5(); in testHeadSetContents() local 665 ConcurrentSkipListSet set = set5(); in testTailSetContents() local 702 NavigableSet<Integer> set = newSet(cl); in testRecursiveSubSets() local 736 void populate(NavigableSet<Integer> set, int limit, BitSet bs) { in populate() 743 void mutateSet(NavigableSet<Integer> set, int min, int max, BitSet bs) { in mutateSet() 768 void mutateSubSet(NavigableSet<Integer> set, int min, int max, in mutateSubSet() 800 void put(NavigableSet<Integer> set, int element, BitSet bs) { in put() 805 void remove(NavigableSet<Integer> set, int element, BitSet bs) { in remove() [all …]
|
D | TreeSubSetTest.java | 112 TreeSet set = new TreeSet(); in set0() local 118 TreeSet set = new TreeSet(); in dset0() local 525 NavigableSet set = set5(); in testSubSetContents() local 556 NavigableSet set = set5(); in testSubSetContents2() local 586 NavigableSet set = set5(); in testHeadSetContents() local 612 NavigableSet set = set5(); in testTailSetContents() local 1014 NavigableSet set = dset5(); in testDescendingSubSetContents() local 1045 NavigableSet set = dset5(); in testDescendingSubSetContents2() local 1075 NavigableSet set = dset5(); in testDescendingHeadSetContents() local 1101 NavigableSet set = dset5(); in testDescendingTailSetContents() local
|
D | ConcurrentSkipListSubSetTest.java | 115 ConcurrentSkipListSet set = new ConcurrentSkipListSet(); in set0() local 121 ConcurrentSkipListSet set = new ConcurrentSkipListSet(); in dset0() local 528 NavigableSet set = set5(); in testSubSetContents() local 559 NavigableSet set = set5(); in testSubSetContents2() local 589 NavigableSet set = set5(); in testHeadSetContents() local 615 NavigableSet set = set5(); in testTailSetContents() local 1027 NavigableSet set = dset5(); in testDescendingSubSetContents() local 1058 NavigableSet set = dset5(); in testDescendingSubSetContents2() local 1088 NavigableSet set = dset5(); in testDescendingHeadSetContents() local 1114 NavigableSet set = dset5(); in testDescendingTailSetContents() local
|
/libcore/ojluni/src/main/java/sun/security/provider/certpath/ |
D | PolicyNodeImpl.java | 303 Set<PolicyNodeImpl> set = new HashSet<>(); in getPolicyNodes() local 312 private void getPolicyNodes(int depth, Set<PolicyNodeImpl> set) { in getPolicyNodes() 347 HashSet<PolicyNodeImpl> set = new HashSet<>(); in getPolicyNodesExpectedHelper() local 377 HashSet<PolicyNodeImpl> set = new HashSet<>(); in getPolicyNodesValid() local
|
/libcore/ojluni/src/main/java/java/nio/file/attribute/ |
D | AclEntry.java | 161 private static void checkSet(Set<?> set, Class<?> type) { in checkSet() 203 Set<AclEntryPermission> set = EnumSet.noneOf(AclEntryPermission.class); in setPermissions() local 248 Set<AclEntryFlag> set = EnumSet.noneOf(AclEntryFlag.class); in setFlags() local
|
/libcore/ojluni/src/main/java/java/security/ |
D | UnresolvedPermissionCollection.java | 168 Set<Map.Entry<String, List<UnresolvedPermission>>> set = perms.entrySet(); in writeObject() local 209 Set<Map.Entry<String, Vector<UnresolvedPermission>>> set = permissions.entrySet(); in readObject() local
|
/libcore/ojluni/annotations/hiddenapi/sun/security/util/ |
D | DerOutputStream.java | 124 public void putSet(sun.security.util.DerValue[] set) throws java.io.IOException { in putSet() 129 public void putOrderedSetOf(byte tag, sun.security.util.DerEncoder[] set) in putOrderedSetOf() 134 public void putOrderedSet(byte tag, sun.security.util.DerEncoder[] set) in putOrderedSet() 140 byte tag, sun.security.util.DerEncoder[] set, java.util.Comparator<byte[]> order) in putOrderedSet()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | EnumSetTest.java | 121 EnumSet<HugeEnumCount> set; in test_iterator_HugeEnumSet() local 142 EnumSet<HugeEnumCount> set = EnumSet.noneOf(HugeEnumCount.class); in testRemoveIteratorRemoveFromHugeEnumSet() local 155 assertEquals(EnumSet.of(HugeEnumCount.NO65, HugeEnumCount.NO128), set); in testRemoveIteratorRemoveFromHugeEnumSet() local 157 assertEquals(EnumSet.of(HugeEnumCount.NO65), set); in testRemoveIteratorRemoveFromHugeEnumSet() local 217 Set<EnumFoo> set = EnumSet.noneOf(EnumFoo.class); in test_add_E() local 322 Set<EnumFoo> set = EnumSet.noneOf(EnumFoo.class); in test_addAll_LCollection() local 479 Set<EnumFoo> set = EnumSet.noneOf(EnumFoo.class); in test_remove_LOject() local 523 Set<EnumFoo> set = EnumSet.noneOf(EnumFoo.class); in test_equals_LObject() local 582 Set<EnumFoo> set = EnumSet.noneOf(EnumFoo.class); in test_clear() local 618 EnumSet<EnumFoo> set = EnumSet.noneOf(EnumFoo.class); in test_size_modification_regular() local [all …]
|
/libcore/support/src/test/java/tests/support/ |
D | Support_SetTest.java | 24 Set<Integer> set; // must contain only the Integers 0 to 99 field in Support_SetTest
|
/libcore/ojluni/src/main/java/java/util/stream/ |
D | StreamOpFlag.java | 385 private static MaskBuilder set(Type t) { in set() method in StreamOpFlag 401 MaskBuilder set(Type t) { in set() method in StreamOpFlag.MaskBuilder 435 private final int set; field in StreamOpFlag 463 public int set() { in set() method in StreamOpFlag
|