Home
last modified time | relevance | path

Searched refs:ll (Results 1 – 13 of 13) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DLinkedListTest.java43 LinkedList ll; field in LinkedListTest
64 new Support_ListTest("", ll).runTest(); in test_Constructor()
77 assertTrue("Incorrect LinkedList constructed", new LinkedList(ll) in test_ConstructorLjava_util_Collection()
78 .equals(ll)); in test_ConstructorLjava_util_Collection()
94 ll.add(50, o = "Test"); in test_addILjava_lang_Object()
95 assertTrue("Failed to add Object>: " + ll.get(50).toString(), ll in test_addILjava_lang_Object()
98 ll.get(51) == objArray[50] && (ll.get(52) == objArray[51])); in test_addILjava_lang_Object()
99 ll.add(50, null); in test_addILjava_lang_Object()
100 assertNull("Did not add null correctly", ll.get(50)); in test_addILjava_lang_Object()
103 ll.add(-1, "Test"); in test_addILjava_lang_Object()
[all …]
DCollectionsTest.java60 private LinkedList ll; field in CollectionsTest
264 final int llSize = ll.size(); in test_binarySearchLjava_util_ListLjava_lang_Object()
273 assertEquals("Returned incorrect binary search item position", ll in test_binarySearchLjava_util_ListLjava_lang_Object()
274 .get(i), ll.get(Collections.binarySearch(ll, ll in test_binarySearchLjava_util_ListLjava_lang_Object()
316 Collections.copy(null, ll); in test_copyLjava_util_ListLjava_util_List()
322 Collections.copy(ll, null); in test_copyLjava_util_ListLjava_util_List()
327 final int llSize = ll.size(); in test_copyLjava_util_ListLjava_util_List()
328 ll.set(25, null); in test_copyLjava_util_ListLjava_util_List()
335 Collections.copy(al, ll); in test_copyLjava_util_ListLjava_util_List()
337 assertEquals("Elements do not match after copying collection", ll in test_copyLjava_util_ListLjava_util_List()
[all …]
DAbstractListTest.java167 List ll = new LinkedList(); in test_subListII() local
169 ll.add(Integer.valueOf(i)); in test_subListII()
173 !(ll.subList(3, 7) instanceof RandomAccess)); in test_subListII()
DEnumSetTest.java45 … J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, aa, bb, cc, dd, ee, ff, gg, hh, ii, jj, kk, ll, enumConstant
53 …, W{}, X{}, Y{}, Z{}, aa{}, bb{}, cc{}, dd{}, ee{}, ff{}, gg{}, hh{}, ii{}, jj{}, kk{}, ll{}, mm{}, enumConstant
57 …K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, aa, bb, cc, dd, ee, ff, gg, hh, ii, jj, kk, ll, mm, enumConstant
715 result = set.contains(EnumFoo.ll); in test_contains_LObject()
761 result = hugeSet.contains(HugeEnum.ll); in test_contains_LObject()
/libcore/ojluni/src/test/java/util/DoubleStreamSums/
DCompensatedSums.java138 static ObjDoubleConsumer<double[]> objDoubleConsumer = (double[] ll, double d) -> {
139 sumWithCompensation(ll, d);
140 ll[2] += d;
143 (ll, rr) -> {
144 sumWithCompensation(ll, rr[0]);
145 sumWithCompensation(ll, rr[1]);
146 ll[2] += rr[2];
150 (ll, rr) -> {
151 sumWithCompensation(ll, rr[0]);
152 sumWithCompensation(ll, -rr[1]);
[all …]
/libcore/ojluni/src/main/native/
Djlong_md.h49 #define jlong_ltz(ll) ((ll)<0) argument
50 #define jlong_gez(ll) ((ll)>=0) argument
51 #define jlong_gtz(ll) ((ll)>0) argument
/libcore/ojluni/src/main/java/java/util/stream/
DDoublePipeline.java468 (ll, d) -> {
469 Collectors.sumWithCompensation(ll, d);
470 ll[2] += d;
472 (ll, rr) -> {
473 Collectors.sumWithCompensation(ll, rr[0]);
475 Collectors.sumWithCompensation(ll, -rr[1]);
476 ll[2] += rr[2];
511 (ll, d) -> {
512 ll[2]++;
513 Collectors.sumWithCompensation(ll, d);
[all …]
DIntPipeline.java512 (ll, i) -> {
513 ll[0]++;
514 ll[1] += i;
516 (ll, rr) -> {
517 ll[0] += rr[0];
518 ll[1] += rr[1];
DLongPipeline.java490 (ll, i) -> {
491 ll[0]++;
492 ll[1] += i;
494 (ll, rr) -> {
495 ll[0] += rr[0];
496 ll[1] += rr[1];
/libcore/luni/src/test/java/libcore/java/util/
DOldListIteratorTest.java247 LinkedList ll = new LinkedList(); in setUp() local
249 ll.add(objArray[i]); in setUp()
251 l = ll.listIterator(); in setUp()
DOldCollectionsTest.java70 LinkedList<String> ll = lls; in test_binarySearchLjava_util_ListLjava_lang_ObjectLjava_util_Comparator() local
73 Collections.binarySearch(ll, Integer.valueOf(10), null); in test_binarySearchLjava_util_ListLjava_lang_ObjectLjava_util_Comparator()
103 LinkedList ll = lls; in test_binarySearchLjava_util_ListLjava_lang_Object() local
106 Collections.binarySearch(ll, Integer.valueOf(10)); in test_binarySearchLjava_util_ListLjava_lang_Object()
/libcore/tools/testmapping/
DREADME10 3. Do that two more times. We'll use best-of-three timings, since sometimes a
32 becomes too long, we'll have to find a way to simplify it, by rolling up to a
/libcore/ojluni/src/test/java/util/Scanner/
Dinput.txt262 # than setting them up individually then you'll need this