Home
last modified time | relevance | path

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

1234

/external/dbus/dbus/
Ddbus-list.c908 DBusList **list2) in lists_equal() argument
914 link2 = _dbus_list_get_first_link (list2); in lists_equal()
921 link2 = _dbus_list_get_next_link (list2, link2); in lists_equal()
939 DBusList *list2; in _dbus_list_test() local
947 list2 = NULL; in _dbus_list_test()
957 if (!_dbus_list_prepend (&list2, _DBUS_INT_TO_POINTER (i))) in _dbus_list_test()
962 verify_list (&list2); in _dbus_list_test()
965 _dbus_assert (_dbus_list_get_length (&list2) == i); in _dbus_list_test()
969 _dbus_assert (is_descending_sequence (&list2)); in _dbus_list_test()
973 _dbus_list_clear (&list2); in _dbus_list_test()
[all …]
/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/protobuf/java/src/test/java/com/google/protobuf/
DLazyStringArrayListTest.java140 LazyStringArrayList list2 = new LazyStringArrayList(list1); in testCopyConstructorCopiesByReference() local
141 assertEquals(3, list2.size()); in testCopyConstructorCopiesByReference()
142 assertSame(STRING_A, list2.get(0)); in testCopyConstructorCopiesByReference()
143 assertSame(BYTE_STRING_B, list2.getByteString(1)); in testCopyConstructorCopiesByReference()
144 assertSame(BYTE_STRING_C, list2.getByteString(2)); in testCopyConstructorCopiesByReference()
153 LazyStringArrayList list2 = new LazyStringArrayList(list1); in testListCopyConstructor() local
154 assertEquals(3, list2.size()); in testListCopyConstructor()
155 assertSame(STRING_A, list2.get(0)); in testListCopyConstructor()
156 assertSame(STRING_B, list2.get(1)); in testListCopyConstructor()
157 assertSame(STRING_C, list2.get(2)); in testListCopyConstructor()
[all …]
/external/skia/tests/
DLListTest.cpp123 ElList list2; in test_tllist() local
136 REPORTER_ASSERT(reporter, list1 == list2); in test_tllist()
140 list2.addToTail(ListElement(1)); in test_tllist()
144 iter3.init(list2, Iter::kHead_IterStart); in test_tllist()
145 iter4.init(list2, Iter::kTail_IterStart); in test_tllist()
148 REPORTER_ASSERT(reporter, list1 == list2); in test_tllist()
150 list2.reset(); in test_tllist()
153 list2.addBefore(list2.headIter(), 1); in test_tllist()
154 REPORTER_ASSERT(reporter, list2 == list1); in test_tllist()
155 list2.reset(); in test_tllist()
[all …]
/external/libcxxabi/src/
Dabort_message.cpp50 va_list list2; in abort_message() local
51 va_start(list2, format); in abort_message()
52 vasprintf(&buffer, format, list2); in abort_message()
53 va_end(list2); in abort_message()
57 va_list list2; in abort_message() local
58 va_start(list2, format); in abort_message()
59 vasprintf(&buffer, format, list2); in abort_message()
60 va_end(list2); in abort_message()
/external/curl/tests/unit/
Dunit1396.c63 const struct test list2[]={ variable
96 for(i=0; list2[i].in; i++) {
98 char *out = curl_easy_escape(hnd, list2[i].in, list2[i].inlen);
102 fail_unless(outlen == list2[i].outlen, "wrong output length returned");
103 fail_unless(!memcmp(out, list2[i].out, list2[i].outlen),
/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/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/dexmaker/src/dx/java/com/android/dx/rop/annotation/
DAnnotationsList.java40 AnnotationsList list2) { in combine() argument
43 if (size != list2.size()) { in combine()
51 Annotations a2 = list2.get(i); in combine()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DLocalePriorityListTest.java31 LocalePriorityList list2 = LocalePriorityList.add( in testLanguagePriorityList() local
33 assertEquals(expected, list2.toString()); in testLanguagePriorityList()
34 assertEquals(list, list2); in testLanguagePriorityList()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DLocalePriorityListTest.java35 LocalePriorityList list2 = LocalePriorityList.add( in testLanguagePriorityList() local
37 assertEquals(expected, list2.toString()); in testLanguagePriorityList()
38 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/dexmaker/src/dx/java/com/android/dx/rop/type/
DStdTypeList.java280 public static boolean equalContents(TypeList list1, TypeList list2) { in equalContents() argument
283 if (list2.size() != size) { in equalContents()
288 if (! list1.getType(i).equals(list2.getType(i))) { in equalContents()
305 public static int compareContents(TypeList list1, TypeList list2) { in compareContents() argument
307 int size2 = list2.size(); in compareContents()
311 int comparison = list1.getType(i).compareTo(list2.getType(i)); in compareContents()
/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/llvm/test/Other/
DResponseFile.ll5 ; RUN: echo "-time-passes @%t.list1" > %t.list2
6 ; RUN: llvm-as @%t.list2 -o %t.bc
/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