/external/snakeyaml/src/test/java/org/yaml/snakeyaml/types/ |
D | SeqTagTest.java | 48 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 …]
|
D | PairsTagTest.java | 58 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()
|
/external/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/ |
D | LazyStringArrayListTest.java | 129 LazyStringArrayList list2 = new LazyStringArrayList(list1); in testCopyConstructorCopiesByReference() local 130 assertEquals(3, list2.size()); in testCopyConstructorCopiesByReference() 131 assertSame(STRING_A, list2.get(0)); in testCopyConstructorCopiesByReference() 132 assertSame(BYTE_STRING_B, list2.getByteString(1)); in testCopyConstructorCopiesByReference() 133 assertSame(BYTE_STRING_C, list2.getByteString(2)); in testCopyConstructorCopiesByReference() 142 LazyStringArrayList list2 = new LazyStringArrayList(list1); in testListCopyConstructor() local 143 assertEquals(3, list2.size()); in testListCopyConstructor() 144 assertSame(STRING_A, list2.get(0)); in testListCopyConstructor() 145 assertSame(STRING_B, list2.get(1)); in testListCopyConstructor() 146 assertSame(STRING_C, list2.get(2)); in testListCopyConstructor() [all …]
|
/external/libcxxabi/src/ |
D | abort_message.cpp | 49 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/skia/tests/ |
D | LListTest.cpp | 162 ElList list2; in test_tllist() local 175 REPORTER_ASSERT(reporter, list1 == list2); in test_tllist() 179 list2.addToTail(ListElement(1)); in test_tllist() 183 iter3.init(list2, Iter::kHead_IterStart); in test_tllist() 184 iter4.init(list2, Iter::kTail_IterStart); in test_tllist() 187 REPORTER_ASSERT(reporter, list1 == list2); in test_tllist() 189 list2.reset(); in test_tllist() 192 list2.addBefore(list2.headIter(), 1); in test_tllist() 193 REPORTER_ASSERT(reporter, list2 == list1); in test_tllist() 194 list2.reset(); in test_tllist() [all …]
|
/external/skqp/tests/ |
D | LListTest.cpp | 162 ElList list2; in test_tllist() local 175 REPORTER_ASSERT(reporter, list1 == list2); in test_tllist() 179 list2.addToTail(ListElement(1)); in test_tllist() 183 iter3.init(list2, Iter::kHead_IterStart); in test_tllist() 184 iter4.init(list2, Iter::kTail_IterStart); in test_tllist() 187 REPORTER_ASSERT(reporter, list1 == list2); in test_tllist() 189 list2.reset(); in test_tllist() 192 list2.addBefore(list2.headIter(), 1); in test_tllist() 193 REPORTER_ASSERT(reporter, list2 == list1); in test_tllist() 194 list2.reset(); in test_tllist() [all …]
|
/external/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | LazyStringArrayListTest.java | 144 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/curl/tests/unit/ |
D | unit1396.c | 67 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/smali/dexlib2/src/main/java/org/jf/util/ |
D | CollectionUtils.java | 64 … @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 …]
|
/external/llvm-project/polly/lib/External/isl/ |
D | isl_pw_union_opt.c | 88 __isl_take isl_set_list *list1, __isl_take isl_set_list *list2) in FN() 115 set = isl_set_list_get_set(list2, j); in FN() 120 isl_set_list_get_set(list2, j)); in FN() 129 isl_set_list_free(list2); in FN() 135 isl_set_list_free(list2); in FN() 190 isl_set_list *list1 = NULL, *list2 = NULL; in FN() local 216 list2 = FN(PW,extract_domains)(pw2); in FN() 237 set_j = isl_set_list_get_set(list2, j); in FN() 239 list2 = isl_set_list_set_set(list2, j, set_j); in FN() 243 res = FN(PW,merge)(pw1, pw2, list1, list2); in FN() [all …]
|
/external/kmod/libkmod/ |
D | libkmod-list.c | 92 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/ |
D | Chapter2_2Test.java | 40 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()
|
D | Chapter2_1Test.java | 65 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/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/internal/ |
D | LockFreeLinkedListAtomicLFStressTest.kt | 71 val list2 = lists[idx2] in <lambda>() constant 74 addTwoOp(list1, node1, list2, node2) in <lambda>() 91 val list2 = lists[idx2] in <lambda>() constant 92 removeTwoOp(list1, list2) in <lambda>() 122 …private fun addTwoOp(list1: LockFreeLinkedListHead, node1: Node, list2: LockFreeLinkedListHead, no… in <lambda>() 124 val add2 = list2.describeAddLast(node2) in <lambda>() 149 private fun removeTwoOp(list1: LockFreeLinkedListHead, list2: LockFreeLinkedListHead) { in <lambda>() 151 val remove2 = list2.describeRemoveFirst() in <lambda>()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
D | LocalePriorityListTest.java | 39 LocalePriorityList list2 = LocalePriorityList.add( in testLanguagePriorityList() local 41 assertEquals(expected, list2.toString()); in testLanguagePriorityList() 42 assertEquals(list, list2); in testLanguagePriorityList() 122 LocalePriorityList list2 = LocalePriorityList.add(ULocale.ITALIAN, 0.2).build(true); in testReuse() local 123 assertEquals("list2", "it;q=0.2", list2.toString()); in testReuse() 124 list = builder.add(list2).build(true); in testReuse()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
D | LocalePriorityListTest.java | 36 LocalePriorityList list2 = LocalePriorityList.add( in testLanguagePriorityList() local 38 assertEquals(expected, list2.toString()); in testLanguagePriorityList() 39 assertEquals(list, list2); in testLanguagePriorityList() 119 LocalePriorityList list2 = LocalePriorityList.add(ULocale.ITALIAN, 0.2).build(true); in testReuse() local 120 assertEquals("list2", "it;q=0.2", list2.toString()); in testReuse() 121 list = builder.add(list2).build(true); in testReuse()
|
/external/llvm-project/llvm/test/TableGen/ |
D | filter.td | 23 // CHECK: list2 = []; 31 list<string> list2 = !filter(item, EmptyList, false); 40 // CHECK: list2 = ["bar", "zoo", "snork", "snork", "quux"]; 45 list<string> list2 = !filter(item, WordList, !ne(item, "foo")); 51 // CHECK: list2 = [4, 5, 6, 7, 8]; 55 list<int> list2 = !filter(num, list1, !lt(num, 9));
|
/external/mockito/src/test/java/org/mockito/internal/framework/ |
D | DefaultMockitoFrameworkTest.java | 143 List list2 = mock(List.class); in clears_all_mocks() local 144 assertTrue(mockingDetails(list2).isMock()); in clears_all_mocks() 151 assertFalse(mockingDetails(list2).isMock()); in clears_all_mocks() 162 List list2 = mock(List.class); in clears_mock() local 163 assertTrue(mockingDetails(list2).isMock()); in clears_mock() 170 assertTrue(mockingDetails(list2).isMock()); in clears_mock()
|
/external/deqp-deps/SPIRV-Tools/test/util/ |
D | ilist_test.cpp | 258 TestList list2 = BuildList(nodes + 6, 3); in TEST() local 262 insertion_point.MoveBefore(&list2); in TEST() 276 TestList list2 = BuildList(nodes + 6, 3); in TEST() local 279 insertion_point.MoveBefore(&list2); in TEST() 293 TestList list2 = BuildList(nodes + 6, 3); in TEST() local 296 insertion_point.MoveBefore(&list2); in TEST() 310 TestList list2; in TEST() local 313 insertion_point.MoveBefore(&list2); in TEST()
|
/external/angle/third_party/vulkan-deps/spirv-tools/src/test/util/ |
D | ilist_test.cpp | 258 TestList list2 = BuildList(nodes + 6, 3); in TEST() local 262 insertion_point.MoveBefore(&list2); in TEST() 276 TestList list2 = BuildList(nodes + 6, 3); in TEST() local 279 insertion_point.MoveBefore(&list2); in TEST() 293 TestList list2 = BuildList(nodes + 6, 3); in TEST() local 296 insertion_point.MoveBefore(&list2); in TEST() 310 TestList list2; in TEST() local 313 insertion_point.MoveBefore(&list2); in TEST()
|
/external/swiftshader/third_party/SPIRV-Tools/test/util/ |
D | ilist_test.cpp | 258 TestList list2 = BuildList(nodes + 6, 3); in TEST() local 262 insertion_point.MoveBefore(&list2); in TEST() 276 TestList list2 = BuildList(nodes + 6, 3); in TEST() local 279 insertion_point.MoveBefore(&list2); in TEST() 293 TestList list2 = BuildList(nodes + 6, 3); in TEST() local 296 insertion_point.MoveBefore(&list2); in TEST() 310 TestList list2; in TEST() local 313 insertion_point.MoveBefore(&list2); in TEST()
|
/external/snakeyaml/src/test/java/examples/collections/ |
D | ListFileldBeanTest.java | 55 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()
|
D | TypeSafeListNoGerericsTest.java | 56 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()
|
D | TypeSafeListTest.java | 54 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()
|
/external/webrtc/pc/ |
D | sdp_serializer.cc | 230 RTCErrorOr<SimulcastLayerList> list1, list2; in DeserializeSimulcastDescription() local 237 list2 = ParseSimulcastLayerList(tokens[3]); in DeserializeSimulcastDescription() 238 if (!list2.ok()) { in DeserializeSimulcastDescription() 239 return list2.MoveError(); in DeserializeSimulcastDescription() 245 std::swap(list1, list2); in DeserializeSimulcastDescription() 257 if (list2.ok()) { in DeserializeSimulcastDescription() 258 simulcast.receive_layers() = list2.MoveValue(); in DeserializeSimulcastDescription()
|