Home
last modified time | relevance | path

Searched defs:list (Results 1 – 25 of 126) sorted by relevance

123456

/libcore/luni/src/test/java/libcore/java/util/concurrent/
DCopyOnWriteArrayListTest.java37 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 testSubListClear() local
119 CopyOnWriteArrayList<String> list = new CopyOnWriteArrayList<String>(); in testSubListIteratorGetsSnapshot() local
130 CopyOnWriteArrayList<String> list = new CopyOnWriteArrayList<String>(); in testSubListRemoveByValue() local
139 CopyOnWriteArrayList<String> list = new CopyOnWriteArrayList<String>(); in testSubListRemoveByIndex() local
148 CopyOnWriteArrayList<String> list = new CopyOnWriteArrayList<String>(); in testSubListRetainAll() local
[all …]
/libcore/luni/src/test/java/libcore/java/util/
DArraysTest.java28 int[] list = new int[3]; in test_setAll$I() local
55 int[] list = new int[3]; in test_parallelSetAll$I() local
82 long[] list = new long[3]; in test_setAll$L() local
109 long[] list = new long[3]; in test_parallelSetAll$L() local
136 double[] list = new double[3]; in test_setAll$D() local
163 double[] list = new double[3]; in test_parallelSetAll$D() local
246 int[] list = new int[1000]; in test_parallelPrefix$I() local
280 int[] list = new int[1000]; in test_parallelPrefix$III() local
321 long[] list = new long[1000]; in test_parallelPrefix$L() local
355 long[] list = new long[1000]; in test_parallelPrefix$LII() local
[all …]
/libcore/ojluni/src/main/java/sun/security/jca/
DProviders.java152 ProviderList list = getThreadProviderList(); in getProviderList() local
177 ProviderList list; in getFullProviderList() local
202 private static void setSystemProviderList(ProviderList list) { in setSystemProviderList()
218 private static void changeThreadProviderList(ProviderList list) { in changeThreadProviderList()
238 public static synchronized ProviderList beginThreadProviderList(ProviderList list) { in beginThreadProviderList()
248 public static synchronized void endThreadProviderList(ProviderList list) { in endThreadProviderList()
DGetInstance.java66 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/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DArrayListTest.java97 ArrayList<String> list = new ArrayList<String>(collection); in testConstructorWithConcurrentCollection() local
452 List list = new ArrayList(); in testaddAllHarmony5839() local
558 ArrayList<String> list = new ArrayList<String>(1); in test_ensureCapacityI() local
700 List list = new ArrayList(Arrays.asList(new String[] { "a", "b", "c", in test_removeI() local
884 ArrayList list = new ArrayList(Arrays.asList(new String[] { "a", "b", "c", in test_trimToSize_02() local
892 ArrayList list = new ArrayList(); in test_addAll() local
930 List list = new ArrayList(Arrays.asList(new String[] { "a", "b", "c", in test_removeLjava_lang_Object() local
941 ArrayList<String> list = new ArrayList<String>(); in testAddAllWithConcurrentCollection() local
947 ArrayList<String> list = new ArrayList<String>( in testAddAllAtPositionWithConcurrentCollection() local
1058 ArrayList<String> list = new ArrayList<>(); in testRemoveAllDuringIteration() local
[all …]
DAbstractListTest.java61 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
DPriorityQueueTest.java261 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
617 List<Integer> list = Arrays.asList(array); in test_remove_Ljava_lang_Object_not_exists() local
629 List<Integer> list = Arrays.asList(array); in test_remove_Ljava_lang_Object_null() local
639 List<Integer> list = Arrays.asList(array); in test_remove_Ljava_lang_Object_not_Compatible() local
674 List<Integer> list = Arrays.asList(array); in test_Serialization() local
691 List<Integer> list = Arrays.asList(array); in test_Serialization_casting() local
[all …]
DAbstractQueueTest.java173 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
DLinkedListTest.java352 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
DControlTest.java90 List<String> list = FORMAT_CLASS; in test_Constants() local
143 List<String> list = new ArrayList<String>(FORMAT_CLASS); in test_getControl_LList() local
227 List<String> list = new ArrayList<String>(FORMAT_CLASS); in test_getNoFallbackControl_LList() local
/libcore/luni/src/test/java/libcore/util/
DCollectionUtilsTest.java76 List<String> list = new ArrayList<String>(); in testRemoveDuplicatesOnEmptyCollection() local
82 List<String> list = Arrays.asList("A"); in testRemoveDuplicatesOnSingletonCollection() local
88 List<String> list = new ArrayList<String>(); in testRemoveDuplicates() local
/libcore/luni/src/main/java/libcore/io/
DEventLogger.java47 public void report (int code, Object... list); in report()
55 public void report (int code, Object... list) { in report()
66 public static void writeEvent(int code, Object... list) { in writeEvent()
/libcore/ojluni/src/main/java/sun/nio/ch/
DFileLockTable.java125 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/tests/security/cert/
DCertificateFactorySpiTest.java68 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/lang/
DThreadGroup.java393 public int enumerate(Thread list[]) { in enumerate()
431 public int enumerate(Thread list[], boolean recurse) { in enumerate()
436 private int enumerate(Thread list[], int n, boolean recurse) { in enumerate()
527 public int enumerate(ThreadGroup list[]) { in enumerate()
565 public int enumerate(ThreadGroup list[], boolean recurse) { in enumerate()
570 private int enumerate(ThreadGroup list[], int n, boolean recurse) { in enumerate()
996 public void list() { in list() method in ThreadGroup
999 void list(PrintStream out, int indent) { in list() method in ThreadGroup
/libcore/ojluni/src/main/java/java/security/
DUnresolvedPermissionCollection.java171 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/
DCollections.java152 public static <T extends Comparable<? super T>> void sort(List<T> list) { in sort()
196 public static <T> void sort(List<T> list, Comparator<? super T> c) { in sort()
253 int binarySearch(List<? extends Comparable<? super T>> list, T key) { in binarySearch()
261 int indexedBinarySearch(List<? extends Comparable<? super T>> list, T key) { in indexedBinarySearch()
281 int iteratorBinarySearch(List<? extends Comparable<? super T>> list, T key) in iteratorBinarySearch()
357 public static <T> int binarySearch(List<? extends T> list, T key, Comparator<? super T> c) { in binarySearch()
416 public static void reverse(List<?> list) { in reverse()
463 public static void shuffle(List<?> list) { in shuffle()
496 public static void shuffle(List<?> list, Random rnd) { in shuffle()
534 public static void swap(List<?> list, int i, int j) { in swap()
[all …]
/libcore/support/src/test/java/tests/support/
DSupport_ListTest.java27 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/
DLocaleMatcher.java80 ArrayList<LanguageRange> list; in filterTags() local
114 List<String> list = new ArrayList<>(); in filterBasic() local
138 List<String> list = new ArrayList<>(); in filterExtended() local
251 List<LanguageRange> list = new ArrayList<>(langRanges.length); in parse() local
435 List<LanguageRange> list = new ArrayList<>(); in mapEquivalents() local
/libcore/ojluni/src/main/java/java/lang/ref/
DReferenceQueue.java217 public static void enqueuePending(Reference<?> list) { in enqueuePending()
259 static void add(Reference<?> list) { in add()
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/
DReduceTest.java45 List<Integer> list = countTo(10); in testReduce() local
/libcore/ojluni/src/main/java/java/util/logging/
DLevel.java550 List<KnownLevel> list = nameToLevels.get(l.name); in add() local
567 List<KnownLevel> list = nameToLevels.get(name); in findByName() local
576 List<KnownLevel> list = intToLevels.get(value); in findByValue() local
601 List<KnownLevel> list = nameToLevels.get(l.name); in matches() local
/libcore/ojluni/src/main/java/java/time/format/
DDateTimeTextProvider.java275 List<Entry<String, Long>> list = new ArrayList<>(map.size()); in getTextIterator() local
509 List<Entry<String, Long>> list = new ArrayList<>(reverse.values()); in LocaleStore() local
511 map.put(vtmEntry.getKey(), list); in LocaleStore() local
542 List<Entry<String, Long>> list = parsable.get(style); in getTextIterator() local
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/
DNodeListImpl.java42 NodeListImpl(List<NodeImpl> list) { in NodeListImpl()
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/
DLoggingTestCase.java53 List<Object> list = new ArrayList<>(); in after() local

123456