/third_party/boost/boost/wave/grammars/ |
D | cpp_chlit_grammar.hpp | 157 namespace phx = phoenix; in definition() 169 = eps_p[self.value = phx::val(0), self.long_lit = phx::val(false)] in definition() 170 >> !ch_p('L')[self.long_lit = phx::val(true)] in definition() 177 phx::var(self.overflow), phx::val(0x07)) in definition() 182 phx::var(self.overflow), phx::val(0x08)) in definition() 187 phx::var(self.overflow), phx::val(0x09)) in definition() 192 phx::var(self.overflow), phx::val(0x0a)) in definition() 197 phx::var(self.overflow), phx::val(0x0b)) in definition() 202 phx::var(self.overflow), phx::val(0x0c)) in definition() 207 phx::var(self.overflow), phx::val(0x0d)) in definition() [all …]
|
D | cpp_intlit_grammar.hpp | 86 namespace phx = phoenix; in definition() 95 (ch_p('u')[phx::var(self.is_unsigned) = true] || ch_p('l')) in definition() 96 | (ch_p('l') || ch_p('u')[phx::var(self.is_unsigned) = true]) in definition() 104 self.val = phx::arg1, in definition() 105 phx::var(self.is_unsigned) = true in definition() 112 self.val = phx::arg1, in definition() 113 phx::var(self.is_unsigned) = true in definition() 120 self.val = phx::arg1 in definition()
|
/third_party/boost/libs/phoenix/test/container/ |
D | container_tests.hpp | 35 namespace phx = boost::phoenix; 73 using phx::arg_names::arg1; in test_assign() 80 phx::assign(arg1, count, value)(c); in test_assign() 94 phx::assign(const_c, count, value); in test_assign() 101 using phx::arg_names::arg1; in test_assign2() 102 using phx::arg_names::arg2; in test_assign2() 103 using phx::arg_names::arg3; in test_assign2() 111 phx::assign(arg1, arg2, arg3)(c, first, last); in test_assign2() 122 phx::assign(const_c, first, second); in test_assign2() 129 using phx::arg_names::arg1; in test_at() [all …]
|
/third_party/boost/libs/phoenix/test/boost_bind_compatibility/ |
D | bind_interoperation_test.cpp | 66 namespace phx = boost::phoenix; 67 using phx::placeholders::arg1; 68 using phx::placeholders::arg2; 79 BOOST_TEST( phx::bind( &Y::m, _1 )( y ) == 17041 ); in member_test() 80 BOOST_TEST( phx::bind( &Y::m, _1 )( py ) == 17041 ); in member_test() 82 BOOST_TEST( phx::bind( &Y::m, arg1 )( y ) == 17041 ); in member_test() 83 BOOST_TEST( phx::bind( &Y::m, arg1 )( py ) == 17041 ); in member_test() 89 BOOST_TEST( phx::bind( &Y::m, y )() == 17041 ); in member_test() 90 BOOST_TEST( phx::bind( &Y::m, py )() == 17041 ); in member_test() 91 BOOST_TEST( phx::bind( &Y::m, ref(y) )() == 17041 ); in member_test() [all …]
|
/third_party/boost/libs/phoenix/example/ |
D | adapted_echo_server.cpp | 16 namespace phx = boost::phoenix; 31 typedef phx::expression::local_variable<struct action_key>::type action; 45 phx::lambda_type lambda; in main() 46 phx::arg_names::_1_type _1; in main() 57 phx::expression::argument<1>::type _error; in main() 58 phx::expression::argument<2>::type _length; in main() 71 , accept(ref(acceptor), ref(socket), phx::ref(accept_handler)) in main() 81 …read(ref(socket), buffer(ref(buf), max_length), boost::asio::transfer_at_least(1), phx::ref(read_h… in main() 85 phx::expression::argument<1>::type _socket; in main() 86 phx::expression::argument<2>::type _buf; in main() [all …]
|
D | bind_goose.cpp | 94 namespace phx = boost::phoenix; 95 using phx::placeholders::arg1; 96 using phx::placeholders::arg2; 105 arg1 == phx::cref( value ) ), in delete_value3() 116 list.erase( phx::remove_if( arg1, arg2 ) in delete_value4() 117 ( list, arg1 == phx::cref( value ) ), in delete_value4()
|
/third_party/boost/libs/spirit/test/qi/ |
D | match_manip1.cpp | 24 namespace phx = boost::phoenix; in main() 29 char_[phx::ref(c) = _1] in main() 34 match(char_[phx::ref(c) = _1]) in main() 39 phrase_match(char_[phx::ref(c) = _1], space) in main() 64 char_stream[phx::ref(c) = _1] in main() 69 match(char_stream[phx::ref(c) = _1]) in main() 74 phrase_match(char_stream[phx::ref(c) = _1], space) in main() 79 int_stream[phx::ref(i) = _1] in main() 84 match(int_stream[phx::ref(i) = _1]) in main() 89 phrase_match(int_stream[phx::ref(i) = _1], space) in main()
|
D | match_manip2.cpp | 24 namespace phx = boost::phoenix; in main() 29 char_[phx::ref(a) = _1] >> char_[phx::ref(b) = _1] in main() 34 match(char_[phx::ref(a) = _1] >> char_[phx::ref(b) = _1]) in main() 39 phrase_match(char_[phx::ref(a) = _1] >> char_[phx::ref(b) = _1], space) in main() 56 char_[phx::ref(a) = _1] >> char_[phx::ref(b) = _1] >> char_[phx::ref(c) = _1] in main()
|
D | rule3.cpp | 43 namespace phx = boost::phoenix; in main() 61 BOOST_TEST(test("x", a[phx::ref(ch) = _1])); in main() 71 BOOST_TEST(test("x", a[phx::ref(ch) = _1])); in main() 84 BOOST_TEST(test("x", a(phx::val(1))[phx::ref(ch) = _1])); in main() 102 BOOST_TEST(test("x", a(phx::ref(ch)))); in main() 118 BOOST_TEST(test("ab", a(phx::val(1)))); in main() 119 BOOST_TEST(test("xy", a(phx::val(1)))); in main() 120 BOOST_TEST(!test("ax", a(phx::val(1)))); in main()
|
D | rule2.cpp | 43 namespace phx = boost::phoenix; in main() 98 BOOST_TEST(test("x", a[phx::ref(ch) = _1])); in main() 111 BOOST_TEST(test("x", a[phx::ref(ch) = _1])); in main() 119 BOOST_TEST(test("x", a[phx::ref(ch) = _1])); in main() 136 BOOST_TEST(test("a,b,c,d,e,f", r[phx::ref(s) = _1])); in main() 141 BOOST_TEST(test("a,b,c,d,e,f", r[phx::ref(s) = _1])); in main() 146 BOOST_TEST(test("abcdef", r[phx::ref(s) = _1])); in main() 151 BOOST_TEST(test("abcdef", r[phx::ref(s) = _1])); in main()
|
D | symbols1.cpp | 174 namespace phx = boost::phoenix; in main() 188 BOOST_TEST((test("Joel", sym[phx::ref(i) = _1]))); in main() 190 BOOST_TEST((test("Ruby", sym[phx::ref(i) = _1]))); in main() 192 BOOST_TEST((test("Tenji", sym[phx::ref(i) = _1]))); in main() 194 BOOST_TEST((test("Tutit", sym[phx::ref(i) = _1]))); in main() 196 BOOST_TEST((test("Kim", sym[phx::ref(i) = _1]))); in main() 198 BOOST_TEST((test("Joey", sym[phx::ref(i) = _1]))); in main() 200 BOOST_TEST((!test("XXX", sym[phx::ref(i) = _1]))); in main()
|
D | lit1.cpp | 86 namespace phx = boost::phoenix; in main() 88 BOOST_TEST((test("x", string(phx::val("x"))))); in main() 91 BOOST_TEST(test("x", string(phx::val("x"))[phx::ref(str) = _1])); in main()
|
D | plus.cpp | 107 namespace phx = boost::phoenix; in main() 110 BOOST_TEST(test("bbbb", (+char_)[phx::ref(v) = _1]) && 4 == v.size() && in main() 115 namespace phx = boost::phoenix; in main() 118 BOOST_TEST(test("1 2 3", (+int_)[phx::ref(v) = _1], space) && 3 == v.size() && in main()
|
D | debug.cpp | 44 namespace phx = boost::phoenix; in main() 113 << phx::val("Error! Expecting: ") in main() 115 << phx::val(", got: \"") in main() 117 << phx::val("\"") in main()
|
/third_party/boost/libs/phoenix/test/function/ |
D | lazy_list_tests.cpp | 25 namespace phx = boost::phoenix; in main() 28 using phx::null; in main() 29 using phx::list; in main() 30 using phx::head; in main() 31 using phx::tail; in main() 32 using phx::cons; in main() 33 using phx::cat; in main() 34 using phx::take; in main() 35 using phx::NIL; in main()
|
D | lazy_make_pair_tests.cpp | 92 namespace phx = boost::phoenix; in main() 97 std::pair<int,int> ab1 = phx::make_pair(a,b)(); in main() 100 std::pair<int,int> ab2 = phx::make_pair(arg1,b)(a); in main() 103 std::pair<int,int> ab3 = phx::make_pair(arg1,arg2)(a,b); in main()
|
/third_party/boost/libs/spirit/test/karma/ |
D | lit.cpp | 168 namespace phx = boost::phoenix; in main() 172 BOOST_TEST(test("abc", string[_1 = phx::ref(str)])); in main() 173 BOOST_TEST(test_delimited("abc ", string[_1 = phx::ref(str)], space)); in main() 177 namespace phx = boost::phoenix; in main() 181 BOOST_TEST((test("abc", lit(phx::val(s))))); in main() 182 BOOST_TEST((test("abc", string(phx::val(s))))); in main() 184 BOOST_TEST(test("abc", string(phx::val(s)), "abc")); in main() 185 BOOST_TEST(!test("", string(phx::val(s)), "abcd")); in main() 186 BOOST_TEST(!test("", string(phx::val(s)), "abc")); in main() 189 BOOST_TEST((test(L"abc", lit(phx::ref(ws))))); in main() [all …]
|
D | lazy.cpp | 29 namespace phx = boost::phoenix; in main() 32 BOOST_TEST(test("123", karma::lazy(phx::val(int_)), 123)); in main() 37 BOOST_TEST(test("123", karma::lazy(phx::val(int_))[_1 = phx::ref(result)])); in main()
|
D | regression_semantic_action_attribute.cpp | 21 namespace phx = boost::phoenix; 28 BOOST_TEST(test("16909060", int_[ _1 = phx::val(0x01020304) ])); in main() 33 BOOST_TEST(test("16909060", int_[ _1 = phx::val(0x01020304) ], char_value)); in main()
|
/third_party/boost/libs/spirit/repository/test/qi/ |
D | subrule.cpp | 45 namespace phx = boost::phoenix; in main() 176 BOOST_TEST(test("x", a[phx::ref(ch) = _1])); in main() 191 BOOST_TEST(test("x", a[phx::ref(ch) = _1])); in main() 210 BOOST_TEST(test("a,b,c,d,e,f", r[phx::ref(s) = _1])); in main() 215 )[phx::ref(s) = _1])); in main() 238 BOOST_TEST(test("x", r[phx::ref(ch) = _1])); in main() 255 BOOST_TEST(test("x", a(phx::val(1))[phx::ref(ch) = _1])); in main() 292 BOOST_TEST(test("x", (sr = alpha[_r1 = _1])(phx::ref(ch)))); in main() 297 BOOST_TEST(test("y", a(phx::ref(ch)))); in main() 319 BOOST_TEST(test("ab", a(phx::val(1)))); in main() [all …]
|
/third_party/boost/libs/phoenix/test/statement/ |
D | exceptions.cpp | 71 namespace phx = boost::phoenix; in main() 127 , phx::ref(what) = phx::bind(&exception::what, _e) in main() 144 , phx::ref(what) = phx::bind(&exception::what, _e) in main() 173 , phx::ref(what) = phx::bind(&exception::what, _e) in main()
|
/third_party/boost/libs/spirit/repository/example/qi/ |
D | derived.cpp | 129 namespace phx=boost::phoenix; in main() 132 … kwd("derived1")[ ('=' > parse_string > int_ ) [phx::push_back(_val,phx::new_<derived1>(_1,_2))] ] in main() 133 …/ kwd("derived2")[ ('=' > parse_string > int_ ) [phx::push_back(_val,phx::new_<derived2>(_1,_2))]] in main() 134 …/ kwd("derived3")[ ('=' > parse_string > int_ > double_) [phx::push_back(_val,phx::new_<derived3>… in main() 156 std::for_each(result.begin(),result.end(),phx::delete_(arg1)); in main()
|
/third_party/boost/libs/phoenix/test/regression/ |
D | bug5875.cpp | 13 namespace phx = boost::phoenix; 17 std::vector<int> v = phx::let(phx::local_names::_a = std::vector<int>(3)) in main() 19 phx::local_names::_a in main()
|
/third_party/boost/libs/phoenix/test/scope/ |
D | bug3289.cpp | 17 namespace phx = boost::phoenix; 28 boost::phoenix::generate(phx::ref(u), lambda(_a=*phx::ref(it)++)[_a*2])(); in main() 32 BOOST_TEST(lambda(_a=*phx::ref(it)++)[_a*2]()() == 4); in main()
|
/third_party/boost/libs/spirit/workbench/qi/ |
D | keywords.cpp | 227 namespace phx = boost::phoenix; in tst_parser() 244 #define generateRules(r, data, i, elem) BOOST_PP_CAT(rule,i) = int_[phx::at_c<i+1>(*phx::ref(curren… in tst_parser() 256 … quoted_string [at_c<0>(_val)=_1][phx::ref(currentObj)=&_val] in tst_parser() 264 … quoted_string [at_c<0>(_val)=_1][phx::ref(currentObj)=&_val] in tst_parser() 272 … quoted_string [at_c<0>(_val)=_1][phx::ref(currentObj)=&_val] in tst_parser() 305 namespace phx = boost::phoenix; in tst_map_parser() 322 #define generateRules3(r, data, i, elem) BOOST_PP_CAT(rule,i) = int_[phx::at_c<i+1>(*phx::ref(curre… in tst_map_parser() 335 … quoted_string [at_c<0>(_val)=_1][phx::ref(currentObj)=&_val] in tst_map_parser() 343 … quoted_string [at_c<0>(_val)=_1][phx::ref(currentObj)=&_val] in tst_map_parser() 351 … quoted_string [at_c<0>(_val)=_1][phx::ref(currentObj)=&_val] in tst_map_parser()
|