Home
last modified time | relevance | path

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

1234

/external/chromium_org/third_party/icu/source/data/misc/
Dplurals.txt11 af{"set2"}
15 asa{"set2"}
16 ast{"set2"}
17 az{"set2"}
19 bem{"set2"}
20 bez{"set2"}
21 bg{"set2"}
27 brx{"set2"}
30 cgg{"set2"}
31 chr{"set2"}
[all …]
/external/chromium_org/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/chromium_org/third_party/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 …]
DTSetTest.cpp81 SkTSet<int> set2; in TestTSet_advanced() local
82 set2 = set0; in TestTSet_advanced()
84 REPORTER_ASSERT(reporter, set0.count() == set2.count()); in TestTSet_advanced()
85 REPORTER_ASSERT(reporter, !set2.contains(-1000)); in TestTSet_advanced()
88 REPORTER_ASSERT(reporter, set2.contains(f(i))); in TestTSet_advanced()
89 REPORTER_ASSERT(reporter, set2[i] == f(i)); in TestTSet_advanced()
95 set2.validate(); in TestTSet_advanced()
/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 …]
DTSetTest.cpp81 SkTSet<int> set2; in TestTSet_advanced() local
82 set2 = set0; in TestTSet_advanced()
84 REPORTER_ASSERT(reporter, set0.count() == set2.count()); in TestTSet_advanced()
85 REPORTER_ASSERT(reporter, !set2.contains(-1000)); in TestTSet_advanced()
88 REPORTER_ASSERT(reporter, set2.contains(f(i))); in TestTSet_advanced()
89 REPORTER_ASSERT(reporter, set2[i] == f(i)); in TestTSet_advanced()
95 set2.validate(); in TestTSet_advanced()
/external/chromium_org/extensions/common/
Durl_pattern_set_unittest.cc98 URLPatternSet set2; in TEST() local
99 AddPattern(&set2, "http://www.reddit.com/f*"); in TEST()
100 AddPattern(&set2, "http://www.yahoo.com/z*"); in TEST()
106 EXPECT_FALSE(set1.OverlapsWith(set2)); in TEST()
107 EXPECT_FALSE(set2.OverlapsWith(set1)); in TEST()
116 URLPatternSet set2; in TEST() local
122 URLPatternSet::CreateDifference(set1, set2, &result); in TEST()
126 AddPattern(&set2, "http://www.reddit.com/f*"); in TEST()
127 AddPattern(&set2, "http://www.yahoo.com/z*"); in TEST()
128 AddPattern(&set2, "http://www.google.com/f*"); in TEST()
[all …]
Durl_pattern_set.cc29 const URLPatternSet& set2, in CreateDifference() argument
32 set1.patterns_, set2.patterns_); in CreateDifference()
37 const URLPatternSet& set2, in CreateIntersection() argument
40 set1.patterns_, set2.patterns_); in CreateIntersection()
45 const URLPatternSet& set2, in CreateUnion() argument
48 set1.patterns_, set2.patterns_); in CreateUnion()
/external/chromium_org/third_party/WebKit/Source/core/css/invalidation/
DDescendantInvalidationSetTest.cpp38 RefPtrWillBeRawPtr<DescendantInvalidationSet> set2 = DescendantInvalidationSet::create(); in TEST() local
41 set2->setWholeSubtreeInvalid(); in TEST()
43 set1->combine(*set2); in TEST()
53 RefPtrWillBeRawPtr<DescendantInvalidationSet> set2 = DescendantInvalidationSet::create(); in TEST() local
56 set2->addAttribute("a"); in TEST()
58 set1->combine(*set2); in TEST()
/external/chromium_org/sync/internal_api/public/base/
Denum_set.h23 EnumSet<E, Min, Max> set2);
27 EnumSet<E, Min, Max> set2);
31 EnumSet<E, Min, Max> set2);
226 EnumSet set1, EnumSet set2);
228 EnumSet set1, EnumSet set2);
230 EnumSet set1, EnumSet set2);
267 EnumSet<E, Min, Max> set2) { in Union() argument
268 return EnumSet<E, Min, Max>(set1.enums_ | set2.enums_); in Union()
273 EnumSet<E, Min, Max> set2) { in Intersection() argument
274 return EnumSet<E, Min, Max>(set1.enums_ & set2.enums_); in Intersection()
[all …]
/external/valgrind/main/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/stlport/test/eh/
Dtest.cpp18 std::set<int> set1, set2; in main() local
26 set2.insert(1); in main()
27 set2.insert(1); in main()
31 printElements(set2, "set2 : "); in main()
/external/icu/icu4c/source/test/cintltst/
Dusettest.c83 USet* set2; in TestAPI() local
179 set2 = uset_open(1, 1); in TestAPI()
180 uset_clear(set2); in TestAPI()
183 uset_applyPropertyAlias(set2, PAT_lb, PAT_lb_LEN, VAL_SP, VAL_SP_LEN, &ec); in TestAPI()
184 expect(set2, " ", "abcdefghi{bc}", NULL); in TestAPI()
187 uset_set(set2, 0x0061, 0x0063); in TestAPI()
192 if (uset_containsSome(set, set2)) { in TestAPI()
195 uset_complementAll(set, set2); in TestAPI()
196 if (!uset_containsSome(set, set2)) { in TestAPI()
202 uset_removeAll(set, set2); in TestAPI()
[all …]
/external/chromium_org/third_party/icu/source/test/cintltst/
Dusettest.c83 USet* set2; in TestAPI() local
179 set2 = uset_open(1, 1); in TestAPI()
180 uset_clear(set2); in TestAPI()
183 uset_applyPropertyAlias(set2, PAT_lb, PAT_lb_LEN, VAL_SP, VAL_SP_LEN, &ec); in TestAPI()
184 expect(set2, " ", "abcdefghi{bc}", NULL); in TestAPI()
187 uset_set(set2, 0x0061, 0x0063); in TestAPI()
192 if (uset_containsSome(set, set2)) { in TestAPI()
195 uset_complementAll(set, set2); in TestAPI()
196 if (!uset_containsSome(set, set2)) { in TestAPI()
202 uset_removeAll(set, set2); in TestAPI()
[all …]
/external/chromium_org/extensions/common/permissions/
Dbase_set_operators.h145 static void Difference(const T& set1, const T& set2, T* set3) { in Difference() argument
150 const_iterator it2 = set2.begin(); in Difference()
152 const const_iterator end2 = set2.end(); in Difference()
175 static void Intersection(const T& set1, const T& set2, T* set3) { in Intersection() argument
180 const_iterator it2 = set2.begin(); in Intersection()
182 const const_iterator end2 = set2.end(); in Intersection()
199 static void Union(const T& set1, const T& set2, T* set3) { in Union() argument
204 const_iterator it2 = set2.begin(); in Union()
206 const const_iterator end2 = set2.end(); in Union()
Dpermission_set.cc54 const PermissionSet* set2) { in CreateDifference() argument
57 const PermissionSet* set2_safe = (set2 == NULL) ? empty.get() : set2; in CreateDifference()
84 const PermissionSet* set2) { in CreateIntersection() argument
87 const PermissionSet* set2_safe = (set2 == NULL) ? empty.get() : set2; in CreateIntersection()
114 const PermissionSet* set2) { in CreateUnion() argument
117 const PermissionSet* set2_safe = (set2 == NULL) ? empty.get() : set2; in CreateUnion()
Dpermission_set.h48 const PermissionSet* set1, const PermissionSet* set2);
53 const PermissionSet* set1, const PermissionSet* set2);
58 const PermissionSet* set1, const PermissionSet* set2);
/external/chromium_org/chrome/common/extensions/permissions/
Dpermission_set_unittest.cc253 scoped_refptr<PermissionSet> set2; in TEST() local
281 set2 = new PermissionSet(apis2, manifest_permissions, in TEST()
283 union_set = PermissionSet::CreateUnion(set1.get(), set2.get()); in TEST()
284 EXPECT_TRUE(set1->Contains(*set2.get())); in TEST()
286 EXPECT_FALSE(set2->Contains(*set1.get())); in TEST()
287 EXPECT_FALSE(set2->Contains(*union_set.get())); in TEST()
289 EXPECT_TRUE(union_set->Contains(*set2.get())); in TEST()
337 set2 = new PermissionSet(apis2, manifest_permissions, in TEST()
339 union_set = PermissionSet::CreateUnion(set1.get(), set2.get()); in TEST()
341 EXPECT_FALSE(set1->Contains(*set2.get())); in TEST()
[all …]
/external/guava/guava/src/com/google/common/collect/
DSets.java583 final Set<? extends E> set1, final Set<? extends E> set2) { in union() argument
585 checkNotNull(set2, "set2"); in union()
587 final Set<? extends E> set2minus1 = difference(set2, set1); in union()
594 return set1.isEmpty() && set2.isEmpty(); in union()
601 return set1.contains(object) || set2.contains(object); in union()
605 set.addAll(set2); in union()
610 .addAll(set1).addAll(set2).build(); in union()
642 final Set<E> set1, final Set<?> set2) {
644 checkNotNull(set2, "set2");
646 final Predicate<Object> inSet2 = Predicates.in(set2);
[all …]
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DSets.java571 final Set<? extends E> set1, final Set<? extends E> set2) { in union() argument
573 checkNotNull(set2, "set2"); in union()
575 final Set<? extends E> set2minus1 = difference(set2, set1); in union()
582 return set1.isEmpty() && set2.isEmpty(); in union()
589 return set1.contains(object) || set2.contains(object); in union()
593 set.addAll(set2); in union()
598 .addAll(set1).addAll(set2).build(); in union()
630 final Set<E> set1, final Set<?> set2) {
632 checkNotNull(set2, "set2");
634 final Predicate<Object> inSet2 = Predicates.in(set2);
[all …]
/external/chromium_org/third_party/skia/third_party/lua/src/
Dltablib.c164 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/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 …]

1234