/external/skia/tests/ |
D | LListTest.cpp | 130 ElList list1(i); in TestTLList() local 141 REPORTER_ASSERT(reporter, list1.isEmpty()); in TestTLList() 142 REPORTER_ASSERT(reporter, NULL == iter1.init(list1, Iter::kHead_IterStart)); in TestTLList() 143 REPORTER_ASSERT(reporter, NULL == iter1.init(list1, Iter::kTail_IterStart)); in TestTLList() 145 list1.popHead(); in TestTLList() 146 list1.popTail(); in TestTLList() 147 REPORTER_ASSERT(reporter, list1.isEmpty()); in TestTLList() 148 REPORTER_ASSERT(reporter, list1 == list2); in TestTLList() 151 list1.addToHead(ListElement(1)); in TestTLList() 156 iter1.init(list1, Iter::kHead_IterStart); in TestTLList() [all …]
|
/external/protobuf/java/src/test/java/com/google/protobuf/ |
D | LazyStringArrayListTest.java | 135 LazyStringArrayList list1 = new LazyStringArrayList(); in testCopyConstructorCopiesByReference() local 136 list1.add(STRING_A); in testCopyConstructorCopiesByReference() 137 list1.add(BYTE_STRING_B); in testCopyConstructorCopiesByReference() 138 list1.add(BYTE_STRING_C); in testCopyConstructorCopiesByReference() 140 LazyStringArrayList list2 = new LazyStringArrayList(list1); in testCopyConstructorCopiesByReference() 148 List<String> list1 = new ArrayList<String>(); in testListCopyConstructor() local 149 list1.add(STRING_A); in testListCopyConstructor() 150 list1.add(STRING_B); in testListCopyConstructor() 151 list1.add(STRING_C); in testListCopyConstructor() 153 LazyStringArrayList list2 = new LazyStringArrayList(list1); in testListCopyConstructor() [all …]
|
/external/selinux/policycoreutils/restorecond/ |
D | stringslist.c | 112 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/smali/util/src/main/java/org/jf/util/ |
D | CollectionUtils.java | 63 … 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 …]
|
D | CharSequenceUtils.java | 47 …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/apache-xml/src/main/java/org/apache/xpath/objects/ |
D | XNodeSet.java | 494 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/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/ |
D | CertificateFactory3Test.java | 136 List list1 = certPath.getCertificates(); in testGenerateCertPath01() local 137 assertFalse("Result list is empty", list1.isEmpty()); in testGenerateCertPath01() 138 Iterator it = list1.iterator(); in testGenerateCertPath01() 159 List list1 = certPath.getCertificates(); in testGenerateCertPath02() local 160 assertFalse("Result list is empty", list1.isEmpty()); in testGenerateCertPath02() 187 List list1 = certPath.getCertificates(); in testGenerateCertPath03() local 188 assertFalse("Result list is empty", list1.isEmpty()); in testGenerateCertPath03()
|
/external/dexmaker/src/dx/java/com/android/dx/rop/annotation/ |
D | AnnotationsList.java | 39 public static AnnotationsList combine(AnnotationsList list1, in combine() argument 41 int size = list1.size(); in combine() 50 Annotations a1 = list1.get(i); in combine()
|
/external/dexmaker/src/dx/java/com/android/dx/rop/type/ |
D | StdTypeList.java | 280 public static boolean equalContents(TypeList list1, TypeList list2) { in equalContents() argument 281 int size = list1.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 306 int size1 = list1.size(); in compareContents() 311 int comparison = list1.getType(i).compareTo(list2.getType(i)); in compareContents()
|
/external/llvm/test/CodeGen/XCore/ |
D | varargs.ll | 36 %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/Mips/ |
D | 2011-05-26-BranchKillsVreg.ll | 20 %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/Other/ |
D | ResponseFile.ll | 4 ; RUN: echo %s > %t.list1 5 ; RUN: echo "-time-passes @%t.list1" > %t.list2
|
/external/protobuf/java/src/main/java/com/google/protobuf/ |
D | AbstractMessage.java | 168 List list1 = (List) value1; in compareFields() local 170 if (list1.size() != list2.size()) { in compareFields() 173 for (int i = 0; i < list1.size(); i++) { in compareFields() 174 if (!compareBytes(list1.get(i), list2.get(i))) { in compareFields()
|
/external/libedit/doc/ |
D | Makefile.in | 313 @list1=''; \ 316 && test -n "`echo $$list1$$list2`" \ 320 { for i in $$list1; do echo "$$i"; done; \ 356 @list1=''; \ 359 && test -n "`echo $$list1$$list2`" \ 363 { for i in $$list1; do echo "$$i"; done; \
|
/external/mockftpserver/tags/2.0-rc3/MockFtpServer/src/test/groovy/org/mockftpserver/fake/filesystem/ |
D | AbstractFileSystemTest.groovy | 303 protected void assertSameIgnoringOrder(list1, list2) { 304 LOG.info("Comparing $list1 to $list2") 305 assert list1 as Set == list2 as Set, "list1=$list1 list2=$list2"
|
/external/mockftpserver/tags/2.3/src/test/groovy/org/mockftpserver/fake/filesystem/ |
D | AbstractFileSystemTestCase.groovy | 351 protected void assertSameIgnoringOrder(list1, list2) { 352 LOG.info("Comparing $list1 to $list2") 353 assert list1 as Set == list2 as Set, "list1=$list1 list2=$list2"
|
/external/mockftpserver/tags/2.4/src/test/groovy/org/mockftpserver/fake/filesystem/ |
D | AbstractFileSystemTestCase.groovy | 351 protected void assertSameIgnoringOrder(list1, list2) { 352 LOG.info("Comparing $list1 to $list2") 353 assert list1 as Set == list2 as Set, "list1=$list1 list2=$list2"
|
/external/mockftpserver/tags/2.0.1/src/test/groovy/org/mockftpserver/fake/filesystem/ |
D | AbstractFileSystemTest.groovy | 303 protected void assertSameIgnoringOrder(list1, list2) { 304 LOG.info("Comparing $list1 to $list2") 305 assert list1 as Set == list2 as Set, "list1=$list1 list2=$list2"
|
/external/mockftpserver/tags/2.1/src/test/groovy/org/mockftpserver/fake/filesystem/ |
D | AbstractFileSystemTest.groovy | 303 protected void assertSameIgnoringOrder(list1, list2) { 304 LOG.info("Comparing $list1 to $list2") 305 assert list1 as Set == list2 as Set, "list1=$list1 list2=$list2"
|
/external/mockftpserver/MockFtpServer/src/test/groovy/org/mockftpserver/fake/filesystem/ |
D | AbstractFileSystemTestCase.groovy | 351 protected void assertSameIgnoringOrder(list1, list2) { 352 LOG.info("Comparing $list1 to $list2") 353 assert list1 as Set == list2 as Set, "list1=$list1 list2=$list2"
|
/external/mockftpserver/tags/2.0.2/src/test/groovy/org/mockftpserver/fake/filesystem/ |
D | AbstractFileSystemTest.groovy | 303 protected void assertSameIgnoringOrder(list1, list2) { 304 LOG.info("Comparing $list1 to $list2") 305 assert list1 as Set == list2 as Set, "list1=$list1 list2=$list2"
|
/external/mockftpserver/tags/2.0-rc1/src/test/groovy/org/mockftpserver/fake/filesystem/ |
D | AbstractFileSystemTest.groovy | 303 protected void assertSameIgnoringOrder(list1, list2) { 304 LOG.info("Comparing $list1 to $list2") 305 assert list1 as Set == list2 as Set, "list1=$list1 list2=$list2"
|
/external/mockftpserver/tags/2.0-rc1/MockFtpServer/src/test/groovy/org/mockftpserver/fake/filesystem/ |
D | AbstractFileSystemTest.groovy | 303 protected void assertSameIgnoringOrder(list1, list2) { 304 LOG.info("Comparing $list1 to $list2") 305 assert list1 as Set == list2 as Set, "list1=$list1 list2=$list2"
|
/external/mockftpserver/tags/2.2/src/test/groovy/org/mockftpserver/fake/filesystem/ |
D | AbstractFileSystemTestCase.groovy | 351 protected void assertSameIgnoringOrder(list1, list2) { 352 LOG.info("Comparing $list1 to $list2") 353 assert list1 as Set == list2 as Set, "list1=$list1 list2=$list2"
|
/external/mockftpserver/tags/2.0/src/test/groovy/org/mockftpserver/fake/filesystem/ |
D | AbstractFileSystemTest.groovy | 303 protected void assertSameIgnoringOrder(list1, list2) { 304 LOG.info("Comparing $list1 to $list2") 305 assert list1 as Set == list2 as Set, "list1=$list1 list2=$list2"
|