Home
last modified time | relevance | path

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

123456

/third_party/boost/libs/log/test/run/
Dattr_attribute_set.cpp45 attr_set set2 = set1; in BOOST_AUTO_TEST_CASE() local
46 BOOST_CHECK(set2.empty()); in BOOST_AUTO_TEST_CASE()
47 BOOST_CHECK_EQUAL(set2.size(), 0UL); in BOOST_AUTO_TEST_CASE()
49 set2[data::attr1()] = attr1; in BOOST_AUTO_TEST_CASE()
50 set2[data::attr2()] = attr2; in BOOST_AUTO_TEST_CASE()
53 BOOST_CHECK(!set2.empty()); in BOOST_AUTO_TEST_CASE()
54 BOOST_CHECK_EQUAL(set2.size(), 2UL); in BOOST_AUTO_TEST_CASE()
56 attr_set set3 = set2; in BOOST_AUTO_TEST_CASE()
68 set2 = set1; in BOOST_AUTO_TEST_CASE()
69 BOOST_REQUIRE_EQUAL(set1.size(), set2.size()); in BOOST_AUTO_TEST_CASE()
[all …]
Dutil_stp_filter_parser.cpp40 attr_set set1, set2, set3; in BOOST_AUTO_TEST_CASE() local
42 attr_values values1(set1, set2, set3); in BOOST_AUTO_TEST_CASE()
46 attr_values values2(set1, set2, set3); in BOOST_AUTO_TEST_CASE()
67 attr_set set1, set2, set3; in BOOST_AUTO_TEST_CASE() local
69 attr_values values1(set1, set2, set3); in BOOST_AUTO_TEST_CASE()
73 attr_values values2(set1, set2, set3); in BOOST_AUTO_TEST_CASE()
77 attr_values values3(set1, set2, set3); in BOOST_AUTO_TEST_CASE()
81 attr_values values4(set1, set2, set3); in BOOST_AUTO_TEST_CASE()
149 attr_set set1, set2, set3; in BOOST_AUTO_TEST_CASE() local
151 attr_values values1(set1, set2, set3); in BOOST_AUTO_TEST_CASE()
[all …]
Dattr_attribute_value_set.cpp76 attr_set set1, set2, set3; in BOOST_AUTO_TEST_CASE() local
81 attr_values view1(set1, set2, set3); in BOOST_AUTO_TEST_CASE()
88 attr_set set1, set2, set3; in BOOST_AUTO_TEST_CASE() local
90 set2[data::attr2()] = attr2; in BOOST_AUTO_TEST_CASE()
93 attr_values view1(set1, set2, set3); in BOOST_AUTO_TEST_CASE()
111 attr_set set1, set2, set3; in BOOST_AUTO_TEST_CASE() local
117 set2[data::attr2()] = attr2_2; in BOOST_AUTO_TEST_CASE()
118 set2[data::attr4()] = attr4_2; in BOOST_AUTO_TEST_CASE()
123 attr_values view1(set1, set2, set3); in BOOST_AUTO_TEST_CASE()
158 attr_set set1, set2, set3; in BOOST_AUTO_TEST_CASE() local
[all …]
Dattr_value_visitation.cpp110 attr_set set1, set2, set3; in BOOST_AUTO_TEST_CASE() local
114 attr_values values1(set1, set2, set3); in BOOST_AUTO_TEST_CASE()
138 attr_values values2(set1, set2, set3); in BOOST_AUTO_TEST_CASE()
165 attr_set set1, set2, set3; in BOOST_AUTO_TEST_CASE() local
169 attr_values values1(set1, set2, set3); in BOOST_AUTO_TEST_CASE()
190 attr_values values2(set1, set2, set3); in BOOST_AUTO_TEST_CASE()
209 attr_set set1, set2, set3; in BOOST_AUTO_TEST_CASE() local
213 attr_values values1(set1, set2, set3); in BOOST_AUTO_TEST_CASE()
233 attr_values values2(set1, set2, set3); in BOOST_AUTO_TEST_CASE()
Dfilt_attr.cpp50 attr_set set1, set2, set3; in BOOST_AUTO_TEST_CASE() local
55 attr_values values1(set1, set2, set3); in BOOST_AUTO_TEST_CASE()
99 attr_set set1, set2, set3; in BOOST_AUTO_TEST_CASE() local
104 attr_values values1(set1, set2, set3); in BOOST_AUTO_TEST_CASE()
179 attr_set set1, set2, set3; in BOOST_AUTO_TEST_CASE() local
184 attr_values values1(set1, set2, set3); in BOOST_AUTO_TEST_CASE()
227 attr_set set1, set2, set3; in BOOST_AUTO_TEST_CASE() local
232 attr_values values1(set1, set2, set3); in BOOST_AUTO_TEST_CASE()
266 attr_set set1, set2, set3; in BOOST_AUTO_TEST_CASE() local
271 attr_values values1(set1, set2, set3); in BOOST_AUTO_TEST_CASE()
[all …]
Dfilt_has_attr.cpp42 attr_set set1, set2, set3; in BOOST_AUTO_TEST_CASE() local
47 attr_values values1(set1, set2, set3); in BOOST_AUTO_TEST_CASE()
82 attr_set set1, set2, set3; in BOOST_AUTO_TEST_CASE() local
83 attr_values values1(set1, set2, set3); in BOOST_AUTO_TEST_CASE()
86 attr_values values2(set1, set2, set3); in BOOST_AUTO_TEST_CASE()
90 attr_values values3(set1, set2, set3); in BOOST_AUTO_TEST_CASE()
/third_party/gn/src/gn/
Dpointer_set_unittest.cc39 TestPointerSet set2(set1); in TEST() local
42 EXPECT_FALSE(set2.empty()); in TEST()
43 EXPECT_EQ(3u, set2.size()); in TEST()
44 EXPECT_TRUE(set2.contains(kFoo1)); in TEST()
45 EXPECT_TRUE(set2.contains(kFoo2)); in TEST()
46 EXPECT_TRUE(set2.contains(kFoo3)); in TEST()
51 TestPointerSet set2(std::move(set1)); in TEST() local
53 EXPECT_FALSE(set2.empty()); in TEST()
54 EXPECT_EQ(3u, set2.size()); in TEST()
55 EXPECT_TRUE(set2.contains(kFoo1)); in TEST()
[all …]
/third_party/boost/libs/compute/test/
Dtest_includes.cpp30 bc::vector<bc::int_> set2(dataset2, dataset2 + 4, queue); in BOOST_AUTO_TEST_CASE() local
33 set2.begin(), set2.begin() + 4, queue); in BOOST_AUTO_TEST_CASE()
36 set2[3] = 7; in BOOST_AUTO_TEST_CASE()
38 set2.begin(), set2.begin() + 4, queue); in BOOST_AUTO_TEST_CASE()
48 bc::vector<bc::char_> set2(string2, string2 + 5, queue); in BOOST_AUTO_TEST_CASE() local
51 set2.begin(), set2.begin() + 5, queue); in BOOST_AUTO_TEST_CASE()
54 set2[0] = 'g'; in BOOST_AUTO_TEST_CASE()
56 set2.begin(), set2.begin() + 4, queue); in BOOST_AUTO_TEST_CASE()
Dtest_set_symmetric_difference.cpp30 bc::vector<bc::int_> set2(dataset2, dataset2 + 12, queue); in BOOST_AUTO_TEST_CASE() local
36 set2.begin(), set2.begin() + 12, in BOOST_AUTO_TEST_CASE()
50 bc::vector<bc::char_> set2(string2, string2 + 7, queue); in BOOST_AUTO_TEST_CASE() local
56 set2.begin(), set2.begin() + 7, in BOOST_AUTO_TEST_CASE()
Dtest_set_difference.cpp30 bc::vector<bc::int_> set2(dataset2, dataset2 + 12, queue); in BOOST_AUTO_TEST_CASE() local
36 set2.begin(), set2.begin() + 12, in BOOST_AUTO_TEST_CASE()
49 bc::vector<bc::char_> set2(string2, string2 + 7, queue); in BOOST_AUTO_TEST_CASE() local
55 set2.begin(), set2.begin() + 7, in BOOST_AUTO_TEST_CASE()
Dtest_set_intersection.cpp30 bc::vector<bc::int_> set2(dataset2, dataset2 + 12, queue); in BOOST_AUTO_TEST_CASE() local
36 set2.begin(), set2.begin() + 12, in BOOST_AUTO_TEST_CASE()
49 bc::vector<bc::char_> set2(string2, string2 + 7, queue); in BOOST_AUTO_TEST_CASE() local
55 set2.begin(), set2.begin() + 7, in BOOST_AUTO_TEST_CASE()
Dtest_set_union.cpp30 bc::vector<bc::int_> set2(dataset2, dataset2 + 12, queue); in BOOST_AUTO_TEST_CASE() local
36 set2.begin(), set2.begin() + 12, in BOOST_AUTO_TEST_CASE()
50 bc::vector<bc::char_> set2(string2, string2 + 7, queue); in BOOST_AUTO_TEST_CASE() local
56 set2.begin(), set2.begin() + 7, in BOOST_AUTO_TEST_CASE()
/third_party/boost/libs/unordered/test/unordered/
Dequality_tests.cpp35 boost::unordered_set<int, mod_compare, mod_compare> set1, set2; \
37 BOOST_PP_SEQ_FOR_EACH(UNORDERED_SET_INSERT, set2, seq2) \
38 BOOST_TEST(set1 op set2); \
43 boost::unordered_multiset<int, mod_compare, mod_compare> set1, set2; \
45 BOOST_PP_SEQ_FOR_EACH(UNORDERED_SET_INSERT, set2, seq2) \
46 BOOST_TEST(set1 op set2); \
139 set set2(0, mod_compare(true), mod_compare(true)); in UNORDERED_AUTO_TEST() local
140 BOOST_TEST(set1 == set2); in UNORDERED_AUTO_TEST()
142 set2.insert(2); in UNORDERED_AUTO_TEST()
143 BOOST_TEST(set1 != set2); in UNORDERED_AUTO_TEST()
[all …]
/third_party/musl/libc-test/src/functional/
Dsetjmp.c14 sigset_t set, set2; in main() local
32 sigprocmask(SIG_UNBLOCK, &set, &set2); in main()
33 oldset = set2; in main()
46 sigprocmask(SIG_SETMASK, &set, &set2); in main()
47 TEST(sigismember(&set2, SIGUSR1)==0, "siglongjmp failed to restore mask\n"); in main()
51 sigprocmask(SIG_UNBLOCK, &set, &set2); in main()
52 oldset = set2; in main()
61 sigprocmask(SIG_SETMASK, &set, &set2); in main()
62 TEST(sigismember(&set2, SIGUSR1)==1, "siglongjmp incorrectly restored mask\n"); in main()
/third_party/boost/tools/build/src/util/
Dset.jam37 # Returns the elements of set1 that are not in set2.
39 rule difference ( set1 * : set2 * )
44 if ! ( $(element) in $(set2) )
55 # Removes all the items appearing in both set1 & set2.
57 rule intersection ( set1 * : set2 * )
62 if $(v) in $(set2)
71 # Returns whether set1 & set2 contain the same elements. Note that this ignores
74 rule equal ( set1 * : set2 * )
76 if $(set1) in $(set2) && ( $(set2) in $(set1) )
/third_party/musl/libc-test/src/eabi/
D__sigtimedwait_time64.c41 sigset_t set2; in sigtimedwait_0100() local
45 sigemptyset(&set2); in sigtimedwait_0100()
46 sigaddset(&set2, SIGCHLD); in sigtimedwait_0100()
47 signal = sigtimedwait(&set2, &siginfo, &timeout); in sigtimedwait_0100()
70 sigset_t set2; in sigtimedwait_time64_0100() local
74 sigemptyset(&set2); in sigtimedwait_time64_0100()
75 sigaddset(&set2, SIGCHLD); in sigtimedwait_time64_0100()
76 signal = __sigtimedwait_time64(&set2, &siginfo, &timeout); in sigtimedwait_time64_0100()
/third_party/skia/third_party/externals/abseil-cpp/absl/container/
Dnode_hash_set_test.cc61 absl::node_hash_set<std::unique_ptr<int>, Hash, Eq> set1, set2; in TEST() local
65 set2.insert(absl::make_unique<int>(7)); in TEST()
66 set2.insert(absl::make_unique<int>(19)); in TEST()
69 EXPECT_THAT(set2, UnorderedElementsAre(Pointee(7), Pointee(19))); in TEST()
71 set1.merge(set2); in TEST()
74 EXPECT_THAT(set2, UnorderedElementsAre(Pointee(7))); in TEST()
81 auto insert_result = set2.insert(std::move(node)); in TEST()
88 EXPECT_THAT(set2, UnorderedElementsAre(Pointee(7))); in TEST()
97 insert_result = set2.insert(std::move(node)); in TEST()
102 EXPECT_THAT(set2, UnorderedElementsAre(Pointee(7), Pointee(23))); in TEST()
Dflat_hash_set_test.cc96 absl::flat_hash_set<std::unique_ptr<int>, Hash, Eq> set1, set2; in TEST() local
100 set2.insert(absl::make_unique<int>(7)); in TEST()
101 set2.insert(absl::make_unique<int>(19)); in TEST()
104 EXPECT_THAT(set2, UnorderedElementsAre(Pointee(7), Pointee(19))); in TEST()
106 set1.merge(set2); in TEST()
109 EXPECT_THAT(set2, UnorderedElementsAre(Pointee(7))); in TEST()
116 auto insert_result = set2.insert(std::move(node)); in TEST()
123 EXPECT_THAT(set2, UnorderedElementsAre(Pointee(7))); in TEST()
132 insert_result = set2.insert(std::move(node)); in TEST()
137 EXPECT_THAT(set2, UnorderedElementsAre(Pointee(7), Pointee(23))); in TEST()
/third_party/abseil-cpp/absl/container/
Dnode_hash_set_test.cc61 absl::node_hash_set<std::unique_ptr<int>, Hash, Eq> set1, set2; in TEST() local
65 set2.insert(absl::make_unique<int>(7)); in TEST()
66 set2.insert(absl::make_unique<int>(19)); in TEST()
69 EXPECT_THAT(set2, UnorderedElementsAre(Pointee(7), Pointee(19))); in TEST()
71 set1.merge(set2); in TEST()
74 EXPECT_THAT(set2, UnorderedElementsAre(Pointee(7))); in TEST()
81 auto insert_result = set2.insert(std::move(node)); in TEST()
88 EXPECT_THAT(set2, UnorderedElementsAre(Pointee(7))); in TEST()
97 insert_result = set2.insert(std::move(node)); in TEST()
102 EXPECT_THAT(set2, UnorderedElementsAre(Pointee(7), Pointee(23))); in TEST()
Dflat_hash_set_test.cc96 absl::flat_hash_set<std::unique_ptr<int>, Hash, Eq> set1, set2; in TEST() local
100 set2.insert(absl::make_unique<int>(7)); in TEST()
101 set2.insert(absl::make_unique<int>(19)); in TEST()
104 EXPECT_THAT(set2, UnorderedElementsAre(Pointee(7), Pointee(19))); in TEST()
106 set1.merge(set2); in TEST()
109 EXPECT_THAT(set2, UnorderedElementsAre(Pointee(7))); in TEST()
116 auto insert_result = set2.insert(std::move(node)); in TEST()
123 EXPECT_THAT(set2, UnorderedElementsAre(Pointee(7))); in TEST()
132 insert_result = set2.insert(std::move(node)); in TEST()
137 EXPECT_THAT(set2, UnorderedElementsAre(Pointee(7), Pointee(23))); in TEST()
/third_party/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 …]
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigprocmask/
D10-1.c20 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()
/third_party/protobuf/objectivec/Tests/
DGPBUnknownFieldSetTest.m75 GPBUnknownFieldSet *set2 = [[[GPBUnknownFieldSet alloc] init] autorelease];
76 XCTAssertEqualObjects(set1, set2);
77 XCTAssertEqual([set1 hash], [set2 hash]);
84 XCTAssertNotEqualObjects(set1, set2);
87 [set2 addField:field2];
88 XCTAssertEqualObjects(set1, set2);
89 XCTAssertEqual([set1 hash], [set2 hash]);
96 XCTAssertNotEqualObjects(set1, set2);
99 [set2 addField:field2];
100 XCTAssertEqualObjects(set1, set2);
[all …]
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_sigmask/
D10-1.c21 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()
/third_party/icu/icu4c/source/test/cintltst/
Dusettest.c84 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 …]

123456