Searched defs:set2 (Results 1 - 25 of 52) sorted by relevance

123

/external/chromium_org/third_party/WebKit/Source/core/css/invalidation/
H A DDescendantInvalidationSetTest.cpp38 RefPtrWillBeRawPtr<DescendantInvalidationSet> set2 = DescendantInvalidationSet::create(); local
41 set2->setWholeSubtreeInvalid();
43 set1->combine(*set2);
53 RefPtrWillBeRawPtr<DescendantInvalidationSet> set2 = DescendantInvalidationSet::create(); local
56 set2->addAttribute("a");
58 set1->combine(*set2);
/external/stlport/test/eh/
H A Dtest.cpp18 std::set<int> set1, set2; local
26 set2.insert(1);
27 set2.insert(1);
31 printElements(set2, "set2 : ");
/external/chromium_org/components/invalidation/
H A Dobject_id_invalidation_map_unittest.cc22 set2.insert(kIdTwo);
36 ObjectIdSet set2; member in class:syncer::__anon6547::ObjectIdInvalidationMapTest
73 EXPECT_TRUE(one_invalidation.GetSubsetWithObjectIds(set2).Empty());
H A Dunacked_invalidation_set_unittest.cc130 SingleObjectInvalidationSet set2 = GetStoredInvalidations(); local
131 ASSERT_EQ(kMax, set2.GetSize());
132 EXPECT_TRUE(set2.StartsWithUnknownVersion());
133 EXPECT_TRUE(set2.begin()->is_unknown_version());
134 EXPECT_EQ(kMax, static_cast<size_t>(set2.rbegin()->version()));
/external/chromium_org/extensions/common/permissions/
H A Dmanifest_permission_set_unittest.cc137 ManifestPermissionSet set2; local
138 set2.insert(new MockManifestPermission("p3"));
140 EXPECT_FALSE(set1.Contains(set2));
141 EXPECT_FALSE(set2.Contains(set1));
H A Dbase_set_operators.h145 static void Difference(const T& set1, const T& set2, T* set3) { argument
150 const_iterator it2 = set2.begin();
152 const const_iterator end2 = set2.end();
175 static void Intersection(const T& set1, const T& set2, T* set3) { argument
180 const_iterator it2 = set2.begin();
182 const const_iterator end2 = set2.end();
199 static void Union(const T& set1, const T& set2, T* set3) { argument
204 const_iterator it2 = set2.begin();
206 const const_iterator end2 = set2.end();
H A Dpermission_set.cc54 const PermissionSet* set2) {
57 const PermissionSet* set2_safe = (set2 == NULL) ? empty.get() : set2;
84 const PermissionSet* set2) {
87 const PermissionSet* set2_safe = (set2 == NULL) ? empty.get() : set2;
114 const PermissionSet* set2) {
117 const PermissionSet* set2_safe = (set2 == NULL) ? empty.get() : set2;
52 CreateDifference( const PermissionSet* set1, const PermissionSet* set2) argument
82 CreateIntersection( const PermissionSet* set1, const PermissionSet* set2) argument
112 CreateUnion( const PermissionSet* set1, const PermissionSet* set2) argument
/external/chromium_org/third_party/skia/tests/
H A DTSetTest.cpp81 SkTSet<int> set2; local
82 set2 = set0;
84 REPORTER_ASSERT(reporter, set0.count() == set2.count());
85 REPORTER_ASSERT(reporter, !set2.contains(-1000));
88 REPORTER_ASSERT(reporter, set2.contains(f(i)));
89 REPORTER_ASSERT(reporter, set2[i] == f(i));
95 set2.validate();
H A DGrOrderedSetTest.cpp126 Set2 set2; local
128 set2.insert("ape");
129 set2.insert(char1);
130 set2.insert(char2);
131 set2.insert(char3);
132 set2.insert("ant");
133 set2.insert("cat");
135 REPORTER_ASSERT(reporter, set2.count() == 4);
136 REPORTER_ASSERT(reporter, set2.find("dog") == set2
[all...]
H A DTextBlobTest.cpp30 RunDef set2[] = { local
33 RunBuilderTest(reporter, builder, set2, SK_ARRAY_COUNT(set2), set2, SK_ARRAY_COUNT(set2));
/external/skia/tests/
H A DTSetTest.cpp81 SkTSet<int> set2; local
82 set2 = set0;
84 REPORTER_ASSERT(reporter, set0.count() == set2.count());
85 REPORTER_ASSERT(reporter, !set2.contains(-1000));
88 REPORTER_ASSERT(reporter, set2.contains(f(i)));
89 REPORTER_ASSERT(reporter, set2[i] == f(i));
95 set2.validate();
H A DGrOrderedSetTest.cpp126 Set2 set2; local
128 set2.insert("ape");
129 set2.insert(char1);
130 set2.insert(char2);
131 set2.insert(char3);
132 set2.insert("ant");
133 set2.insert("cat");
135 REPORTER_ASSERT(reporter, set2.count() == 4);
136 REPORTER_ASSERT(reporter, set2.find("dog") == set2
[all...]
/external/chromium_org/sync/internal_api/public/base/
H A 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) {
268 return EnumSet<E, Min, Max>(set1.enums_ | set2.enums_);
273 EnumSet<E, Min, Max> set2) {
274 return EnumSet<E, Min, Max>(set1.enums_ & set2
266 Union(EnumSet<E, Min, Max> set1, EnumSet<E, Min, Max> set2) argument
272 Intersection(EnumSet<E, Min, Max> set1, EnumSet<E, Min, Max> set2) argument
278 Difference(EnumSet<E, Min, Max> set1, EnumSet<E, Min, Max> set2) argument
[all...]
/external/chromium_org/content/browser/indexed_db/
H A Dindexed_db_transaction_coordinator.cc132 const std::set<T>& set2) {
134 typename std::set<T>::const_iterator it2 = set2.begin();
135 while (it1 != set1.end() && it2 != set2.end()) {
131 DoSetsIntersect(const std::set<T>& set1, const std::set<T>& set2) argument
/external/chromium_org/v8/test/cctest/
H A Dtest-unique.cc268 UniqueSet<T>* set1, UniqueSet<T>* set2, bool expected) {
270 CHECK(set2->Equals(set2));
271 CHECK(expected == set1->Equals(set2));
272 CHECK(expected == set2->Equals(set1));
284 UniqueSet<String>* set2 = new(&zone) UniqueSet<String>(); local
286 CHECK_SETS(set1, set2, true);
290 CHECK_SETS(set1, set2, false);
292 set2->Add(A, &zone);
294 CHECK_SETS(set1, set2, tru
267 CHECK_SETS( UniqueSet<T>* set1, UniqueSet<T>* set2, bool expected) argument
322 UniqueSet<String>* set2 = new(&zone) UniqueSet<String>(); local
357 UniqueSet<String>* set2 = new(&zone) UniqueSet<String>(); local
407 UniqueSet<String>* set2 = MakeSet(&zone, j, elements); local
423 UniqueSet<String>* set2 = new(&zone) UniqueSet<String>(); local
471 UniqueSet<String>* set2 = MakeSet(&zone, j, elements); local
491 UniqueSet<String>* set2 = new(&zone) UniqueSet<String>(); local
539 UniqueSet<String>* set2 = MakeSet(&zone, j, elements); local
[all...]
/external/smali/util/src/main/java/org/jf/util/
H A 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();
192 compareAsSet(@onnull Collection<? extends T> set1, @Nonnull Collection<? extends T> set2) argument
/external/chromium_org/extensions/common/
H A Durl_pattern_set_unittest.cc98 URLPatternSet set2; local
99 AddPattern(&set2, "http://www.reddit.com/f*");
100 AddPattern(&set2, "http://www.yahoo.com/z*");
106 EXPECT_FALSE(set1.OverlapsWith(set2));
107 EXPECT_FALSE(set2.OverlapsWith(set1));
116 URLPatternSet set2; local
122 URLPatternSet::CreateDifference(set1, set2, &result);
126 AddPattern(&set2, "http://www.reddit.com/f*");
127 AddPattern(&set2, "http://www.yahoo.com/z*");
128 AddPattern(&set2, "htt
162 URLPatternSet set2; local
194 URLPatternSet set2; local
209 URLPatternSet set2; local
240 URLPatternSet set2; local
253 URLPatternSet set2; local
[all...]
H A Durl_pattern_set.cc29 const URLPatternSet& set2,
32 set1.patterns_, set2.patterns_);
37 const URLPatternSet& set2,
40 set1.patterns_, set2.patterns_);
45 const URLPatternSet& set2,
48 set1.patterns_, set2.patterns_);
28 CreateDifference(const URLPatternSet& set1, const URLPatternSet& set2, URLPatternSet* out) argument
36 CreateIntersection(const URLPatternSet& set1, const URLPatternSet& set2, URLPatternSet* out) argument
44 CreateUnion(const URLPatternSet& set1, const URLPatternSet& set2, URLPatternSet* out) argument
/external/chromium_org/third_party/skia/third_party/lua/src/
H A Dltablib.c164 static void set2 (lua_State *L, int i, int j) { function
191 set2(L, l, u); /* swap a[l] - a[u] */
199 set2(L, i, l);
204 set2(L, i, u);
212 set2(L, i, u-1);
230 set2(L, i, j);
234 set2(L, u-1, i); /* swap pivot (a[u-1]) with a[i] */
/external/guava/guava-testlib/src/com/google/common/collect/testing/features/
H A DFeatureUtil.java298 Set<? extends T> set1, Set<? extends T> set2) {
299 return intersection(new Set[] {set1, set2});
297 intersection( Set<? extends T> set1, Set<? extends T> set2) argument
/external/valgrind/main/none/tests/ppc32/
H A Dpower5+_round.c89 double set2[] = { 0.9, 0.1, -0.1, -0.9, 1e-40, -1e-40 }; local
111 DO_TEST(frin, set2, frin2, frin2rf);
113 DO_TEST(friz, set2, friz2, friz2rf);
115 DO_TEST(frip, set2, frip2, frip2rf);
117 DO_TEST(frim, set2, frim2, frim2rf);
125 double set2[] = local
137 DO_TEST(frsp, set2, frsp2, fprf2);
/external/chromium_org/chrome/browser/extensions/
H A Dpermissions_updater_unittest.cc73 const std::set<URLPattern>& set2) {
74 // Take the (set1 - set2) U (set2 - set1). This is then the set of all
75 // elements which are in either set1 or set2, but not both.
78 base::STLSetDifference<std::set<URLPattern> >(set1, set2),
79 base::STLSetDifference<std::set<URLPattern> >(set2, set1));
72 SetsAreEqual(const std::set<URLPattern>& set1, const std::set<URLPattern>& set2) argument
/external/chromium_org/chrome/browser/media_galleries/
H A Dgallery_watch_manager_unittest.cc235 MediaGalleryPrefIdSet set2 = local
237 EXPECT_EQ(2u, set2.size());
238 EXPECT_TRUE(ContainsKey(set2, id1));
239 EXPECT_TRUE(ContainsKey(set2, id2));
/external/chromium_org/chrome/browser/sync/glue/
H A Dsync_backend_host_impl_unittest.cc678 syncer::ModelTypeSet set2 = syncer::ModelTypeSet(syncer::SESSIONS); local
679 IssueRefreshRequest(set2);
681 EXPECT_TRUE(set2.Equals(fake_manager_->GetLastRefreshRequestTypes()));
/external/stlport/test/unit/
H A Dset_test.cpp21 CPPUNIT_TEST(set2);
38 void set2();
68 void SetTest::set2() function in class:SetTest

Completed in 1556 milliseconds

123