Home
last modified time | relevance | path

Searched refs:set2 (Results 1 – 25 of 51) sorted by relevance

123

/external/v8/test/cctest/
Dtest-unique.cc268 UniqueSet<T>* set1, UniqueSet<T>* set2, bool expected) { in CHECK_SETS() argument
270 CHECK(set2->Equals(set2)); in CHECK_SETS()
271 CHECK(expected == set1->Equals(set2)); in CHECK_SETS()
272 CHECK(expected == set2->Equals(set1)); in CHECK_SETS()
284 UniqueSet<String>* set2 = new(&zone) UniqueSet<String>(); in TEST() local
286 CHECK_SETS(set1, set2, true); in TEST()
290 CHECK_SETS(set1, set2, false); in TEST()
292 set2->Add(A, &zone); in TEST()
294 CHECK_SETS(set1, set2, true); in TEST()
298 CHECK_SETS(set1, set2, false); in TEST()
[all …]
/external/skia/tests/
DGrOrderedSetTest.cpp126 Set2 set2; in DEF_TEST() local
128 set2.insert("ape"); in DEF_TEST()
129 set2.insert(char1); in DEF_TEST()
130 set2.insert(char2); in DEF_TEST()
131 set2.insert(char3); in DEF_TEST()
132 set2.insert("ant"); in DEF_TEST()
133 set2.insert("cat"); in DEF_TEST()
135 REPORTER_ASSERT(reporter, set2.count() == 4); in DEF_TEST()
136 REPORTER_ASSERT(reporter, set2.find("dog") == set2.last()); in DEF_TEST()
137 REPORTER_ASSERT(reporter, set2.find("cat") != set2.end()); in DEF_TEST()
[all …]
DBitSetTest.cpp56 SkBitSet set2(1); in DEF_TEST() local
61 REPORTER_ASSERT(reporter, set2 == set3); in DEF_TEST()
62 REPORTER_ASSERT(reporter, set2 != set4); in DEF_TEST()
63 REPORTER_ASSERT(reporter, set2 != set5); in DEF_TEST()
65 set2.setBit(0, true); in DEF_TEST()
66 REPORTER_ASSERT(reporter, set2 != set5); in DEF_TEST()
68 REPORTER_ASSERT(reporter, set2 != set5); in DEF_TEST()
69 REPORTER_ASSERT(reporter, set2 != set3); in DEF_TEST()
71 REPORTER_ASSERT(reporter, set2 == set3); in DEF_TEST()
73 set3 = set2; in DEF_TEST()
[all …]
DTextBlobTest.cpp30 RunDef set2[] = { in TestBuilder() local
33 RunBuilderTest(reporter, builder, set2, SK_ARRAY_COUNT(set2), set2, SK_ARRAY_COUNT(set2)); in TestBuilder()
/external/google-breakpad/src/client/linux/minidump_writer/
Dcpu_set_unittest.cc126 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/
Dtr.c36 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/valgrind/none/tests/ppc32/
Dpower5+_round.c89 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/
Dusettest.c82 USet* set2; in TestAPI() local
178 set2 = uset_open(1, 1); in TestAPI()
179 uset_clear(set2); in TestAPI()
182 uset_applyPropertyAlias(set2, PAT_lb, PAT_lb_LEN, VAL_SP, VAL_SP_LEN, &ec); in TestAPI()
183 expect(set2, " ", "abcdefghi{bc}", NULL); in TestAPI()
186 uset_set(set2, 0x0061, 0x0063); in TestAPI()
191 if (uset_containsSome(set, set2)) { in TestAPI()
194 uset_complementAll(set, set2); in TestAPI()
195 if (!uset_containsSome(set, set2)) { in TestAPI()
201 uset_removeAll(set, set2); in TestAPI()
[all …]
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DSets.java544 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/guava/guava/src/com/google/common/collect/
DSets.java677 final Set<? extends E> set1, final Set<? extends E> set2) { in union() argument
679 checkNotNull(set2, "set2"); in union()
681 final Set<? extends E> set2minus1 = difference(set2, set1); in union()
688 return set1.isEmpty() && set2.isEmpty(); in union()
695 return set1.contains(object) || set2.contains(object); in union()
699 set.addAll(set2); in union()
704 .addAll(set1).addAll(set2).build(); in union()
736 final Set<E> set1, final Set<?> set2) {
738 checkNotNull(set2, "set2");
740 final Predicate<Object> inSet2 = Predicates.in(set2);
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/
DUnicodeSetTest.java492 UnicodeSet set2 = new UnicodeSet(); in TestAddRemove() local
493 expectPattern(set2, "[f-ky-za-bc[vw]]", "acfkvwyz"); in TestAddRemove()
494 set.removeAll(set2); in TestAddRemove()
499 expectPattern(set2, "[hitoshinamekatajamesanderson]", "aadehkmort"); in TestAddRemove()
500 set.addAll(set2); in TestAddRemove()
505 expectPattern(set2, "[jackiemclean]", "aacceein"); in TestAddRemove()
506 set.addAll(set2); in TestAddRemove()
520 UnicodeSet set2 = new UnicodeSet("[i-o]"); in TestMinimalRep() local
521 set.addAll(set2); in TestMinimalRep()
525 set2.applyPattern("[e-o]"); in TestMinimalRep()
[all …]
/external/smali/util/src/main/java/org/jf/util/
DCollectionUtils.java193 … @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/lldb/test/unittest2/test/
Dtest_case.py744 set2 = set()
745 self.assertSetEqual(set1, set2)
747 self.assertRaises(self.failureException, self.assertSetEqual, None, set2)
748 self.assertRaises(self.failureException, self.assertSetEqual, [], set2)
753 set2 = set()
754 self.assertRaises(self.failureException, self.assertSetEqual, set1, set2)
757 set2 = set(['a'])
758 self.assertSetEqual(set1, set2)
761 set2 = set(['a', 'b'])
762 self.assertRaises(self.failureException, self.assertSetEqual, set1, set2)
[all …]
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/util/
DBagFormatter.java80 UnicodeSet set2) { in showSetDifferences() argument
83 showSetDifferences(new PrintWriter(result),name1,set1,name2,set2); in showSetDifferences()
92 Collection set2) { in showSetDifferences() argument
95 showSetDifferences(new PrintWriter(result), name1, set1, name2, set2); in showSetDifferences()
105 UnicodeSet set2) { in showSetDifferences() argument
106 showSetDifferences(pw, name1, set1, name2, set2, -1); in showSetDifferences()
120 UnicodeSet set2, in showSetDifferences() argument
129 temp = new UnicodeSet(set1).removeAll(set2); in showSetDifferences()
137 temp = new UnicodeSet(set2).removeAll(set1); in showSetDifferences()
145 temp = new UnicodeSet(set2).retainAll(set1); in showSetDifferences()
[all …]
/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/test/
DTestBoilerplate.java138 …public static boolean verifySetsIdentical(AbstractTestLog here, UnicodeSet set1, UnicodeSet set2) { in verifySetsIdentical() argument
139 if (set1.equals(set2)) return true; in verifySetsIdentical()
142 here.errln(new UnicodeSet(set1).removeAll(set2).toPattern(true)); in verifySetsIdentical()
144 here.errln(new UnicodeSet(set2).removeAll(set1).toPattern(true)); in verifySetsIdentical()
/external/icu/icu4c/source/common/
Duset.cpp179 uset_containsAll(const USet* set1, const USet* set2) { in uset_containsAll() argument
180 return ((const UnicodeSet*) set1)->UnicodeSet::containsAll(* (const UnicodeSet*) set2); in uset_containsAll()
191 uset_containsNone(const USet* set1, const USet* set2) { in uset_containsNone() argument
192 return ((const UnicodeSet*) set1)->UnicodeSet::containsNone(* (const UnicodeSet*) set2); in uset_containsNone()
196 uset_containsSome(const USet* set1, const USet* set2) { in uset_containsSome() argument
197 return ((const UnicodeSet*) set1)->UnicodeSet::containsSome(* (const UnicodeSet*) set2); in uset_containsSome()
221 uset_equals(const USet* set1, const USet* set2) { in uset_equals() argument
222 return *(const UnicodeSet*)set1 == *(const UnicodeSet*)set2; in uset_equals()
/external/icu/icu4c/source/common/unicode/
Duset.h875 uset_containsAll(const USet* set1, const USet* set2);
899 uset_containsNone(const USet* set1, const USet* set2);
910 uset_containsSome(const USet* set1, const USet* set2);
1007 uset_equals(const USet* set1, const USet* set2);
/external/icu/icu4c/source/test/intltest/
Dusettest.cpp326 …UnicodeSet *set2=new UnicodeSet(UNICODE_STRING_SIMPLE("\\p{Decimal Number}"), status); //Number,… in TestCloneEqualHash() local
336 if (*set2 != *set2a) { in TestCloneEqualHash()
344 if(*set1 != *set1copy || *set1 == *set2 || in TestCloneEqualHash()
353 UnicodeSet set2equal=*set2; in TestCloneEqualHash()
354 if(set1equal != *set1 || set1equal != *set1copy || set2equal != *set2 || in TestCloneEqualHash()
361 UnicodeSet *set2clone=(UnicodeSet*)set2->clone(); in TestCloneEqualHash()
363 *set2clone != *set2 || *set2clone == *set1copy || *set2clone != set2equal || in TestCloneEqualHash()
370 set2->hashCode() != set2equal.hashCode() || set2->hashCode() != set2clone->hashCode() || in TestCloneEqualHash()
372 set1->hashCode() == set2->hashCode() || set1copy->hashCode() == set2->hashCode() || in TestCloneEqualHash()
373 set2->hashCode() == set1clone->hashCode() || set2->hashCode() == set1equal.hashCode() ){ in TestCloneEqualHash()
[all …]
Ducdtest.cpp336 UnicodeSet set1, set2; in TestConsistency() local
342 set2.add(start); in TestConsistency()
346 if (set1!=set2) { in TestConsistency()
/external/valgrind/cachegrind/
Dcg_sim.c148 UInt set2 = block2 & c->sets_min_1; in cachesim_ref_is_miss() local
153 cachesim_setref_is_miss(c, set2, tag2); in cachesim_ref_is_miss()
156 return cachesim_setref_is_miss(c, set2, tag2); in cachesim_ref_is_miss()
/external/valgrind/callgrind/
Dsim.c299 UInt set2 = block2 & c->sets_min_1; in cachesim_ref() local
304 CacheResult res2 = cachesim_setref(c, set2, tag2); in cachesim_ref()
396 UInt set2 = ((a+size-1) >> c->line_size_bits) & (c->sets_min_1); in cachesim_ref_wb() local
400 if (set1 == set2) in cachesim_ref_wb()
405 else if (((set1 + 1) & (c->sets_min_1)) == set2) { in cachesim_ref_wb()
410 CacheResult res2 = cachesim_setref_wb(c, ref, set2, tag2); in cachesim_ref_wb()
416 VG_(printf)("addr: %lx size: %u sets: %d %d", a, size, set1, set2); in cachesim_ref_wb()
690 UInt set2 = ((a+size-1) >> L.line_size_bits) & (L.sets_min_1); \
698 L.name, a, size, set1, set2); \
701 if (set1 == set2) { \
[all …]
/external/valgrind/coregrind/
Dm_libcsignal.c90 Bool VG_(iseqsigset)( const vki_sigset_t* set1, const vki_sigset_t* set2 ) in VG_()
93 vg_assert(set1 != NULL && set2 != NULL); in VG_()
95 if (set1->sig[i] != set2->sig[i]) return False; in VG_()
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/picking/
DBresenhamTerrainPicker.java209 gridTriA.set2(t[0].get2()); in getTriangles()
213 gridTriB.set2(t[1].get2()); in getTriangles()
/external/icu/icu4c/source/data/misc/
Dplurals.txt50 ff{"set2"}
54 fr{"set2"}
71 hy{"set2"}
88 kab{"set2"}
417 set2{
/external/llvm/test/CodeGen/SystemZ/
Dalias-01.ll19 !2 = !{ !"set2", !0 }

123