/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/ |
D | TestBoilerplate.java | 154 public static boolean verifySetsIdentical(AbstractTestLog here, Set values1, Set values2) { in verifySetsIdentical() argument 155 if (values1.equals(values2)) return true; in verifySetsIdentical() 159 temp = new TreeSet(values1); in verifySetsIdentical() 164 temp.removeAll(values1); in verifySetsIdentical()
|
/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/test/ |
D | TestBoilerplate.java | 153 public static boolean verifySetsIdentical(AbstractTestLog here, Set values1, Set values2) { in verifySetsIdentical() argument 154 if (values1.equals(values2)) return true; in verifySetsIdentical() 158 temp = new TreeSet(values1); in verifySetsIdentical() 163 temp.removeAll(values1); in verifySetsIdentical()
|
/external/google-breakpad/src/testing/test/ |
D | gmock-internal-utils_test.cc | 273 tuple<int> values1(1), in TEST() local 276 EXPECT_TRUE(TupleMatches(matchers, values1)); in TEST() 282 tuple<int, char> values1(1, 'a'), in TEST() local 287 EXPECT_TRUE(TupleMatches(matchers, values1)); in TEST() 298 values1(1, 'a', true, 2L, "hi"), in TEST() local 302 EXPECT_TRUE(TupleMatches(matchers, values1)); in TEST()
|
/external/v8/testing/gmock/test/ |
D | gmock-internal-utils_test.cc | 299 tuple<int> values1(1), in TEST() local 302 EXPECT_TRUE(TupleMatches(matchers, values1)); in TEST() 308 tuple<int, char> values1(1, 'a'), in TEST() local 313 EXPECT_TRUE(TupleMatches(matchers, values1)); in TEST() 324 values1(1, 'a', true, 2L, "hi"), in TEST() local 328 EXPECT_TRUE(TupleMatches(matchers, values1)); in TEST()
|
/external/googletest/googlemock/test/ |
D | gmock-internal-utils_test.cc | 300 tuple<int> values1(1), in TEST() local 303 EXPECT_TRUE(TupleMatches(matchers, values1)); in TEST() 309 tuple<int, char> values1(1, 'a'), in TEST() local 314 EXPECT_TRUE(TupleMatches(matchers, values1)); in TEST() 325 values1(1, 'a', true, 2L, "hi"), values2(1, 'a', true, 2L, "hello"), in TEST() local 328 EXPECT_TRUE(TupleMatches(matchers, values1)); in TEST()
|
/external/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | DescriptorsTest.java | 415 FieldDescriptor.Type[] values1 = FieldDescriptor.Type.values(); in testFieldTypeTablesMatch() local 418 assertEquals(values1.length, values2.length); in testFieldTypeTablesMatch() 420 for (int i = 0; i < values1.length; i++) { in testFieldTypeTablesMatch() 421 assertEquals(values1[i].toString(), values2[i].toString()); in testFieldTypeTablesMatch() 430 FieldDescriptor.JavaType[] values1 = FieldDescriptor.JavaType.values(); in testJavaTypeTablesMatch() local 433 assertEquals(values1.length, values2.length); in testJavaTypeTablesMatch() 435 for (int i = 0; i < values1.length; i++) { in testJavaTypeTablesMatch() 436 assertEquals(values1[i].toString(), values2[i].toString()); in testJavaTypeTablesMatch()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/translit/ |
D | UnicodeMapTest.java | 364 Set<String> values1 = map1.getAvailableValues(new TreeSet<String>()); in TestUnicodeMapGeneralCategory() local 366 if (!TestBoilerplate.verifySetsIdentical(this, values1, values2)) { in TestUnicodeMapGeneralCategory() 370 for (Iterator<String> it = values1.iterator(); it.hasNext();) { in TestUnicodeMapGeneralCategory()
|
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/ |
D | UnicodeMapTest.java | 363 Set<String> values1 = map1.getAvailableValues(new TreeSet<String>()); in TestUnicodeMapGeneralCategory() local 365 if (!TestBoilerplate.verifySetsIdentical(this, values1, values2)) { in TestUnicodeMapGeneralCategory() 369 for (Iterator<String> it = values1.iterator(); it.hasNext();) { in TestUnicodeMapGeneralCategory()
|
/external/libxml2/ |
D | xpath.c | 6876 xmlChar **values1; in xmlXPathEqualNodeSets() local 6906 values1 = (xmlChar **) xmlMalloc(ns1->nodeNr * sizeof(xmlChar *)); in xmlXPathEqualNodeSets() 6907 if (values1 == NULL) { in xmlXPathEqualNodeSets() 6914 xmlFree(values1); in xmlXPathEqualNodeSets() 6917 memset(values1, 0, ns1->nodeNr * sizeof(xmlChar *)); in xmlXPathEqualNodeSets() 6922 xmlFree(values1); in xmlXPathEqualNodeSets() 6929 xmlFree(values1); in xmlXPathEqualNodeSets() 6946 if (values1[i] == NULL) in xmlXPathEqualNodeSets() 6947 values1[i] = xmlNodeGetContent(ns1->nodeTab[i]); in xmlXPathEqualNodeSets() 6950 ret = xmlStrEqual(values1[i], values2[j]) ^ neq; in xmlXPathEqualNodeSets() [all …]
|