Home
last modified time | relevance | path

Searched refs:ar (Results 1 – 8 of 8) sorted by relevance

/libcore/jsr166-tests/src/test/java/jsr166/
DConcurrentSkipListSubMapTest.java207 Object[] ar = s.toArray();
208 assertTrue(s.containsAll(Arrays.asList(ar)));
209 assertEquals(5, ar.length);
210 ar[0] = m10;
211 assertFalse(s.containsAll(Arrays.asList(ar)));
220 Object[] ar = s.toArray();
221 assertEquals(5, ar.length);
222 assertTrue(s.containsAll(Arrays.asList(ar)));
223 ar[0] = m10;
224 assertFalse(s.containsAll(Arrays.asList(ar)));
[all …]
DConcurrentHashMapTest.java344 Object[] ar = s.toArray(); in testKeySetToArray() local
345 assertTrue(s.containsAll(Arrays.asList(ar))); in testKeySetToArray()
346 assertEquals(5, ar.length); in testKeySetToArray()
347 ar[0] = m10; in testKeySetToArray()
348 assertFalse(s.containsAll(Arrays.asList(ar))); in testKeySetToArray()
357 Object[] ar = v.toArray(); in testValuesToArray() local
358 ArrayList s = new ArrayList(Arrays.asList(ar)); in testValuesToArray()
359 assertEquals(5, ar.length); in testValuesToArray()
373 Object[] ar = s.toArray(); in testEntrySetToArray() local
374 assertEquals(5, ar.length); in testEntrySetToArray()
[all …]
DConcurrentSkipListMapTest.java144 Object[] ar = s.toArray(); in testKeySetToArray() local
145 assertTrue(s.containsAll(Arrays.asList(ar))); in testKeySetToArray()
146 assertEquals(5, ar.length); in testKeySetToArray()
147 ar[0] = m10; in testKeySetToArray()
148 assertFalse(s.containsAll(Arrays.asList(ar))); in testKeySetToArray()
157 Object[] ar = s.toArray(); in testDescendingKeySetToArray() local
158 assertEquals(5, ar.length); in testDescendingKeySetToArray()
159 assertTrue(s.containsAll(Arrays.asList(ar))); in testDescendingKeySetToArray()
160 ar[0] = m10; in testDescendingKeySetToArray()
161 assertFalse(s.containsAll(Arrays.asList(ar))); in testDescendingKeySetToArray()
[all …]
DTreeMapTest.java143 Object[] ar = s.toArray(); in testKeySetToArray() local
144 assertTrue(s.containsAll(Arrays.asList(ar))); in testKeySetToArray()
145 assertEquals(5, ar.length); in testKeySetToArray()
146 ar[0] = m10; in testKeySetToArray()
147 assertFalse(s.containsAll(Arrays.asList(ar))); in testKeySetToArray()
156 Object[] ar = s.toArray(); in testDescendingKeySetToArray() local
157 assertEquals(5, ar.length); in testDescendingKeySetToArray()
158 assertTrue(s.containsAll(Arrays.asList(ar))); in testDescendingKeySetToArray()
159 ar[0] = m10; in testDescendingKeySetToArray()
160 assertFalse(s.containsAll(Arrays.asList(ar))); in testDescendingKeySetToArray()
[all …]
DTreeSubMapTest.java716 Object[] ar = s.toArray();
717 assertTrue(s.containsAll(Arrays.asList(ar)));
718 assertEquals(5, ar.length);
719 ar[0] = m10;
720 assertFalse(s.containsAll(Arrays.asList(ar)));
729 Object[] ar = s.toArray();
730 assertEquals(5, ar.length);
731 assertTrue(s.containsAll(Arrays.asList(ar)));
732 ar[0] = m10;
733 assertFalse(s.containsAll(Arrays.asList(ar)));
[all …]
/libcore/ojluni/src/main/java/java/util/
DArraysParallelSortHelpers.java213 T t, al, ar; in compute() local
214 if (c.compare((al = a[lb]), (ar = a[rb])) <= 0) { in compute()
218 rb++; t = ar; in compute()
326 byte t, al, ar; in compute()
327 if ((al = a[lb]) <= (ar = a[rb])) { in compute()
331 rb++; t = ar; in compute()
437 char t, al, ar; in compute() local
438 if ((al = a[lb]) <= (ar = a[rb])) { in compute()
442 rb++; t = ar; in compute()
548 short t, al, ar; in compute() local
[all …]
/libcore/dom/src/test/resources/META-INF/
DMANIFEST.MF5 ar crimson-parser.jar avalon-run.jar
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
DCipherTest.java804 byte[] ar = c.wrap(CIPHER_KEY_3DES); in test_unwrap$BLjava_lang_StringI()
814 assertFalse(CIPHER_KEY_DES.equals(c.unwrap(ar, "DES", Cipher.SECRET_KEY))); in test_unwrap$BLjava_lang_StringI()