Home
last modified time | relevance | path

Searched refs:as_expr (Results 1 – 25 of 64) sorted by relevance

123

/third_party/boost/libs/proto/test/
Dmatches.cpp123 proto::assert_matches< proto::_ >( proto::as_expr(1) ); in test_matches()
127 proto::assert_matches< proto::terminal<int> >( proto::as_expr(1) ); in test_matches()
131 proto::assert_matches_not< proto::terminal<int> >( proto::as_expr('a') ); in test_matches()
135 proto::assert_matches< proto::terminal<proto::convertible_to<int> > >( proto::as_expr('a') ); in test_matches()
139 proto::assert_matches_not< proto::terminal<int> >( proto::as_expr((int_convertible())) ); in test_matches()
143 …proto::assert_matches< proto::terminal<proto::convertible_to<int> > >( proto::as_expr((int_convert… in test_matches()
164 proto::assert_matches< proto::terminal<char const *> >( proto::as_expr("hello") ); in test_matches()
168 proto::assert_matches< proto::terminal<char const[6]> >( proto::as_expr("hello") ); in test_matches()
172 proto::assert_matches< proto::terminal<char [6]> >( proto::as_expr("hello") ); in test_matches()
176 proto::assert_matches< proto::terminal<char const[proto::N]> >( proto::as_expr("hello") ); in test_matches()
[all …]
Dmake_expr.cpp307 >::type t1 = ByVal()(proto::as_expr(1) + 1); in test_make_expr_transform()
312 >::type t2 = ByRef()(proto::as_expr(1) + 1); in test_make_expr_transform()
317 >::type t3 = Minus()(proto::as_expr(1) + 1); in test_make_expr_transform()
322 >::type t4 = Square()(proto::as_expr(1) + 1); in test_make_expr_transform()
/third_party/boost/boost/proto/
Dtraits.hpp267 struct as_expr struct
269 typedef typename Domain::template as_expr<T>::result_type type; argument
631 struct as_expr struct
641 typedef typename Domain::template as_expr<T>::result_type type;
647 typedef typename Domain::template as_expr<T>::result_type type;
656 typename add_const<typename result<as_expr(T &)>::type>::type
659 return typename Domain::template as_expr<T>()(t); in operator ()()
666 typename add_const<typename result<as_expr(T const &)>::type>::type
669 return typename Domain::template as_expr<T const>()(t); in operator ()()
675 typename add_const<typename result<as_expr(T (&)[N_])>::type>::type
[all …]
Ddomain.hpp132 struct as_expr struct
133 : detail::as_expr<
145 struct as_expr<T, typename T::proto_is_expr_, proto::callable> struct
/third_party/boost/boost/yap/detail/
Dtransform.hpp88 return as_expr<minimal_expr>( in operator ()()
128 as_expr<minimal_expr>(static_cast<T &&>(t)), *this); \
144 as_expr<minimal_expr>(static_cast<T &&>(t)), *this)++; in operator ()()
150 as_expr<minimal_expr>(static_cast<T &&>(t)), *this)--; in operator ()()
159 return transform(as_expr<minimal_expr>(static_cast<T &&>(t)), *this) \
160 op transform(as_expr<minimal_expr>(static_cast<U &&>(u)), *this); \
188 as_expr<minimal_expr>(static_cast<T &&>(t)), *this), in operator ()()
190 as_expr<minimal_expr>(static_cast<U &&>(u)), *this); in operator ()()
213 as_expr<minimal_expr>(static_cast<T &&>(t)), *this)[transform( in operator ()()
214 as_expr<minimal_expr>(static_cast<U &&>(u)), *this)]; in operator ()()
[all …]
/third_party/mbedtls/scripts/mbedtls_dev/
Dpsa_storage.py84 def as_expr(thing: Exprable) -> Expr: function
115 self.lifetime = as_expr(lifetime) #type: Expr
116 self.type = as_expr(type) #type: Expr
118 self.usage = as_expr(usage) #type: Expr
119 self.alg = as_expr(alg) #type: Expr
120 self.alg2 = as_expr(alg2) #type: Expr
/third_party/boost/boost/proto/detail/
Das_expr.hpp43 struct as_expr;
47 struct as_expr<T, Generator, false> struct
62 struct as_expr<T, Generator, true> struct
77 struct as_expr<T, proto::default_generator, false> struct
91 struct as_expr<T, proto::default_generator, true> struct
/third_party/boost/libs/yap/example/
Dvector.cpp47 boost::yap::transform(boost::yap::as_expr(expr), impl); in equal_sizes()
57 decltype(auto) expr = boost::yap::as_expr(e); in assign()
61 boost::yap::transform(boost::yap::as_expr(expr), take_nth{i})); in assign()
70 decltype(auto) expr = boost::yap::as_expr(e); in operator +=()
74 boost::yap::transform(boost::yap::as_expr(expr), take_nth{i})); in operator +=()
Dtransform_terminals.cpp31 boost::yap::as_expr(callable), in operator ()()
32 boost::yap::transform(boost::yap::as_expr(arg), *this)...); in operator ()()
Dvec3.cpp61 decltype(auto) expr = boost::yap::as_expr(t); in operator =()
94 boost::yap::transform(boost::yap::as_expr(expr), impl); in count_leaves()
Dmixed.cpp75 decltype(auto) expr = boost::yap::as_expr(e); in op_assign()
78 auto expr2 = boost::yap::transform(boost::yap::as_expr(expr), begin{}); in op_assign()
Dmap_assign.cpp29 boost::yap::as_expr<boost::yap::minimal_expr>(fn), *this); in operator ()()
Dcalc3.cpp43 boost::yap::as_expr(std::forward<Arg>(arg)), in operator ()()
/third_party/boost/libs/proto/example/
Dmixed.cpp53 : proto::result_of::as_expr<
63 return proto::as_expr(it); in operator ()()
287 evaluate(arr.begin(), arr.end(), proto::as_expr<MixedDomain>(expr), assign_op()); in assign()
295 evaluate(arr.begin(), arr.end(), proto::as_expr<MixedDomain>(expr), assign_op()); in assign()
303 evaluate(arr.begin(), arr.end(), proto::as_expr<MixedDomain>(expr), plus_assign_op()); in operator +=()
311 evaluate(arr.begin(), arr.end(), proto::as_expr<MixedDomain>(expr), plus_assign_op()); in operator +=()
319 evaluate(arr.begin(), arr.end(), proto::as_expr<MixedDomain>(expr), minus_assign_op()); in operator -=()
327 evaluate(arr.begin(), arr.end(), proto::as_expr<MixedDomain>(expr), minus_assign_op()); in operator -=()
Dvec3.cpp110 (*this)[0] = proto::eval(proto::as_expr(expr), CVec3SubscriptCtx(0)); in operator =()
111 (*this)[1] = proto::eval(proto::as_expr(expr), CVec3SubscriptCtx(1)); in operator =()
112 (*this)[2] = proto::eval(proto::as_expr(expr), CVec3SubscriptCtx(2)); in operator =()
Dvector.cpp184 … proto::eval(proto::as_expr<VectorDomain>(expr), size); // will throw if the sizes don't match in assign()
187 arr[i] = proto::as_expr<VectorDomain>(expr)[i]; in assign()
197 … proto::eval(proto::as_expr<VectorDomain>(expr), size); // will throw if the sizes don't match in operator +=()
200 arr[i] += proto::as_expr<VectorDomain>(expr)[i]; in operator +=()
/third_party/boost/libs/yap/test/
Dvector_alloc_test.cpp62 boost::yap::transform(boost::yap::as_expr(expr), impl); in equal_sizes()
70 decltype(auto) expr = boost::yap::as_expr(e); in assign()
74 boost::yap::transform(boost::yap::as_expr(expr), take_nth{i})); in assign()
82 decltype(auto) expr = boost::yap::as_expr(e); in operator +=()
86 boost::yap::transform(boost::yap::as_expr(expr), take_nth{i})); in operator +=()
Duser_expression_transform_1.cpp228 return boost::yap::transform(::boost::yap::as_expr(lhs), *this) - in operator ()()
229 boost::yap::transform(::boost::yap::as_expr(rhs), *this); in operator ()()
269 return boost::yap::transform(::boost::yap::as_expr(lhs), *this) - in operator ()()
270 boost::yap::transform(::boost::yap::as_expr(rhs), *this); in operator ()()
/third_party/boost/boost/phoenix/core/
Ddomain.hpp64 : as_expr<T>
78 : as_expr<T>
/third_party/boost/boost/xpressive/
Dregex_primitives.hpp157 typedef typename proto::result_of::as_expr<Skip>::type skip_type;
160 : skip_(proto::as_expr(skip)) in skip_directive()
171 typename proto::result_of::as_expr<Expr>::type
192 typename result_fun::skip_transform()(proto::as_expr(expr), this->skip_, ignore) in operator ()()
635 proto::functional::as_expr<> const as_xpr = {};
/third_party/boost/libs/proto/doc/
Drelease_notes.qbk36 [*Behavior Change: proto::as_expr() and proto::as_child()]
93 [*New Feature: Domain-specific as_expr() and as_child()]
97 …omain. They can do this easily by defining nested class templates named `as_expr` and/or `as_child…
109 // what as_expr does by default.
112 : base_domain::as_expr<T>
116 In the above example, `my_domain::as_child<>` simply defers to `proto::domain::as_expr<>`. This has…
/third_party/boost/libs/config/
Dconfigure118 as_expr=expr
120 as_expr=false
132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
485 as_expr=expr
487 as_expr=false
3285 as_expr=expr
3287 as_expr=false
3299 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3384 as_expr=expr
3386 as_expr=false
[all …]
/third_party/boost/boost/yap/
Dexpression.hpp331 constexpr decltype(auto) as_expr(T && t) in as_expr() function
333 return as_expr<expression>(static_cast<T &&>(t)); in as_expr()
/third_party/elfio/tests/
Dconfigure329 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
438 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
1175 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3502 as_expr=expr
3504 as_expr=false
3520 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3604 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4118 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4304 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4327 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
/third_party/boost/libs/yap/perf/
Dmap_assign_perf.cpp27 boost::yap::as_expr<boost::yap::minimal_expr>(fn), *this); in operator ()()

123