Searched refs:var_t (Results 1 – 9 of 9) sorted by relevance
/third_party/boost/libs/variant/test/ |
D | variant_comparison_test.cpp | 127 typedef boost::variant<int, std::string> var_t; in main() typedef 129 var_t var1(3); in main() 130 var_t var2(5); in main() 131 var_t var3("goodbye"); in main() 132 var_t var4("hello"); in main() 135 assert_equality_comparable(var_t(var1), var_t(var1), var_t(var1)); in main() 141 std::vector<var_t> vec; in main()
|
D | variant_polymorphic_get_test.cpp | 41 typedef boost::variant<int, base, derived1, derived2> var_t; in main() typedef 43 var_t var1; in main() 47 check_throws<base, const var_t>(var1); in main() 55 var_t var2 = d; in main() 63 check_throws<base, const var_t>(var2); in main()
|
D | variant_visit_test.cpp | 119 typedef boost::variant<udt1,udt2> var_t; in main() typedef 121 var_t var1(u1); in main() 123 var_t var2(u2); in main() 125 const var_t& cvar1 = var1; in main() 126 const var_t& cvar2 = var2; in main()
|
D | variant_rvalue_get_with_ampersand_test.cpp | 26 typedef boost::variant<int, std::string> var_t; in run() typedef 29 var_t v = s; in run()
|
D | issue53.cpp | 25 typedef boost::variant<spanac, ceapa> var_t; typedef 40 var_t get(int k) { in get()
|
D | variant_get_test.cpp | 46 typedef boost::variant<int, base, derived1, derived2, std::string> var_t; typedef 190 var_t v; in get_test() 193 var_t(base()).swap(v); in get_test() 196 var_t(derived1()).swap(v); in get_test() 199 var_t(derived2()).swap(v); in get_test() 202 var_t(std::string("Hello")).swap(v); in get_test() 354 BOOST_TEST((holds_element<var_t, int>::value)); in check_that_does_not_exist() 358 check_that_does_not_exist_impl<var_t>(); in check_that_does_not_exist()
|
/third_party/boost/libs/variant/perf/ |
D | move_perf.cpp | 41 typedef boost::variant<int, str_t, float> var_t; in do_test() typedef 56 std::vector<var_t> data_from, data_to; in do_test() 126 data_to.resize(c_run_count, var_t(0)); in do_test() 141 data_to.resize(c_run_count, var_t(0)); in do_test() 157 data_from.resize(c_run_count, var_t(0)); in do_test() 173 data_from.resize(c_run_count, var_t(0)); in do_test() 193 data_to.resize(c_run_count, var_t(0)); in do_test() 209 data_to.resize(c_run_count, var_t(0)); in do_test()
|
/third_party/mindspore/tests/ut/cpp/parallel/ |
D | step_parallel_test.cc | 187 ValueTuplePtr var_t = std::make_shared<ValueTuple>(elements_t); in Make_Manager() local 188 prim1->set_attr("strategy", var_t); in Make_Manager()
|
/third_party/selinux/libsepol/tests/policies/test-cond/ |
D | refpolicy-base.conf | 863 type var_t, file_type, mountpoint; 1303 allow var_t fs_t:filesystem associate; 1304 allow var_t noxattrfs:filesystem associate;
|