/libcore/luni/src/test/java/libcore/java/util/concurrent/ |
D | CopyOnWriteArrayListTest.java | 37 CopyOnWriteArrayList<String> list = new CopyOnWriteArrayList<String>(); in testIteratorAndNonStructuralChanges() local 54 CopyOnWriteArrayList<String> list = new CopyOnWriteArrayList<String>(); in testSubListAndNonStructuralChanges() local 66 CopyOnWriteArrayList<String> list = new CopyOnWriteArrayList<String>(); in testSubListAndStructuralChanges() local 78 CopyOnWriteArrayList<String> list = new CopyOnWriteArrayList<String>(); in testSubListAndSizePreservingStructuralChanges() local 91 CopyOnWriteArrayList<String> list = new CopyOnWriteArrayList<String>(); in testRemoveAll() local 105 CopyOnWriteArrayList<String> list = new CopyOnWriteArrayList<String>(); in testRetainAll() local 114 CopyOnWriteArrayList<String> list = new CopyOnWriteArrayList<String>(); in testSubListClear() local 128 CopyOnWriteArrayList<String> list = new CopyOnWriteArrayList<String>(); in testSubListIteratorGetsSnapshot() local 139 CopyOnWriteArrayList<String> list = new CopyOnWriteArrayList<String>(); in testSubListRemoveByValue() local 148 CopyOnWriteArrayList<String> list = new CopyOnWriteArrayList<String>(); in testSubListRemoveByIndex() local [all …]
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | ArrayListTest.java | 98 ArrayList<String> list = new ArrayList<String>(collection); in testConstructorWithConcurrentCollection() local 453 List list = new ArrayList(); in testaddAllHarmony5839() local 559 ArrayList<String> list = new ArrayList<String>(1); in test_ensureCapacityI() local 701 List list = new ArrayList(Arrays.asList(new String[] { "a", "b", "c", in test_removeI() local 885 ArrayList list = new ArrayList(Arrays.asList(new String[] { "a", "b", "c", in test_trimToSize_02() local 897 ArrayList<String> list = new ArrayList<>(); in test_trimToEmpty_add() local 903 assertEquals(Collections.emptyList(), list); in test_trimToEmpty_add() local 910 ArrayList list = new ArrayList(); in test_addAll() local 948 List list = new ArrayList(Arrays.asList(new String[] { "a", "b", "c", in test_removeLjava_lang_Object() local 959 ArrayList<String> list = new ArrayList<String>(); in testAddAllWithConcurrentCollection() local [all …]
|
D | AbstractListTest.java | 61 List list = new ArrayList(); in test_hashCode() local 81 SimpleList list = new SimpleList(); in test_iterator() local 95 List list = new ArrayList(); in test_listIterator() local 214 ArrayList<E> list = new ArrayList<E>(); field in AbstractListTest.MockArrayList 515 AbstractList<Integer> list = new MockArrayList<Integer>(); in test_indexOf_Ljava_lang_Object() local 531 AbstractList<Integer> list = new MockArrayList<Integer>(); in test_lastIndexOf_Ljava_lang_Object() local 548 private ArrayList<E> list; in test_remove_I() field in AbstractListTest.MockList 561 AbstractList<Integer> list = new MockList<Integer>(); in test_remove_I() local
|
D | PriorityQueueTest.java | 261 List<Integer> list = Arrays.asList(array); in test_ConstructorILjava_util_Comparator_cast() local 272 List<Integer> list = Arrays.asList(array); in test_ConstructorLjava_util_Colleciton() local 286 ArrayList<Object> list = new ArrayList<Object>(); in test_ConstructorLjava_util_Colleciton_null() local 302 ArrayList<Object> list = new ArrayList<Object>(); in test_ConstructorLjava_util_Colleciton_non_comparable() local 587 List<Integer> list = Arrays.asList(array); in test_remove_Ljava_lang_Object() local 618 List<Integer> list = Arrays.asList(array); in test_remove_Ljava_lang_Object_not_exists() local 630 List<Integer> list = Arrays.asList(array); in test_remove_Ljava_lang_Object_null() local 641 List<Integer> list = Arrays.asList(array); in test_remove_Ljava_lang_Object_not_Compatible() local 676 List<Integer> list = Arrays.asList(array); in test_Serialization() local 693 List<Integer> list = Arrays.asList(array); in test_Serialization_casting() local [all …]
|
D | LinkedListTest.java | 352 LinkedList list = new LinkedList(); in test_peek() local 368 LinkedList list = new LinkedList(); in test_getFirst() local 385 LinkedList list = new LinkedList(); in test_getLast() local 537 LinkedList list = new LinkedList(); in test_removeFirst() local 555 LinkedList list = new LinkedList(); in test_removeLast() local 953 LinkedList<Integer> list = new LinkedList<>(); in test_spliterator() local 970 LinkedList<Integer> list = new LinkedList<>(); in test_spliterator_CME() local
|
D | AbstractQueueTest.java | 173 List list = Arrays.asList("MYTESTSTRING", null, new Float(123.456)); in test_addAllLE_with_null() local 186 List list = Arrays.asList(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11); in test_addAllLE_full() local 200 List list = new ArrayList<Object>(0); in test_addAllLE_empty() local 243 List list = Arrays.asList(123.456, "MYTESTSTRING", new Object(), 'c'); in test_clear() local
|
/libcore/luni/src/test/java/libcore/libcore/util/ |
D | CollectionUtilsTest.java | 78 List<String> list = new ArrayList<String>(); in testRemoveDuplicatesOnEmptyCollection() local 84 List<String> list = Arrays.asList("A"); in testRemoveDuplicatesOnSingletonCollection() local 90 List<String> list = new ArrayList<String>(); in testRemoveDuplicates() local
|
/libcore/ojluni/src/main/java/sun/security/jca/ |
D | Providers.java | 172 ProviderList list = getThreadProviderList(); in getProviderList() local 197 ProviderList list; in getFullProviderList() local 222 private static void setSystemProviderList(ProviderList list) { in setSystemProviderList() 238 private static void changeThreadProviderList(ProviderList list) { in changeThreadProviderList() 258 public static synchronized ProviderList beginThreadProviderList(ProviderList list) { in beginThreadProviderList() 268 public static synchronized void endThreadProviderList(ProviderList list) { in endThreadProviderList()
|
D | GetInstance.java | 66 ProviderList list = Providers.getProviderList(); in getService() local 113 ProviderList list = Providers.getProviderList(); in getServices() local 125 ProviderList list = Providers.getProviderList(); in getServices() local 134 ProviderList list = Providers.getProviderList(); in getServices() local 156 ProviderList list = Providers.getProviderList(); in getInstance() local
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | FileLockTable.java | 125 List<FileLockReference> list = lockMap.get(fileKey); in add() local 165 private void removeKeyIfEmpty(FileKey fk, List<FileLockReference> list) { in removeKeyIfEmpty() 178 List<FileLockReference> list = lockMap.get(fileKey); in remove() local 200 List<FileLockReference> list = lockMap.get(fileKey); in removeAll() local 231 List<FileLockReference> list = lockMap.get(fileKey); in replace() local 248 private void checkList(List<FileLockReference> list, long position, long size) in checkList() 264 List<FileLockReference> list = lockMap.get(fk); in removeStaleEntries() local
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | ArrayListTest.java | 33 ArrayList<String> list = new ArrayList<>(Arrays.asList("zero", "one", "two")); in test_sublist_throws() local 67 List<String> list = new ArrayList<>(Arrays.asList("zero", "one", "two")); in test_sublist_set() local
|
D | ArraysTest.java | 44 int[] list = new int[3]; in setAll$I() local 72 int[] list = new int[3]; in parallelSetAll$I() local 100 long[] list = new long[3]; in setAll$L() local 128 long[] list = new long[3]; in parallelSetAll$L() local 156 double[] list = new double[3]; in setAll$D() local 184 double[] list = new double[3]; in parallelSetAll$D() local 270 int[] list = new int[1000]; in parallelPrefix$I() local 305 int[] list = new int[1000]; in parallelPrefix$III() local 347 long[] list = new long[1000]; in parallelPrefix$L() local 382 long[] list = new long[1000]; in parallelPrefix$LII() local [all …]
|
/libcore/ojluni/annotations/sdk/nullability/java/util/ |
D | Collections.annotated.java | 38 …util.NonNull java.util.List<@libcore.util.NonNull T> list) { throw new RuntimeException("Stub!"); } in sort() 40 …t, @libcore.util.Nullable java.util.Comparator<? super @libcore.util.NullFromTypeParam T> c) { thr… in sort() 42 … java.lang.Comparable<? super T>> list, @libcore.util.NonNull T key) { throw new RuntimeException(… in binarySearch() 44 …mTypeParam T> list, @libcore.util.NullFromTypeParam T key, @libcore.util.Nullable java.util.Compar… in binarySearch() 46 …void reverse(@libcore.util.NonNull java.util.List<?> list) { throw new RuntimeException("Stub!"); } in reverse() 48 …void shuffle(@libcore.util.NonNull java.util.List<?> list) { throw new RuntimeException("Stub!"); } in shuffle() 50 ….List<?> list, @libcore.util.NonNull java.util.Random rnd) { throw new RuntimeException("Stub!"); } in shuffle() 52 …libcore.util.NonNull java.util.List<?> list, int i, int j) { throw new RuntimeException("Stub!"); } in swap() 54 …mTypeParam T> list, @libcore.util.NullFromTypeParam T obj) { throw new RuntimeException("Stub!"); } in fill() 66 …libcore.util.NonNull java.util.List<?> list, int distance) { throw new RuntimeException("Stub!"); } in rotate() [all …]
|
/libcore/ojluni/annotations/hiddenapi/java/lang/ |
D | ThreadGroup.java | 95 public int enumerate(java.lang.Thread[] list) { in enumerate() 99 public int enumerate(java.lang.Thread[] list, boolean recurse) { in enumerate() 103 private int enumerate(java.lang.Thread[] list, int n, boolean recurse) { in enumerate() 111 public int enumerate(java.lang.ThreadGroup[] list) { in enumerate() 115 public int enumerate(java.lang.ThreadGroup[] list, boolean recurse) { in enumerate() 119 private int enumerate(java.lang.ThreadGroup[] list, int n, boolean recurse) { in enumerate() 180 public void list() { in list() method in ThreadGroup 184 void list(java.io.PrintStream out, int indent) { in list() method in ThreadGroup
|
/libcore/ojluni/annotations/hiddenapi/sun/security/jca/ |
D | Providers.java | 68 private static void setSystemProviderList(sun.security.jca.ProviderList list) { in setSystemProviderList() 76 private static void changeThreadProviderList(sun.security.jca.ProviderList list) { in changeThreadProviderList() 81 sun.security.jca.ProviderList list) { in beginThreadProviderList() 85 public static synchronized void endThreadProviderList(sun.security.jca.ProviderList list) { in endThreadProviderList()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | ThreadGroup.java | 398 public int enumerate(Thread list[]) { in enumerate() 436 public int enumerate(Thread list[], boolean recurse) { in enumerate() 441 private int enumerate(Thread list[], int n, boolean recurse) { in enumerate() 532 public int enumerate(ThreadGroup list[]) { in enumerate() 570 public int enumerate(ThreadGroup list[], boolean recurse) { in enumerate() 575 private int enumerate(ThreadGroup list[], int n, boolean recurse) { in enumerate() 1001 public void list() { in list() method in ThreadGroup 1004 void list(PrintStream out, int indent) { in list() method in ThreadGroup
|
/libcore/luni/src/test/java/tests/security/cert/ |
D | CertificateFactorySpiTest.java | 68 List<Certificate> list = null; in testCertificateFactorySpi01() local 170 List<Certificate> list = null; in testCertificateFactorySpi02() local 240 List<Certificate> list = null; in testCertificateFactorySpi03() local 341 List<Certificate> list = new ArrayList<Certificate>(); in testEngineGenerateCertPathLJava_util_List01() local 367 List<Certificate> list = new ArrayList<Certificate>(); in testEngineGenerateCertPathLJava_util_List02() local
|
/libcore/ojluni/src/main/java/java/security/ |
D | UnresolvedPermissionCollection.java | 171 List<UnresolvedPermission> list = e.getValue(); in writeObject() local 213 List<UnresolvedPermission> list = new ArrayList<>(vec.size()); in readObject() local 217 perms.put(e.getKey(), list); in readObject() local
|
/libcore/ojluni/src/main/java/java/util/ |
D | Collections.java | 154 public static <T extends Comparable<? super T>> void sort(List<T> list) { in sort() 201 public static <T> void sort(List<T> list, Comparator<? super T> c) { in sort() 258 int binarySearch(List<? extends Comparable<? super T>> list, T key) { in binarySearch() 266 int indexedBinarySearch(List<? extends Comparable<? super T>> list, T key) { in indexedBinarySearch() 286 int iteratorBinarySearch(List<? extends Comparable<? super T>> list, T key) in iteratorBinarySearch() 362 public static <T> int binarySearch(List<? extends T> list, T key, Comparator<? super T> c) { in binarySearch() 421 public static void reverse(List<?> list) { in reverse() 468 public static void shuffle(List<?> list) { in shuffle() 501 public static void shuffle(List<?> list, Random rnd) { in shuffle() 539 public static void swap(List<?> list, int i, int j) { in swap() [all …]
|
/libcore/ojluni/annotations/hiddenapi/java/lang/ref/ |
D | ReferenceQueue.java | 67 public static void enqueuePending(java.lang.ref.Reference<?> list) { in enqueuePending() 72 static void add(java.lang.ref.Reference<?> list) { in add()
|
/libcore/support/src/test/java/tests/support/ |
D | Support_ListTest.java | 27 List<Integer> list; // must contain the Integers 0 to 99 in order field in Support_ListTest 128 public void t_listIterator(List<Integer> list) { in t_listIterator()
|
/libcore/ojluni/src/main/java/sun/util/locale/ |
D | LocaleMatcher.java | 80 ArrayList<LanguageRange> list; in filterTags() local 114 List<String> list = new ArrayList<>(); in filterBasic() local 138 List<String> list = new ArrayList<>(); in filterExtended() local 252 List<LanguageRange> list = new ArrayList<>(langRanges.length); in parse() local 442 List<LanguageRange> list = new ArrayList<>(); in mapEquivalents() local
|
/libcore/ojluni/annotations/mmodule/sun/security/jca/ |
D | Providers.annotated.java | 69 public static synchronized sun.security.jca.ProviderList beginThreadProviderList(ProviderList list)… in beginThreadProviderList() 72 public static synchronized void endThreadProviderList(ProviderList list) { throw new RuntimeExcepti… in endThreadProviderList()
|
/libcore/ojluni/src/main/java/java/lang/ref/ |
D | ReferenceQueue.java | 219 public static void enqueuePending(Reference<?> list) { in enqueuePending() 261 static void add(Reference<?> list) { in add()
|
/libcore/ojluni/src/main/java/java/time/format/ |
D | DateTimeTextProvider.java | 276 List<Entry<String, Long>> list = new ArrayList<>(map.size()); in getTextIterator() local 558 List<Entry<String, Long>> list = new ArrayList<>(reverse.values()); in LocaleStore() local 560 map.put(vtmEntry.getKey(), list); in LocaleStore() local 591 List<Entry<String, Long>> list = parsable.get(style); in getTextIterator() local
|