Home
last modified time | relevance | path

Searched refs:list2 (Results 1 – 25 of 98) sorted by relevance

1234

/external/snakeyaml/src/test/java/org/yaml/snakeyaml/types/
DSeqTagTest.java48 List<String> list2 = (List<String>) map.get("Flow style"); in testSeq() local
49 assertEquals(9, list2.size()); in testSeq()
50 assertEquals("Mercury", list2.get(0)); in testSeq()
51 assertEquals("Venus", list2.get(1)); in testSeq()
52 assertEquals("Earth", list2.get(2)); in testSeq()
53 assertEquals("Mars", list2.get(3)); in testSeq()
54 assertEquals("Jupiter", list2.get(4)); in testSeq()
55 assertEquals("Saturn", list2.get(5)); in testSeq()
56 assertEquals("Uranus", list2.get(6)); in testSeq()
57 assertEquals("Neptune", list2.get(7)); in testSeq()
[all …]
DPairsTagTest.java58 List<String[]> list2 = (List<String[]>) map.get("Flow tasks"); in testPairs() local
59 assertEquals(2, list2.size()); in testPairs()
60 Object[] tuple2_1 = list2.get(0); in testPairs()
65 Object[] tuple2_2 = list2.get(1); in testPairs()
DValueTagTest.java52 List<Map<String, String>> list2 = newSchema.get("link with"); in testValue() local
53 assertEquals(2, list2.size()); in testValue()
54 Map<String, String> map1 = list2.get(0); in testValue()
/external/skqp/tests/
DLListTest.cpp157 ElList list2; in test_tllist() local
170 REPORTER_ASSERT(reporter, list1 == list2); in test_tllist()
174 list2.addToTail(ListElement(1)); in test_tllist()
178 iter3.init(list2, Iter::kHead_IterStart); in test_tllist()
179 iter4.init(list2, Iter::kTail_IterStart); in test_tllist()
182 REPORTER_ASSERT(reporter, list1 == list2); in test_tllist()
184 list2.reset(); in test_tllist()
187 list2.addBefore(list2.headIter(), 1); in test_tllist()
188 REPORTER_ASSERT(reporter, list2 == list1); in test_tllist()
189 list2.reset(); in test_tllist()
[all …]
/external/skia/tests/
DLListTest.cpp157 ElList list2; in test_tllist() local
170 REPORTER_ASSERT(reporter, list1 == list2); in test_tllist()
174 list2.addToTail(ListElement(1)); in test_tllist()
178 iter3.init(list2, Iter::kHead_IterStart); in test_tllist()
179 iter4.init(list2, Iter::kTail_IterStart); in test_tllist()
182 REPORTER_ASSERT(reporter, list1 == list2); in test_tllist()
184 list2.reset(); in test_tllist()
187 list2.addBefore(list2.headIter(), 1); in test_tllist()
188 REPORTER_ASSERT(reporter, list2 == list1); in test_tllist()
189 list2.reset(); in test_tllist()
[all …]
/external/libcxxabi/src/
Dabort_message.cpp49 va_list list2; in abort_message() local
50 va_start(list2, format); in abort_message()
51 vasprintf(&buffer, format, list2); in abort_message()
52 va_end(list2); in abort_message()
56 va_list list2; in abort_message() local
57 va_start(list2, format); in abort_message()
58 vasprintf(&buffer, format, list2); in abort_message()
59 va_end(list2); in abort_message()
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DLazyStringArrayListTest.java144 LazyStringArrayList list2 = new LazyStringArrayList(list1); in testCopyConstructorCopiesByReference() local
145 assertEquals(3, list2.size()); in testCopyConstructorCopiesByReference()
146 assertSame(STRING_A, list2.get(0)); in testCopyConstructorCopiesByReference()
147 assertSame(BYTE_STRING_B, list2.getByteString(1)); in testCopyConstructorCopiesByReference()
148 assertSame(BYTE_STRING_C, list2.getByteString(2)); in testCopyConstructorCopiesByReference()
157 LazyStringArrayList list2 = new LazyStringArrayList(list1); in testListCopyConstructor() local
158 assertEquals(3, list2.size()); in testListCopyConstructor()
159 assertSame(STRING_A, list2.get(0)); in testListCopyConstructor()
160 assertSame(STRING_B, list2.get(1)); in testListCopyConstructor()
161 assertSame(STRING_C, list2.get(2)); in testListCopyConstructor()
[all …]
/external/smali/util/src/main/java/org/jf/util/
DCollectionUtils.java64 … @Nonnull Collection<? extends T> list2) { in compareAsList() argument
65 int res = Ints.compare(list1.size(), list2.size()); in compareAsList()
67 Iterator<? extends T> elements2 = list2.iterator(); in compareAsList()
116 @Nonnull Collection<? extends T> list2) { in compareAsList() argument
117 int res = Ints.compare(list1.size(), list2.size()); in compareAsList()
119 Iterator<? extends T> elements2 = list2.iterator(); in compareAsList()
132 public int compare(Collection<? extends T> list1, Collection<? extends T> list2) { in listComparator()
133 return compareAsList(elementComparator, list1, list2); in listComparator()
186 public int compare(Collection<? extends T> list1, Collection<? extends T> list2) {
187 return compareAsSet(elementComparator, list1, list2);
[all …]
DCharSequenceUtils.java47 …static boolean listEquals(List<? extends CharSequence> list1, List<? extends CharSequence> list2) { in listEquals() argument
49 Lists.transform(list2, TO_STRING)); in listEquals()
/external/curl/tests/unit/
Dunit1396.c67 const struct test list2[]={ variable
100 for(i = 0; list2[i].in; i++) {
102 char *out = curl_easy_escape(hnd, list2[i].in, list2[i].inlen);
106 fail_unless(outlen == list2[i].outlen, "wrong output length returned");
107 fail_unless(!memcmp(out, list2[i].out, list2[i].outlen),
/external/kmod/libkmod/
Dlibkmod-list.c92 struct list_node *list2) in list_node_append_list() argument
97 list_node_init(list2); in list_node_append_list()
101 list1->prev->next = list2; in list_node_append_list()
102 list2->prev->next = list1; in list_node_append_list()
107 list1->prev = list2->prev; in list_node_append_list()
108 list2->prev = list1_last; in list_node_append_list()
162 struct kmod_list *list2) in kmod_list_append_list() argument
165 return list2; in kmod_list_append_list()
167 if (list2 == NULL) in kmod_list_append_list()
170 list_node_append_list(&list1->node, &list2->node); in kmod_list_append_list()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/
DChapter2_2Test.java40 List<String> list2 = (List<String>) list.get(1); in testExample_2_7() local
41 assertEquals(2, list2.size()); in testExample_2_7()
42 assertEquals("Chicago Cubs", list2.get(0)); in testExample_2_7()
43 assertEquals("St Louis Cardinals", list2.get(1)); in testExample_2_7()
72 List<String> list2 = (List<String>) map.get("rbi"); in testExample_2_9() local
73 assertEquals(2, list2.size()); in testExample_2_9()
74 assertEquals("Sammy Sosa", list2.get(0)); in testExample_2_9()
75 assertEquals("Ken Griffey", list2.get(1)); in testExample_2_9()
DChapter2_1Test.java65 List<String> list2 = map.get("national"); in testExample_2_3() local
66 assertEquals(3, list2.size()); in testExample_2_3()
67 assertEquals("New York Mets", list2.get(0)); in testExample_2_3()
68 assertEquals("Chicago Cubs", list2.get(1)); in testExample_2_3()
69 assertEquals("Atlanta Braves", list2.get(2)); in testExample_2_3()
/external/snakeyaml/src/test/java/examples/collections/
DListFileldBeanTest.java55 List<String> list2 = parsed.getChildren(); in testLoadList() local
56 assertEquals(2, list2.size()); in testLoadList()
57 assertEquals("aaa", list2.get(0)); in testLoadList()
58 assertEquals("bbb", list2.get(1)); in testLoadList()
DTypeSafeListTest.java54 List<String> list2 = parsed.getChildren(); in testLoadList() local
55 assertEquals(2, list2.size()); in testLoadList()
56 assertEquals("aaa", list2.get(0)); in testLoadList()
57 assertEquals("bbb", list2.get(1)); in testLoadList()
DTypeSafeListNoGerericsTest.java56 List<String> list2 = parsed.getChildren(); in testLoadList() local
57 assertEquals(2, list2.size()); in testLoadList()
58 assertEquals("aaa", list2.get(0)); in testLoadList()
59 assertEquals("bbb", list2.get(1)); in testLoadList()
DTypeSafeListWithInterfaceTest.java66 List<String> list2 = parsed.getChildren(); in testLoadList() local
67 assertEquals(2, list2.size()); in testLoadList()
68 assertEquals("aaa", list2.get(0)); in testLoadList()
69 assertEquals("bbb", list2.get(1)); in testLoadList()
DTypeSafeSetImplementationsTest.java210 Set<Object> list2 = (Set<Object>) yaml.load(output); in testNoJavaBeanSetRecursive() local
211 assertEquals(3, list2.size()); in testNoJavaBeanSetRecursive()
212 assertTrue(list2.contains("aaa")); in testNoJavaBeanSetRecursive()
213 assertTrue(list2.contains(111)); in testNoJavaBeanSetRecursive()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DLocalePriorityListTest.java34 LocalePriorityList list2 = LocalePriorityList.add( in testLanguagePriorityList() local
36 assertEquals(expected, list2.toString()); in testLanguagePriorityList()
37 assertEquals(list, list2); in testLanguagePriorityList()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DLocalePriorityListTest.java37 LocalePriorityList list2 = LocalePriorityList.add( in testLanguagePriorityList() local
39 assertEquals(expected, list2.toString()); in testLanguagePriorityList()
40 assertEquals(list, list2); in testLanguagePriorityList()
/external/snakeyaml/src/test/java/examples/
DAnyObjectExampleTest.java47 List<?> list2 = (List<?>) object.get("list"); in testLoad() local
48 assertEquals(3, list2.size()); in testLoad()
49 for (Object object2 : list2) { in testLoad()
/external/python/cpython2/Lib/test/
Dtest_pprint.py13 class list2(list): class
131 [], list2(), list3(),
140 [3,4], list2([3,4]), list3([3,4]), list3(range(100)),
175 for type in [list, list2]:
186 for type in [list, list2]:
/external/lmfit/man/
DMakefile.in319 list2='$(man_MANS)'; \
321 && test -n "`echo $$list1$$list2`" \
326 if test -n "$$list2"; then \
327 for i in $$list2; do echo "$$i"; done \
362 list2='$(man_MANS)'; \
364 && test -n "`echo $$list1$$list2`" \
369 if test -n "$$list2"; then \
370 for i in $$list2; do echo "$$i"; done \
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue38/
DBigNumberIdTest.java41 List<Bean> list2 = (List<Bean>) yaml.load(output); in testBigNumberFormat() local
42 for (Bean bean : list2) { in testBigNumberFormat()
/external/libedit/doc/
DMakefile.in314 list2='$(man_MANS)'; \
316 && test -n "`echo $$list1$$list2`" \
321 if test -n "$$list2"; then \
322 for i in $$list2; do echo "$$i"; done \
357 list2='$(man_MANS)'; \
359 && test -n "`echo $$list1$$list2`" \
364 if test -n "$$list2"; then \
365 for i in $$list2; do echo "$$i"; done \

1234