/external/testng/src/test/java/test/tmp/ |
D | AssertEqualsTest.java | 42 Set set2 = new HashSet(); in main() local 45 set2.add(5); in main() 48 set2.add(6); in main() 51 set2.add(1); in main() 54 set2.add(9); in main() 57 System.out.println("set2 is:" + set2.toString()); in main() 59 System.out.println("is set1 equals set2 :" + set1.equals(set2)); in main() 62 Assert.assertEquals(set1, set2, "set1 must equals with set2"); in main()
|
/external/google-breakpad/src/client/linux/minidump_writer/ |
D | cpu_set_unittest.cc | 126 CpuSet set2; in TEST() local 127 ASSERT_TRUE(set2.ParseSysFile(file2.GetFd())); in TEST() 128 ASSERT_EQ(9, set2.GetCount()); in TEST() 130 set1.IntersectWith(set2); in TEST() 132 ASSERT_EQ(9, set2.GetCount()); in TEST() 155 CpuSet set2; in TEST() local 156 ASSERT_TRUE(set2.ParseSysFile(file2.GetFd())); in TEST() 157 ASSERT_EQ(20, set2.GetCount()); in TEST() 159 set1.IntersectWith(set2); in TEST() 162 ASSERT_EQ(20, set2.GetCount()); in TEST()
|
/external/toybox/toys/pending/ |
D | tr.c | 36 static void map_translation(char *set1 , char *set2) in map_translation() argument 47 TT.map[set2[k]] = TT.map[set2[k]]|0x200; in map_translation() 50 while (!(toys.optflags & FLAG_d) && set2 && TT.len1--) { //ignore set2 if -d present in map_translation() 51 TT.map[set1[i]] = ((TT.map[set1[i]] & 0xFF00) | set2[k]); in map_translation() 52 if (set2[k + 1]) k++; in map_translation() 211 static void print_map(char *set1, char *set2) in print_map() argument 252 char *set1, *set2 = NULL; in tr_main() local 261 set2 = expand_set(toys.optargs[1], &TT.len2); in tr_main() 263 map_translation(set1, set2); in tr_main() 265 print_map(set1, set2); in tr_main() [all …]
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigprocmask/ |
D | 10-1.c | 20 sigset_t set1, set2; in main() local 24 sigemptyset(&set2); in main() 28 sigprocmask(SIG_SETMASK, NULL, &set2); in main() 30 if (sigismember(&set2, SIGKILL)) { in main() 34 if (sigismember(&set2, SIGSTOP)) { in main()
|
D | 6-1.c | 28 sigset_t set1, set2, pending_set; in main() local 34 sigemptyset(&set2); in main() 35 sigaddset(&set2, SIGUSR2); in main() 59 if (sigprocmask(SIG_UNBLOCK, &set2, NULL) == -1) { in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_sigmask/ |
D | 10-1.c | 21 sigset_t set1, set2; in a_thread_func() local 25 sigemptyset(&set2); in a_thread_func() 29 pthread_sigmask(SIG_SETMASK, NULL, &set2); in a_thread_func() 31 if (sigismember(&set2, SIGKILL)) { in a_thread_func() 35 if (sigismember(&set2, SIGSTOP)) { in a_thread_func()
|
D | 6-1.c | 45 sigset_t set1, set2, pending_set; in a_thread_func() local 51 sigemptyset(&set2); in a_thread_func() 52 sigaddset(&set2, SIGALRM); in a_thread_func() 76 if (pthread_sigmask(SIG_UNBLOCK, &set2, NULL) == -1) { in a_thread_func()
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/types/ |
D | SetTagTest.java | 39 Set<String> set2 = (Set<String>) map.get("baseball teams"); in testSet() local 40 assertEquals(3, set2.size()); in testSet() 41 assertTrue(set2.contains("Boston Red Sox")); in testSet() 42 assertTrue(set2.contains("Detroit Tigers")); in testSet() 43 assertTrue(set2.contains("New York Yankees")); in testSet()
|
/external/valgrind/none/tests/ppc32/ |
D | power5+_round.c | 89 double set2[] = { 0.9, 0.1, -0.1, -0.9, 1e-40, -1e-40 }; in main() local 111 DO_TEST(frin, set2, frin2, frin2rf); in main() 113 DO_TEST(friz, set2, friz2, friz2rf); in main() 115 DO_TEST(frip, set2, frip2, frip2rf); in main() 117 DO_TEST(frim, set2, frim2, frim2rf); in main() 125 double set2[] = in main() local 137 DO_TEST(frsp, set2, frsp2, fprf2); in main()
|
/external/icu/icu4c/source/test/cintltst/ |
D | usettest.c | 84 USet* set2; in TestAPI() local 180 set2 = uset_open(1, 1); in TestAPI() 181 uset_clear(set2); in TestAPI() 184 uset_applyPropertyAlias(set2, PAT_lb, PAT_lb_LEN, VAL_SP, VAL_SP_LEN, &ec); in TestAPI() 185 expect(set2, " ", "abcdefghi{bc}", NULL); in TestAPI() 188 uset_set(set2, 0x0061, 0x0063); in TestAPI() 193 if (uset_containsSome(set, set2)) { in TestAPI() 196 uset_complementAll(set, set2); in TestAPI() 197 if (!uset_containsSome(set, set2)) { in TestAPI() 203 uset_removeAll(set, set2); in TestAPI() [all …]
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
D | Sets.java | 544 final Set<? extends E> set1, final Set<? extends E> set2) { in union() argument 546 checkNotNull(set2, "set2"); in union() 548 final Set<? extends E> set2minus1 = difference(set2, set1); in union() 555 return set1.isEmpty() && set2.isEmpty(); in union() 562 return set1.contains(object) || set2.contains(object); in union() 566 set.addAll(set2); in union() 571 .addAll(set1).addAll(set2).build(); in union() 603 final Set<E> set1, final Set<?> set2) { 605 checkNotNull(set2, "set2"); 607 final Predicate<Object> inSet2 = Predicates.in(set2); [all …]
|
/external/testng/src/test/java/test/asserttests/ |
D | AssertTest.java | 61 Set<Integer> set2 = Sets.newHashSet(); in setsSuccess() local 64 set2.add(1); in setsSuccess() 67 set2.add(3); in setsSuccess() 70 set2.add(2); in setsSuccess() 72 Assert.assertEquals(set1, set2); in setsSuccess() 73 Assert.assertEquals(set2, set1); in setsSuccess()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/ |
D | UnicodeSetTest.java | 498 UnicodeSet set2 = new UnicodeSet(); in TestAddRemove() local 499 expectPattern(set2, "[f-ky-za-bc[vw]]", "acfkvwyz"); in TestAddRemove() 500 set.removeAll(set2); in TestAddRemove() 505 expectPattern(set2, "[hitoshinamekatajamesanderson]", "aadehkmort"); in TestAddRemove() 506 set.addAll(set2); in TestAddRemove() 511 expectPattern(set2, "[jackiemclean]", "aacceein"); in TestAddRemove() 512 set.addAll(set2); in TestAddRemove() 527 UnicodeSet set2 = new UnicodeSet("[i-o]"); in TestMinimalRep() local 528 set.addAll(set2); in TestMinimalRep() 532 set2.applyPattern("[e-o]"); in TestMinimalRep() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/lang/ |
D | UnicodeSetTest.java | 499 UnicodeSet set2 = new UnicodeSet(); in TestAddRemove() local 500 expectPattern(set2, "[f-ky-za-bc[vw]]", "acfkvwyz"); in TestAddRemove() 501 set.removeAll(set2); in TestAddRemove() 506 expectPattern(set2, "[hitoshinamekatajamesanderson]", "aadehkmort"); in TestAddRemove() 507 set.addAll(set2); in TestAddRemove() 512 expectPattern(set2, "[jackiemclean]", "aacceein"); in TestAddRemove() 513 set.addAll(set2); in TestAddRemove() 528 UnicodeSet set2 = new UnicodeSet("[i-o]"); in TestMinimalRep() local 529 set.addAll(set2); in TestMinimalRep() 533 set2.applyPattern("[e-o]"); in TestMinimalRep() [all …]
|
/external/skia/third_party/lua/src/ |
D | ltablib.c | 164 static void set2 (lua_State *L, int i, int j) { in set2() function 191 set2(L, l, u); /* swap a[l] - a[u] */ in auxsort() 199 set2(L, i, l); in auxsort() 204 set2(L, i, u); in auxsort() 212 set2(L, i, u-1); in auxsort() 230 set2(L, i, j); in auxsort() 234 set2(L, u-1, i); /* swap pivot (a[u-1]) with a[i] */ in auxsort()
|
/external/syslinux/com32/lua/src/ |
D | ltablib.c | 164 static void set2 (lua_State *L, int i, int j) { in set2() function 191 set2(L, l, u); /* swap a[l] - a[u] */ in auxsort() 199 set2(L, i, l); in auxsort() 204 set2(L, i, u); in auxsort() 212 set2(L, i, u-1); in auxsort() 230 set2(L, i, j); in auxsort() 234 set2(L, u-1, i); /* swap pivot (a[u-1]) with a[i] */ in auxsort()
|
/external/guava/guava/src/com/google/common/collect/ |
D | Sets.java | 580 final Set<? extends E> set1, final Set<? extends E> set2) { in union() argument 582 checkNotNull(set2, "set2"); in union() 584 final Set<? extends E> set2minus1 = difference(set2, set1); in union() 591 return set1.isEmpty() && set2.isEmpty(); in union() 598 return set1.contains(object) || set2.contains(object); in union() 602 set.addAll(set2); in union() 607 .addAll(set1).addAll(set2).build(); in union() 639 final Set<E> set1, final Set<?> set2) { 641 checkNotNull(set2, "set2"); 643 final Predicate<Object> inSet2 = Predicates.in(set2); [all …]
|
/external/smali/util/src/main/java/org/jf/util/ |
D | CollectionUtils.java | 193 … @Nonnull Collection<? extends T> set2) { 194 int res = Ints.compare(set1.size(), set2.size()); 198 SortedSet<? extends T> sortedSet2 = toNaturalSortedSet(set2); 200 Iterator<? extends T> elements2 = set2.iterator(); 215 SortedSet<? extends T> set2 = toSortedSet(elementComparator, list2); 217 Iterator<? extends T> elements2 = set2.iterator();
|
/external/ltp/testcases/kernel/syscalls/rt_sigsuspend/ |
D | rt_sigsuspend01.c | 54 sigset_t set, set1, set2; in main() local 90 &set2, SIGSETSIZE)); in main() 94 } else if (set1.__val[0] != set2.__val[0]) { in main()
|
/external/vixl/test/ |
D | test-invalset.cc | 362 TestSet set2; in TEST() local 363 VIXL_CHECK(set2.empty() && (set2.size() == 0)); in TEST() 368 set2.insert(Obj(i, 2)); in TEST() 381 VIXL_CHECK(set2.begin() != set2.end()); in TEST() 382 VIXL_CHECK(set1.begin() != set2.begin()); in TEST() 383 VIXL_CHECK(set1.end() != set2.end()); in TEST()
|
/external/python/cpython2/Lib/unittest/test/ |
D | test_case.py | 771 set2 = set() 772 self.assertSetEqual(set1, set2) 774 self.assertRaises(self.failureException, self.assertSetEqual, None, set2) 775 self.assertRaises(self.failureException, self.assertSetEqual, [], set2) 780 set2 = set() 781 self.assertRaises(self.failureException, self.assertSetEqual, set1, set2) 784 set2 = set(['a']) 785 self.assertSetEqual(set1, set2) 788 set2 = set(['a', 'b']) 789 self.assertRaises(self.failureException, self.assertSetEqual, set1, set2) [all …]
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue73/ |
D | RecursiveSetTest.java | 30 Set<Object> set2 = new HashSet<Object>(); in testDumpException() local 31 set1.add(set2); in testDumpException() 32 set2.add(set1); in testDumpException()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/ |
D | TestBoilerplate.java | 144 …public static boolean verifySetsIdentical(AbstractTestLog here, UnicodeSet set1, UnicodeSet set2) { in verifySetsIdentical() argument 145 if (set1.equals(set2)) return true; in verifySetsIdentical() 148 TestFmwk.errln(new UnicodeSet(set1).removeAll(set2).toPattern(true)); in verifySetsIdentical() 150 TestFmwk.errln(new UnicodeSet(set2).removeAll(set1).toPattern(true)); in verifySetsIdentical()
|
/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/test/ |
D | TestBoilerplate.java | 143 …public static boolean verifySetsIdentical(AbstractTestLog here, UnicodeSet set1, UnicodeSet set2) { in verifySetsIdentical() argument 144 if (set1.equals(set2)) return true; in verifySetsIdentical() 147 TestFmwk.errln(new UnicodeSet(set1).removeAll(set2).toPattern(true)); in verifySetsIdentical() 149 TestFmwk.errln(new UnicodeSet(set2).removeAll(set1).toPattern(true)); in verifySetsIdentical()
|
/external/icu/icu4c/source/common/ |
D | uset.cpp | 181 uset_containsAll(const USet* set1, const USet* set2) { in uset_containsAll() argument 182 return ((const UnicodeSet*) set1)->UnicodeSet::containsAll(* (const UnicodeSet*) set2); in uset_containsAll() 193 uset_containsNone(const USet* set1, const USet* set2) { in uset_containsNone() argument 194 return ((const UnicodeSet*) set1)->UnicodeSet::containsNone(* (const UnicodeSet*) set2); in uset_containsNone() 198 uset_containsSome(const USet* set1, const USet* set2) { in uset_containsSome() argument 199 return ((const UnicodeSet*) set1)->UnicodeSet::containsSome(* (const UnicodeSet*) set2); in uset_containsSome() 223 uset_equals(const USet* set1, const USet* set2) { in uset_equals() argument 224 return *(const UnicodeSet*)set1 == *(const UnicodeSet*)set2; in uset_equals()
|