Home
last modified time | relevance | path

Searched refs:list1 (Results 1 – 25 of 69) sorted by relevance

123

/external/skqp/tests/
DLListTest.cpp161 ElList list1; in test_tllist() local
168 REPORTER_ASSERT(reporter, list1.isEmpty()); in test_tllist()
169 REPORTER_ASSERT(reporter, nullptr == iter1.init(list1, Iter::kHead_IterStart)); in test_tllist()
170 REPORTER_ASSERT(reporter, nullptr == iter1.init(list1, Iter::kTail_IterStart)); in test_tllist()
172 list1.popHead(); in test_tllist()
173 list1.popTail(); in test_tllist()
174 REPORTER_ASSERT(reporter, list1.isEmpty()); in test_tllist()
175 REPORTER_ASSERT(reporter, list1 == list2); in test_tllist()
178 list1.addToHead(ListElement(1)); in test_tllist()
180 iter1.init(list1, Iter::kHead_IterStart); in test_tllist()
[all …]
/external/skia/tests/
DLListTest.cpp161 ElList list1; in test_tllist() local
168 REPORTER_ASSERT(reporter, list1.isEmpty()); in test_tllist()
169 REPORTER_ASSERT(reporter, nullptr == iter1.init(list1, Iter::kHead_IterStart)); in test_tllist()
170 REPORTER_ASSERT(reporter, nullptr == iter1.init(list1, Iter::kTail_IterStart)); in test_tllist()
172 list1.popHead(); in test_tllist()
173 list1.popTail(); in test_tllist()
174 REPORTER_ASSERT(reporter, list1.isEmpty()); in test_tllist()
175 REPORTER_ASSERT(reporter, list1 == list2); in test_tllist()
178 list1.addToHead(ListElement(1)); in test_tllist()
180 iter1.init(list1, Iter::kHead_IterStart); in test_tllist()
[all …]
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/types/
DSeqTagTest.java36 List<String> list1 = (List<String>) map.get("Block style"); in testSeq() local
37 assertEquals(9, list1.size()); in testSeq()
38 assertEquals("Mercury", list1.get(0)); in testSeq()
39 assertEquals("Venus", list1.get(1)); in testSeq()
40 assertEquals("Earth", list1.get(2)); in testSeq()
41 assertEquals("Mars", list1.get(3)); in testSeq()
42 assertEquals("Jupiter", list1.get(4)); in testSeq()
43 assertEquals("Saturn", list1.get(5)); in testSeq()
44 assertEquals("Uranus", list1.get(6)); in testSeq()
45 assertEquals("Neptune", list1.get(7)); in testSeq()
[all …]
DPairsTagTest.java33 List<String[]> list1 = (List<String[]>) map.get("Block tasks"); in testPairs() local
34 assertEquals(4, list1.size()); in testPairs()
35 Object[] tuple1 = list1.get(0); in testPairs()
41 Object[] tuple2 = list1.get(1); in testPairs()
47 Object[] tuple3 = list1.get(2); in testPairs()
53 Object[] tuple4 = list1.get(3); in testPairs()
/external/selinux/restorecond/
Dstringslist.c112 struct stringsList *list1 = NULL; in main() local
119 strings_list_add(&list1, "/etc/walsh"); in main()
120 if (strings_list_diff(list, list1) == 0) in main()
122 strings_list_add(&list1, "/etc/walsh"); in main()
123 strings_list_add(&list1, "/etc/walsh/*"); in main()
124 strings_list_add(&list1, "/etc/resolv.conf"); in main()
125 strings_list_add(&list1, "/etc/mtab1"); in main()
126 if (strings_list_diff(list, list1) == 0) in main()
131 strings_list_find(list1, "/etc/walsh/dan"); in main()
132 strings_list_print(list1); in main()
[all …]
/external/swiftshader/third_party/SPIRV-Tools/test/util/
Dilist_test.cpp257 TestList list1 = BuildList(nodes, 6); in TEST() local
260 TestList::iterator insertion_point = list1.begin(); in TEST()
265 for (auto i = list1.begin(); i != list1.end(); ++i) { in TEST()
275 TestList list1 = BuildList(nodes, 6); in TEST() local
278 TestList::iterator insertion_point = list1.begin(); in TEST()
282 for (auto i = list1.begin(); i != list1.end(); ++i) { in TEST()
292 TestList list1 = BuildList(nodes, 6); in TEST() local
295 TestList::iterator insertion_point = list1.end(); in TEST()
299 for (auto i = list1.begin(); i != list1.end(); ++i) { in TEST()
309 TestList list1 = BuildList(nodes, 6); in TEST() local
[all …]
/external/deqp-deps/SPIRV-Tools/test/util/
Dilist_test.cpp257 TestList list1 = BuildList(nodes, 6); in TEST() local
260 TestList::iterator insertion_point = list1.begin(); in TEST()
265 for (auto i = list1.begin(); i != list1.end(); ++i) { in TEST()
275 TestList list1 = BuildList(nodes, 6); in TEST() local
278 TestList::iterator insertion_point = list1.begin(); in TEST()
282 for (auto i = list1.begin(); i != list1.end(); ++i) { in TEST()
292 TestList list1 = BuildList(nodes, 6); in TEST() local
295 TestList::iterator insertion_point = list1.end(); in TEST()
299 for (auto i = list1.begin(); i != list1.end(); ++i) { in TEST()
309 TestList list1 = BuildList(nodes, 6); in TEST() local
[all …]
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/
DChapter2_1Test.java60 List<String> list1 = map.get("american"); in testExample_2_3() local
61 assertEquals(3, list1.size()); in testExample_2_3()
62 assertEquals("Boston Red Sox", list1.get(0)); in testExample_2_3()
63 assertEquals("Detroit Tigers", list1.get(1)); in testExample_2_3()
64 assertEquals("New York Yankees", list1.get(2)); in testExample_2_3()
87 List<Object> list1 = list.get(0); in testExample_2_5() local
88 assertEquals(3, list1.size()); in testExample_2_5()
89 assertEquals("name", list1.get(0)); in testExample_2_5()
90 assertEquals("hr", list1.get(1)); in testExample_2_5()
91 assertEquals("avg", list1.get(2)); in testExample_2_5()
DChapter2_2Test.java35 List<String> list1 = (List<String>) list.get(0); in testExample_2_7() local
36 assertEquals(3, list1.size()); in testExample_2_7()
37 assertEquals("Mark McGwire", list1.get(0)); in testExample_2_7()
38 assertEquals("Sammy Sosa", list1.get(1)); in testExample_2_7()
39 assertEquals("Ken Griffey", list1.get(2)); in testExample_2_7()
68 List<String> list1 = (List<String>) map.get("hr"); in testExample_2_9() local
69 assertEquals(2, list1.size()); in testExample_2_9()
70 assertEquals("Mark McGwire", list1.get(0)); in testExample_2_9()
71 assertEquals("Sammy Sosa", list1.get(1)); in testExample_2_9()
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DLazyStringArrayListTest.java139 LazyStringArrayList list1 = new LazyStringArrayList(); in testCopyConstructorCopiesByReference() local
140 list1.add(STRING_A); in testCopyConstructorCopiesByReference()
141 list1.add(BYTE_STRING_B); in testCopyConstructorCopiesByReference()
142 list1.add(BYTE_STRING_C); in testCopyConstructorCopiesByReference()
144 LazyStringArrayList list2 = new LazyStringArrayList(list1); in testCopyConstructorCopiesByReference()
152 List<String> list1 = new ArrayList<String>(); in testListCopyConstructor() local
153 list1.add(STRING_A); in testListCopyConstructor()
154 list1.add(STRING_B); in testListCopyConstructor()
155 list1.add(STRING_C); in testListCopyConstructor()
157 LazyStringArrayList list2 = new LazyStringArrayList(list1); in testListCopyConstructor()
[all …]
/external/smali/util/src/main/java/org/jf/util/
DCollectionUtils.java63 … static <T extends Comparable<? super T>> int compareAsList(@Nonnull Collection<? extends T> list1, in compareAsList() argument
65 int res = Ints.compare(list1.size(), list2.size()); in compareAsList()
68 for (T element1: list1) { in compareAsList()
115 @Nonnull Collection<? extends T> list1, in compareAsList() argument
117 int res = Ints.compare(list1.size(), list2.size()); in compareAsList()
120 for (T element1: list1) { 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 …public static boolean listEquals(List<? extends CharSequence> list1, List<? extends CharSequence> … in listEquals() argument
48 return Lists.transform(list1, TO_STRING).equals( in listEquals()
/external/curl/tests/unit/
Dunit1396.c51 const struct test list1[]={ variable
84 for(i = 0; list1[i].in; i++) {
87 list1[i].in, list1[i].inlen,
91 fail_unless(outlen == list1[i].outlen, "wrong output length returned");
92 fail_unless(!memcmp(out, list1[i].out, list1[i].outlen),
/external/kmod/libkmod/
Dlibkmod-list.c91 static inline void list_node_append_list(struct list_node *list1, in list_node_append_list() argument
96 if (list1 == NULL) { 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()
105 list1_last = list1->prev; in list_node_append_list()
107 list1->prev = list2->prev; in list_node_append_list()
161 struct kmod_list *kmod_list_append_list(struct kmod_list *list1, in kmod_list_append_list() argument
164 if (list1 == NULL) in kmod_list_append_list()
168 return list1; in kmod_list_append_list()
170 list_node_append_list(&list1->node, &list2->node); in kmod_list_append_list()
[all …]
/external/apache-xml/src/main/java/org/apache/xpath/objects/
DXNodeSet.java494 DTMIterator list1 = iterRaw(); in compare() local
499 while (DTM.NULL != (node1 = list1.nextNode())) in compare()
539 list1.reset(); in compare()
566 DTMIterator list1 = iterRaw(); in compare() local
570 while (DTM.NULL != (node = list1.nextNode())) in compare()
581 list1.reset(); in compare()
586 DTMIterator list1 = iterRaw(); in compare() local
589 while (DTM.NULL != (node = list1.nextNode())) in compare()
600 list1.reset(); in compare()
612 DTMIterator list1 = iterRaw(); in compare() local
[all …]
/external/snakeyaml/src/test/java/examples/
DAnyObjectExampleTest.java34 List<?> list1 = (List<?>) object.get("none"); in testLoad() local
35 assertEquals(2, list1.size()); in testLoad()
36 for (Object object2 : list1) { in testLoad()
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/XCore/
Dvarargs.ll36 %list1 = bitcast i8** %list to i8*
37 call void @llvm.va_start(i8* %list1)
52 call void @llvm.va_end(i8* %list1)
/external/llvm/test/CodeGen/XCore/
Dvarargs.ll36 %list1 = bitcast i8** %list to i8*
37 call void @llvm.va_start(i8* %list1)
52 call void @llvm.va_end(i8* %list1)
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/Mips/
D2011-05-26-BranchKillsVreg.ll20 %list1.0482 = phi i8* [ %base, %if.end13 ], [ null, %while.body ]
27 %call425 = tail call i8* @memmove(i8* %list1.0482, i8* undef, i32 undef) nounwind
31 %list2.1 = phi i8* [ undef, %if.then419 ], [ %list1.0482, %while.end415 ]
/external/llvm/test/CodeGen/Mips/
D2011-05-26-BranchKillsVreg.ll20 %list1.0482 = phi i8* [ %base, %if.end13 ], [ null, %while.body ]
27 %call425 = tail call i8* @memmove(i8* %list1.0482, i8* undef, i32 undef) nounwind
31 %list2.1 = phi i8* [ undef, %if.then419 ], [ %list1.0482, %while.end415 ]
/external/swiftshader/third_party/LLVM/test/CodeGen/Mips/
D2011-05-26-BranchKillsVreg.ll20 %list1.0482 = phi i8* [ %base, %if.end13 ], [ null, %while.body ]
27 %call425 = tail call i8* @memmove(i8* %list1.0482, i8* undef, i32 undef) nounwind
31 %list2.1 = phi i8* [ undef, %if.then419 ], [ %list1.0482, %while.end415 ]
/external/v8/src/
Dreglist.h33 constexpr RegList operator()(RegList list1, RegList list2) const { in operator()
34 return list1 | list2; in operator()
/external/swiftshader/third_party/llvm-7.0/llvm/test/Other/
DResponseFile.ll6 ; RUN: echo %s | sed -e 's:\\:\\\\:g' > %t.list1
7 ; RUN: echo "-time-passes @%t.list1" | sed -e 's:\\:\\\\:g' > %t.list2
/external/llvm/test/Other/
DResponseFile.ll6 ; RUN: echo %s | sed -e 's:\\:\\\\:g' > %t.list1
7 ; RUN: echo "-time-passes @%t.list1" | sed -e 's:\\:\\\\:g' > %t.list2
/external/lmfit/man/
DMakefile.in318 @list1=''; \
321 && test -n "`echo $$list1$$list2`" \
325 { for i in $$list1; do echo "$$i"; done; \
361 @list1=''; \
364 && test -n "`echo $$list1$$list2`" \
368 { for i in $$list1; do echo "$$i"; done; \

123