/third_party/boost/libs/spirit/repository/test/qi/ |
D | keywords.cpp | 71 using boost::spirit::qi::int_; in main() 81 …r("c=1 a=a", kwd("a")[ '=' > char_] / kwd("b")[ '=' > char_] / kwd("c")['=' > int_], data, space)); in main() 86 …T( test("a=a c=1", kwd("a")[ '=' > char_] / kwd("b")[ '=' > char_] / kwd("c")['=' > int_], space)); in main() 88 …BOOST_TEST( test("", kwd("a")[ '=' > char_] / kwd("b")[ '=' > char_] / kwd("c")['=' > int_], space… in main() 91 …t("a=a b=b c=1", kwd("a",1)[ '=' > char_] / kwd("b")[ '=' > char_] / kwd("c")['=' > int_], space)); in main() 92 … b=c b=e c=1", kwd("a",1)[ '=' > char_] / kwd("b",2)[ '=' > char_] / kwd("c")['=' > int_], space)); in main() 93 …"b=c b=e c=1", kwd("a",1)[ '=' > char_] / kwd("b",2)[ '=' > char_] / kwd("c")['=' > int_], space)); in main() 96 … c=1", kwd("a",1,2)[ '=' > char_] / kwd("b",0,2)[ '=' > char_] / kwd("c",1,2)['=' > int_], space)); in main() 97 … c=1", kwd("a",1,2)[ '=' > char_] / kwd("b",0,1)[ '=' > char_] / kwd("c",1,2)['=' > int_], space)); in main() 98 … c=1", kwd("a",1,2)[ '=' > char_] / kwd("b",0,2)[ '=' > char_] / kwd("c",1,2)['=' > int_], space)); in main() [all …]
|
/third_party/boost/libs/hana/test/detail/ |
D | any_of.cpp | 18 static_assert(!hana::detail::any_of<is_even, hana::int_<1>>::value, ""); 19 static_assert(!hana::detail::any_of<is_even, hana::int_<1>, hana::int_<3>>::value, ""); 20 static_assert(!hana::detail::any_of<is_even, hana::int_<1>, hana::int_<3>, hana::int_<5>>::value, "… 21 static_assert(!hana::detail::any_of<is_even, hana::int_<1>, hana::int_<3>, hana::int_<5>, hana::int… 23 static_assert(hana::detail::any_of<is_even, hana::int_<0>>::value, ""); 24 static_assert(hana::detail::any_of<is_even, hana::int_<0>, hana::int_<2>>::value, ""); 25 static_assert(hana::detail::any_of<is_even, hana::int_<0>, hana::int_<2>, hana::int_<4>>::value, ""… 26 static_assert(hana::detail::any_of<is_even, hana::int_<0>, hana::int_<2>, hana::int_<4>, hana::int_… 28 static_assert(hana::detail::any_of<is_even, hana::int_<0>, hana::int_<1>>::value, ""); 29 static_assert(hana::detail::any_of<is_even, hana::int_<0>, hana::int_<1>, hana::int_<2>>::value, ""… [all …]
|
D | has_duplicates.cpp | 13 hana::int_<0> 17 hana::int_<0>, hana::int_<1> 21 hana::int_<0>, hana::int_<1>, hana::int_<2> 25 hana::int_<0>, hana::int_<0>, hana::int_<2> 29 hana::int_<0>, hana::int_<1>, hana::int_<0> 33 hana::int_<0>, hana::int_<1>, hana::int_<2>, hana::int_<1> 37 hana::int_<0>, hana::int_<1>, hana::int_<2>, hana::int_<2> 41 hana::int_<0>, hana::int_<1>, hana::int_<2>, hana::int_<1>, hana::int_<1> 45 hana::int_<0>, hana::int_<1>, hana::int_<2>, hana::int_<1>, hana::int_<2> 50 hana::int_<0>, hana::long_<0>, hana::int_<2>, hana::int_<3> [all …]
|
/third_party/boost/libs/compute/test/ |
D | test_copy_type_mismatch.cpp | 94 using compute::int_; in BOOST_AUTO_TEST_CASE() 98 bc::vector<int_> device_vector(4, context); in BOOST_AUTO_TEST_CASE() 103 int_, in BOOST_AUTO_TEST_CASE() 107 static_cast<int_>(6.1f), in BOOST_AUTO_TEST_CASE() 108 static_cast<int_>(-10.2f), in BOOST_AUTO_TEST_CASE() 109 static_cast<int_>(19.3f), in BOOST_AUTO_TEST_CASE() 110 static_cast<int_>(25.4f) in BOOST_AUTO_TEST_CASE() 119 using compute::int_; in BOOST_AUTO_TEST_CASE() 124 bc::vector<int_> device_vector(4, context); in BOOST_AUTO_TEST_CASE() 141 int_, in BOOST_AUTO_TEST_CASE() [all …]
|
D | test_adjacent_difference.cpp | 31 using compute::int_; in BOOST_AUTO_TEST_CASE() 33 compute::vector<int_> a(5, context); in BOOST_AUTO_TEST_CASE() 35 CHECK_RANGE_EQUAL(int_, 5, a, (0, 1, 2, 3, 4)); in BOOST_AUTO_TEST_CASE() 37 compute::vector<int_> b(5, context); in BOOST_AUTO_TEST_CASE() 38 compute::vector<int_>::iterator iter = in BOOST_AUTO_TEST_CASE() 41 CHECK_RANGE_EQUAL(int_, 5, b, (0, 1, 1, 1, 1)); in BOOST_AUTO_TEST_CASE() 43 int_ data[] = { 1, 9, 36, 48, 81 }; in BOOST_AUTO_TEST_CASE() 45 CHECK_RANGE_EQUAL(int_, 5, a, (1, 9, 36, 48, 81)); in BOOST_AUTO_TEST_CASE() 49 CHECK_RANGE_EQUAL(int_, 5, b, (1, 8, 27, 12, 33)); in BOOST_AUTO_TEST_CASE() 54 using compute::int_; in BOOST_AUTO_TEST_CASE() [all …]
|
D | test_stable_sort_by_key.cpp | 26 compute::vector<compute::int_> keys(size_t(0), compute::int_(0), queue); in BOOST_AUTO_TEST_CASE() 27 compute::vector<compute::int_> values(size_t(0), compute::int_(0), queue); in BOOST_AUTO_TEST_CASE() 45 compute::int_ keys_data[] = { 1 }; in BOOST_AUTO_TEST_CASE() 46 compute::int_ values_data[] = { 2 }; in BOOST_AUTO_TEST_CASE() 48 compute::vector<compute::int_> keys(keys_data, keys_data + 1, queue); in BOOST_AUTO_TEST_CASE() 49 compute::vector<compute::int_> values(values_data, values_data + 1, queue); in BOOST_AUTO_TEST_CASE() 62 compute::int_ keys_data[] = { 1, -1 }; in BOOST_AUTO_TEST_CASE() 63 compute::int_ values_data[] = { -10, 1 }; in BOOST_AUTO_TEST_CASE() 65 compute::vector<compute::int_> keys(keys_data, keys_data + 2, queue); in BOOST_AUTO_TEST_CASE() 66 compute::vector<compute::int_> values(values_data, values_data + 2, queue); in BOOST_AUTO_TEST_CASE() [all …]
|
/third_party/boost/boost/phoenix/scope/detail/cpp03/preprocessed/ |
D | dynamic_30.hpp | 31 typename expression::dynamic_member<mpl::int_<N>, self_type *>::type const 36 dynamic_member<mpl::int_<N>, self_type *>:: in init() 37 make(mpl::int_<N>(), scope); in init() 39 … typedef typename expression::dynamic_member< mpl::int_< 0> , self_type * >::type const member1; 65 typename expression::dynamic_member<mpl::int_<N>, self_type *>::type const 70 dynamic_member<mpl::int_<N>, self_type *>:: in init() 71 make(mpl::int_<N>(), scope); in init() 73 …ion::dynamic_member< mpl::int_< 0> , self_type * >::type const member1; typedef typename expressio… 99 typename expression::dynamic_member<mpl::int_<N>, self_type *>::type const 104 dynamic_member<mpl::int_<N>, self_type *>:: in init() [all …]
|
D | dynamic_50.hpp | 31 typename expression::dynamic_member<mpl::int_<N>, self_type *>::type const 36 dynamic_member<mpl::int_<N>, self_type *>:: in init() 37 make(mpl::int_<N>(), scope); in init() 39 … typedef typename expression::dynamic_member< mpl::int_< 0> , self_type * >::type const member1; 65 typename expression::dynamic_member<mpl::int_<N>, self_type *>::type const 70 dynamic_member<mpl::int_<N>, self_type *>:: in init() 71 make(mpl::int_<N>(), scope); in init() 73 …ion::dynamic_member< mpl::int_< 0> , self_type * >::type const member1; typedef typename expressio… 99 typename expression::dynamic_member<mpl::int_<N>, self_type *>::type const 104 dynamic_member<mpl::int_<N>, self_type *>:: in init() [all …]
|
D | dynamic_40.hpp | 31 typename expression::dynamic_member<mpl::int_<N>, self_type *>::type const 36 dynamic_member<mpl::int_<N>, self_type *>:: in init() 37 make(mpl::int_<N>(), scope); in init() 39 … typedef typename expression::dynamic_member< mpl::int_< 0> , self_type * >::type const member1; 65 typename expression::dynamic_member<mpl::int_<N>, self_type *>::type const 70 dynamic_member<mpl::int_<N>, self_type *>:: in init() 71 make(mpl::int_<N>(), scope); in init() 73 …ion::dynamic_member< mpl::int_< 0> , self_type * >::type const member1; typedef typename expressio… 99 typename expression::dynamic_member<mpl::int_<N>, self_type *>::type const 104 dynamic_member<mpl::int_<N>, self_type *>:: in init() [all …]
|
D | dynamic_20.hpp | 31 typename expression::dynamic_member<mpl::int_<N>, self_type *>::type const 36 dynamic_member<mpl::int_<N>, self_type *>:: in init() 37 make(mpl::int_<N>(), scope); in init() 39 … typedef typename expression::dynamic_member< mpl::int_< 0> , self_type * >::type const member1; 65 typename expression::dynamic_member<mpl::int_<N>, self_type *>::type const 70 dynamic_member<mpl::int_<N>, self_type *>:: in init() 71 make(mpl::int_<N>(), scope); in init() 73 …ion::dynamic_member< mpl::int_< 0> , self_type * >::type const member1; typedef typename expressio… 99 typename expression::dynamic_member<mpl::int_<N>, self_type *>::type const 104 dynamic_member<mpl::int_<N>, self_type *>:: in init() [all …]
|
D | dynamic_10.hpp | 31 typename expression::dynamic_member<mpl::int_<N>, self_type *>::type const 36 dynamic_member<mpl::int_<N>, self_type *>:: in init() 37 make(mpl::int_<N>(), scope); in init() 39 … typedef typename expression::dynamic_member< mpl::int_< 0> , self_type * >::type const member1; 65 typename expression::dynamic_member<mpl::int_<N>, self_type *>::type const 70 dynamic_member<mpl::int_<N>, self_type *>:: in init() 71 make(mpl::int_<N>(), scope); in init() 73 …ion::dynamic_member< mpl::int_< 0> , self_type * >::type const member1; typedef typename expressio… 99 typename expression::dynamic_member<mpl::int_<N>, self_type *>::type const 104 dynamic_member<mpl::int_<N>, self_type *>:: in init() [all …]
|
/third_party/boost/libs/spirit/test/karma/ |
D | alternative1.cpp | 39 BOOST_TEST(test("10", char_ | int_, v)); in main() 40 BOOST_TEST(test("10", int_ | char_, v)); in main() 41 BOOST_TEST(test("a", lit('a') | char_ | int_, v)); in main() 42 BOOST_TEST(test("a", char_ | lit('a') | int_, v)); in main() 43 BOOST_TEST(test("10", int_ | lit('a') | char_, v)); in main() 46 BOOST_TEST(test("c", char_ | int_, v)); in main() 47 BOOST_TEST(test("a", lit('a') | char_ | int_, v)); in main() 48 BOOST_TEST(test("c", char_ | lit('a') | int_, v)); in main() 49 BOOST_TEST(test("a", int_ | lit('a') | char_, v)); in main() 50 BOOST_TEST(test("c", int_ | char_ | lit('a'), v)); in main() [all …]
|
D | actions.cpp | 58 using boost::spirit::karma::int_; in main() 60 BOOST_TEST(test("42", int_[&read1])); in main() 61 BOOST_TEST(test_delimited("42 ", int_[&read1], ' ')); in main() 62 BOOST_TEST(test("42", int_[&read2])); in main() 63 BOOST_TEST(test_delimited("42 ", int_[&read2], ' ')); in main() 64 BOOST_TEST(test("42", int_[&read3])); in main() 65 BOOST_TEST(test_delimited("42 ", int_[&read3], ' ')); in main() 66 BOOST_TEST(!test("42", int_[&read3_fail])); in main() 67 BOOST_TEST(!test_delimited("42 ", int_[&read3_fail], ' ')); in main() 71 BOOST_TEST(test("42", int_[read_action()])); in main() [all …]
|
D | int1.cpp | 41 BOOST_TEST(test("0", int_, 0)); in main() 42 BOOST_TEST(test("123", int_, 123)); in main() 43 BOOST_TEST(test("-123", int_, -123)); in main() 45 BOOST_TEST(test_delimited("0 ", int_, 0, char_(' '))); in main() 46 BOOST_TEST(test_delimited("123 ", int_, 123, char_(' '))); in main() 47 BOOST_TEST(test_delimited("-123 ", int_, -123, char_(' '))); in main() 49 BOOST_TEST(test("0", lower[int_], 0)); in main() 50 BOOST_TEST(test("123", lower[int_], 123)); in main() 51 BOOST_TEST(test("-123", lower[int_], -123)); in main() 53 BOOST_TEST(test_delimited("0 ", lower[int_], 0, char_(' '))); in main() [all …]
|
D | columns.cpp | 30 using karma::int_; in main() 36 BOOST_TEST(test("01234\n56789\n10\n", columns[*int_], v)); in main() 37 BOOST_TEST(test_delimited("0 1 2 3 4 \n5 6 7 8 9 \n10 \n", columns[*int_] in main() 43 using karma::int_; in main() 49 BOOST_TEST(test("012\n345\n678\n910\n", columns(3)[*int_], v)); in main() 51 , columns(3)[*int_], v, karma::space)); in main() 56 using karma::int_; in main() 64 BOOST_TEST(test("012\n345\n678\n910\n", columns(ref(count))[*int_], v)); in main() 66 , columns(val(ref(count)))[*int_], v, karma::space)); in main() 71 using karma::int_; in main() [all …]
|
D | alternative2.cpp | 48 BOOST_TEST(test_delimited("10 ", char_ | int_, v, char_(' '))); in main() 49 BOOST_TEST(test_delimited("10 ", int_ | char_, v, char_(' '))); in main() 50 BOOST_TEST(test_delimited("a ", lit('a') | char_ | int_, v, char_(' '))); in main() 51 BOOST_TEST(test_delimited("a ", char_ | lit('a') | int_, v, char_(' '))); in main() 52 BOOST_TEST(test_delimited("10 ", int_ | lit('a') | char_, v, char_(' '))); in main() 55 BOOST_TEST(test_delimited("c ", char_ | int_, v, char_(' '))); in main() 56 BOOST_TEST(test_delimited("a ", lit('a') | char_ | int_, v, char_(' '))); in main() 57 BOOST_TEST(test_delimited("c ", char_ | lit('a') | int_, v, char_(' '))); in main() 58 BOOST_TEST(test_delimited("a ", int_ | lit('a') | char_, v, char_(' '))); in main() 59 BOOST_TEST(test_delimited("c ", int_ | char_ | lit('a'), v, char_(' '))); in main() [all …]
|
/third_party/boost/libs/intrusive/test/ |
D | int_holder.hpp | 23 : int_(value) in int_holder() 27 { int_ = value; return *this; } in operator =() 30 { return int_; } in int_value() 33 { return l.int_ == r.int_; } in operator ==() 36 { return l.int_ != r.int_; } in operator !=() 39 { return l.int_ < r.int_; } in operator <() 42 { return l.int_ > r.int_; } in operator >() 45 { return l.int_ <= r.int_; } in operator <=() 48 { return l.int_ >= r.int_; } in operator >=() 52 { return l == r.int_; } in operator ==() [all …]
|
/third_party/boost/boost/multiprecision/detail/ |
D | bitscan.hpp | 45 inline BOOST_MP_CXX14_CONSTEXPR unsigned find_lsb(Unsigned mask, const mpl::int_<0>&) in find_lsb() 51 inline BOOST_MP_CXX14_CONSTEXPR unsigned find_msb(Unsigned mask, const mpl::int_<0>&) in find_msb() 60 BOOST_FORCEINLINE unsigned find_lsb(unsigned long mask, const mpl::int_<1>&) in find_lsb() 67 BOOST_FORCEINLINE unsigned find_msb(unsigned long mask, const mpl::int_<1>&) in find_msb() 77 BOOST_FORCEINLINE unsigned find_lsb(unsigned __int64 mask, const mpl::int_<2>&) in find_lsb() 84 BOOST_FORCEINLINE unsigned find_msb(Unsigned mask, const mpl::int_<2>&) in find_msb() 98 mpl::int_<1>, in find_lsb() 102 mpl::int_<2>, in find_lsb() 103 mpl::int_<0> >::type in find_lsb() 105 mpl::int_<0> in find_lsb() [all …]
|
/third_party/boost/libs/spirit/test/qi/ |
D | int3.cpp | 23 using boost::spirit::int_; in main() 26 BOOST_TEST(test("123456", int_(123456))); in main() 27 BOOST_TEST(!test("123456", int_(654321))); in main() 28 BOOST_TEST(test_attr("123456", int_(123456), i)); in main() 30 BOOST_TEST(!test_attr("123456", int_(654321), i)); in main() 32 BOOST_TEST(test("+123456", int_(123456))); in main() 33 BOOST_TEST(!test("+123456", int_(654321))); in main() 34 BOOST_TEST(test_attr("+123456", int_(123456), i)); in main() 36 BOOST_TEST(!test_attr("+123456", int_(654321), i)); in main() 38 BOOST_TEST(test("-123456", int_(-123456))); in main() [all …]
|
D | int1.cpp | 22 using boost::spirit::int_; in main() 25 BOOST_TEST(test("123456", int_)); in main() 26 BOOST_TEST(test_attr("123456", int_, i)); in main() 29 BOOST_TEST(test("+123456", int_)); in main() 30 BOOST_TEST(test_attr("+123456", int_, i)); in main() 33 BOOST_TEST(test("-123456", int_)); in main() 34 BOOST_TEST(test_attr("-123456", int_, i)); in main() 37 BOOST_TEST(test(max_int, int_)); in main() 38 BOOST_TEST(test_attr(max_int, int_, i)); in main() 41 BOOST_TEST(test(min_int, int_)); in main() [all …]
|
/third_party/boost/libs/spirit/test/x3/ |
D | int1.cpp | 24 using boost::spirit::x3::int_; in main() 27 BOOST_SPIRIT_ASSERT_CONSTEXPR_CTORS(int_); in main() 29 BOOST_TEST(test("123456", int_)); in main() 30 BOOST_TEST(test_attr("123456", int_, i)); in main() 33 BOOST_TEST(test("+123456", int_)); in main() 34 BOOST_TEST(test_attr("+123456", int_, i)); in main() 37 BOOST_TEST(test("-123456", int_)); in main() 38 BOOST_TEST(test_attr("-123456", int_, i)); in main() 41 BOOST_TEST(test(max_int, int_)); in main() 42 BOOST_TEST(test_attr(max_int, int_, i)); in main() [all …]
|
/third_party/boost/libs/numeric/odeint/test/ |
D | resizing.cpp | 80 mpl::vector< euler_manual_type , mpl::int_<1> , mpl::int_<0> > , 81 mpl::vector< euler_initially_type , mpl::int_<1> , mpl::int_<1> > , 82 mpl::vector< euler_always_type , mpl::int_<1> , mpl::int_<3> > , 83 mpl::vector< rk4_manual_type , mpl::int_<5> , mpl::int_<0> > , 84 mpl::vector< rk4_initially_type , mpl::int_<5> , mpl::int_<1> > , 85 mpl::vector< rk4_always_type , mpl::int_<5> , mpl::int_<3> > , 86 mpl::vector< rk4_gen_manual_type , mpl::int_<5> , mpl::int_<0> > , 87 mpl::vector< rk4_gen_initially_type , mpl::int_<5> , mpl::int_<1> > , 88 mpl::vector< rk4_gen_always_type , mpl::int_<5> , mpl::int_<3> > 94 typedef typename mpl::at< T , mpl::int_< 0 > >::type stepper_type; in BOOST_AUTO_TEST_CASE_TEMPLATE() [all …]
|
/third_party/boost/libs/mpl/test/ |
D | min_max.cpp | 22 MPL_ASSERT(( is_same< mpl::min< int_<5>,int_<7> >::type,int_<5> > )); in MPL_TEST_CASE() 23 MPL_ASSERT(( is_same< mpl::max< int_<5>,int_<7> >::type,int_<7> > )); in MPL_TEST_CASE() 25 MPL_ASSERT(( is_same< mpl::min< int_<-5>,int_<-7> >::type,int_<-7> > )); in MPL_TEST_CASE() 26 MPL_ASSERT(( is_same< mpl::max< int_<-5>,int_<-7> >::type,int_<-5> > )); in MPL_TEST_CASE()
|
/third_party/boost/boost/mpl/aux_/ |
D | largest_int.hpp | 26 template<> struct integral_rank<bool> : int_<1> {}; 27 template<> struct integral_rank<signed char> : int_<2> {}; 28 template<> struct integral_rank<char> : int_<3> {}; 29 template<> struct integral_rank<unsigned char> : int_<4> {}; 31 template<> struct integral_rank<wchar_t> : int_<5> {}; 33 template<> struct integral_rank<short> : int_<6> {}; 34 template<> struct integral_rank<unsigned short> : int_<7> {}; 35 template<> struct integral_rank<int> : int_<8> {}; 36 template<> struct integral_rank<unsigned int> : int_<9> {}; 37 template<> struct integral_rank<long> : int_<10> {}; [all …]
|
/third_party/boost/libs/metaparse/test/ |
D | next_digit.cpp | 19 using boost::mpl::int_; in BOOST_METAPARSE_TEST_CASE() 21 BOOST_MPL_ASSERT((equal_to<int_< 0>, next_digit::apply<int_<0>, int_<0> > >)); in BOOST_METAPARSE_TEST_CASE() 22 BOOST_MPL_ASSERT((equal_to<int_<10>, next_digit::apply<int_<1>, int_<0> > >)); in BOOST_METAPARSE_TEST_CASE() 23 BOOST_MPL_ASSERT((equal_to<int_<13>, next_digit::apply<int_<1>, int_<3> > >)); in BOOST_METAPARSE_TEST_CASE()
|