Home
last modified time | relevance | path

Searched refs:Rhs (Results 1 – 25 of 109) sorted by relevance

12345

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DAlignment.h47 friend bool operator==(Align Lhs, Align Rhs);
48 friend bool operator!=(Align Lhs, Align Rhs);
49 friend bool operator<=(Align Lhs, Align Rhs);
50 friend bool operator>=(Align Lhs, Align Rhs);
51 friend bool operator<(Align Lhs, Align Rhs);
52 friend bool operator>(Align Lhs, Align Rhs);
252 inline bool operator==(Align Lhs, uint64_t Rhs) {
253 ALIGN_CHECK_ISPOSITIVE(Rhs);
254 return Lhs.value() == Rhs;
256 inline bool operator!=(Align Lhs, uint64_t Rhs) {
[all …]
/third_party/boost/boost/test/tools/
Dcollection_comparison_op.hpp65 typename Lhs, typename Rhs>
69 && unit_test::is_forward_iterable<Rhs>::value && !unit_test::is_cstring<Rhs>::value,
71 lexicographic_compare( Lhs const& lhs, Rhs const& rhs ) in lexicographic_compare()
76 typedef unit_test::bt_iterator_traits<Rhs> t_Rhs_iterator; in lexicographic_compare()
130 typename Lhs, typename Rhs>
133 (unit_test::is_cstring<Lhs>::value || unit_test::is_cstring<Rhs>::value),
135 lexicographic_compare( Lhs const& lhs, Rhs const& rhs ) in lexicographic_compare()
138 typedef typename unit_test::deduce_cstring_transform<Rhs>::type rhs_char_type; in lexicographic_compare()
151 template <typename OP, typename Lhs, typename Rhs>
155 && unit_test::is_forward_iterable<Rhs>::value && !unit_test::is_cstring<Rhs>::value,
[all …]
Dfpc_op.hpp47 template <typename Lhs, typename Rhs>
48 struct fpctraits<op::LT<Lhs,Rhs> > {
52 template <typename Lhs, typename Rhs>
53 struct fpctraits<op::GT<Lhs,Rhs> > {
65 template <typename FPT, typename Lhs, typename Rhs, typename OP>
67 compare_fpv( Lhs const& lhs, Rhs const& rhs, OP* cmp_operator) in compare_fpv()
78 assertion_result result_eq = compare_fpv<FPT>(lhs, rhs, (op::EQ<Lhs, Rhs>*)0); in compare_fpv()
81 …result_direct_compare.message() << "operation" << op::EQ<Lhs, Rhs>::forward() << "on arguments yie… in compare_fpv()
90 assertion_result result_neq = compare_fpv<FPT>(lhs, rhs, (op::NE<Lhs, Rhs>*)0); in compare_fpv()
93 …result_direct_compare.message() << "operation" << op::NE<Lhs, Rhs>::forward() << "on arguments yie… in compare_fpv()
[all …]
Dassertion.hpp128 decltype(boost::declval<Lhs>() oper boost::declval<Rhs>() ) optype; \
136 template<typename Lhs, typename Rhs, \
144 template<typename Lhs, typename Rhs, \
148 typedef name_inverse<Lhs, Rhs> inverse; \
151 eval( Lhs const& lhs, Rhs const& rhs ) \
160 Rhs const& rhs) \
188 template<typename Lhs, typename Rhs, typename OP> class binary_expr;
219 typedef typename boost::decay<T const>::type Rhs; \
220 return binary_expr<ExprType,Rhs,op::name<ValType,Rhs> > \
339 template<typename LExpr, typename Rhs, typename OP>
[all …]
Dcstring_comparison_op.hpp38 template<typename Lhs,typename Rhs> \
39 struct name<Lhs,Rhs,typename boost::enable_if_c< \
41 && unit_test::is_cstring_comparable<Rhs>::value) \
45 typedef typename unit_test::deduce_cstring_transform<Rhs>::type rhs_char_type; \
48 typedef name_inverse<Lhs, Rhs> inverse; \
55 eval( Lhs const& lhs, Rhs const& rhs) \
64 Rhs const& rhs) \
/third_party/mesa3d/src/gtest/include/gtest/
Dgtest-matchers.h528 template <typename D, typename Rhs, typename Op>
531 explicit ComparisonBase(const Rhs& rhs) : rhs_(rhs) {} in ComparisonBase()
543 template <typename Lhs, typename = Rhs>
546 explicit Impl(const Rhs& rhs) : rhs_(rhs) {} in Impl()
561 Rhs rhs_;
563 Rhs rhs_;
566 template <typename Rhs>
567 class EqMatcher : public ComparisonBase<EqMatcher<Rhs>, Rhs, AnyEq> {
569 explicit EqMatcher(const Rhs& rhs) in EqMatcher()
570 : ComparisonBase<EqMatcher<Rhs>, Rhs, AnyEq>(rhs) { } in EqMatcher()
[all …]
/third_party/boost/boost/type_traits/detail/
Dhas_prefix_operator.hpp157 template < typename Rhs >
163 …boost::type_traits::yes_type)==sizeof(returns_void((BOOST_TT_TRAIT_OP make<Rhs>(),returns_void_t()…
172 template < typename Rhs, typename Ret, bool Returns_void >
175 template < typename Rhs >
176 struct operator_returns_Ret < Rhs, dont_care, true > {
180 template < typename Rhs >
181 struct operator_returns_Ret < Rhs, dont_care, false > {
185 template < typename Rhs >
186 struct operator_returns_Ret < Rhs, void, true > {
190 template < typename Rhs >
[all …]
Dhas_binary_operator.hpp143 template < typename Lhs, typename Rhs >
149 …traits::yes_type)==sizeof(returns_void((make<Lhs>() BOOST_TT_TRAIT_OP make<Rhs>(),returns_void_t()…
158 template < typename Lhs, typename Rhs, typename Ret, bool Returns_void >
161 template < typename Lhs, typename Rhs >
162 struct operator_returns_Ret < Lhs, Rhs, dont_care, true > {
166 template < typename Lhs, typename Rhs >
167 struct operator_returns_Ret < Lhs, Rhs, dont_care, false > {
171 template < typename Lhs, typename Rhs >
172 struct operator_returns_Ret < Lhs, Rhs, void, true > {
176 template < typename Lhs, typename Rhs >
[all …]
/third_party/googletest/googletest/include/gtest/
Dgtest-matchers.h707 template <typename D, typename Rhs, typename Op>
710 explicit ComparisonBase(const Rhs& rhs) : rhs_(rhs) {}
737 Rhs rhs_;
740 template <typename Rhs>
741 class EqMatcher : public ComparisonBase<EqMatcher<Rhs>, Rhs, AnyEq> {
743 explicit EqMatcher(const Rhs& rhs)
744 : ComparisonBase<EqMatcher<Rhs>, Rhs, AnyEq>(rhs) { }
748 template <typename Rhs>
749 class NeMatcher : public ComparisonBase<NeMatcher<Rhs>, Rhs, AnyNe> {
751 explicit NeMatcher(const Rhs& rhs)
[all …]
/third_party/boost/libs/phoenix/doc/inside/
Drules.qbk54 [[`expression::plus_assign<Lhs, Rhs>`] [
59 [[`expression::minus_assign<Lhs, Rhs>`] [``
63 [[`expression::multiplies_assign<Lhs, Rhs>`] [``
67 [[`expression::divides_assign<Lhs, Rhs>`] [``
71 [[`expression::modules_assign<Lhs, Rhs>`] [``
75 [[`expression::plus<Lhs, Rhs>`] [``
79 [[`expression::minus<Lhs, Rhs>`] [``
83 [[`expression::multiplies<Lhs, Rhs>`] [
88 [[`expression::divides<Lhs, Rhs>`] [``
92 [[`expression::modulus<Lhs, Rhs>`] [``
[all …]
/third_party/boost/libs/fusion/example/performance/
Dinner_product2.cpp45 template<typename Lhs, typename Rhs>
46 struct result<poly_add(Lhs, Rhs)>
50 template<typename Lhs, typename Rhs>
51 Lhs operator()(const Lhs& lhs, const Rhs& rhs) const in operator ()()
62 template<typename Lhs, typename Rhs>
63 struct result<poly_mult(Lhs, Rhs)>
67 template<typename Lhs, typename Rhs>
68 Lhs operator()(const Lhs& lhs, const Rhs& rhs) const in operator ()()
122 template<typename Lhs, typename Rhs>
123 struct result<poly_combine(Lhs, Rhs)>
[all …]
Dinner_product.cpp45 template<typename Lhs, typename Rhs>
46 struct result<poly_add(Lhs, Rhs)>
50 template<typename Lhs, typename Rhs>
51 Lhs operator()(const Lhs& lhs, const Rhs& rhs) const in operator ()()
62 template<typename Lhs, typename Rhs>
63 struct result<poly_mult(Lhs, Rhs)>
67 template<typename Lhs, typename Rhs>
68 Lhs operator()(const Lhs& lhs, const Rhs& rhs) const in operator ()()
Daccumulate.cpp85 template<typename Lhs, typename Rhs>
86 struct result<poly_add(Lhs,Rhs)>
90 template<typename Lhs, typename Rhs>
91 Lhs operator()(const Lhs& lhs, const Rhs& rhs) const in operator ()()
102 template<typename Lhs, typename Rhs>
103 struct result<poly_mult(Lhs, Rhs)>
107 template<typename Lhs, typename Rhs>
108 Lhs operator()(const Lhs& lhs, const Rhs& rhs) const in operator ()()
250 template<typename Lhs, typename Rhs>
256 template<typename Lhs, typename Rhs>
[all …]
/third_party/skia/third_party/externals/angle2/src/common/third_party/base/anglebase/numerics/
Dsafe_conversions_impl.h472 typename Rhs,
474 (MaxExponent<Lhs>::value > MaxExponent<Rhs>::value) ? LEFT_PROMOTION
478 template <typename Lhs, typename Rhs>
479 struct MaxExponentPromotion<Lhs, Rhs, LEFT_PROMOTION>
484 template <typename Lhs, typename Rhs>
485 struct MaxExponentPromotion<Lhs, Rhs, RIGHT_PROMOTION>
487 using type = Rhs;
492 typename Rhs,
495 ? (std::is_signed<Rhs>::value
496 ? (MaxExponent<Lhs>::value > MaxExponent<Rhs>::value ? LEFT_PROMOTION
[all …]
/third_party/gn/src/base/numerics/
Dsafe_conversions_impl.h450 typename Rhs,
452 (MaxExponent<Lhs>::value > MaxExponent<Rhs>::value)
457 template <typename Lhs, typename Rhs>
458 struct MaxExponentPromotion<Lhs, Rhs, LEFT_PROMOTION> {
462 template <typename Lhs, typename Rhs>
463 struct MaxExponentPromotion<Lhs, Rhs, RIGHT_PROMOTION> {
464 using type = Rhs;
469 typename Rhs,
472 ? (std::is_signed<Rhs>::value
473 ? (MaxExponent<Lhs>::value > MaxExponent<Rhs>::value
[all …]
/third_party/boost/libs/phoenix/example/
Ddefine_expression.cpp18 template <typename Lhs, typename Rhs>
20 : phoenix::expr<proto::tag::plus, Lhs, Rhs>
40 template <typename Lhs, typename Rhs>
41 typename expression::plus<Lhs, Rhs>::type
42 plus(Lhs const & lhs, Rhs const & rhs) in plus()
44 return expression::plus<Lhs, Rhs>::make(lhs, rhs); in plus()
/third_party/boost/libs/type_traits/doc/
Doperators.qbk8 [def __binary_temp `< class Lhs, class Rhs=Lhs, class Ret=dont_care >`]
9 [def __prefix_temp `< class Rhs, class Ret=dont_care >`]
124 * `Rhs` is the type used at the right hand side of `operator op`,
136 Rhs rhs;
137 f(lhs+rhs); // is valid if has_plus<Lhs, Rhs, Ret>::value==true
281 // conditions: Rhs!=void
295 template < typename Rhs >
301 …static const bool value = sizeof(::boost::type_traits::yes_type)==sizeof(returns_void((-make<Rhs>(…
306 // conditions: Rhs!=void
310 template < typename Rhs, typename Ret, bool Returns_void >
[all …]
Dhas_left_shift_assign.qbk9 template <class Lhs, class Rhs=Lhs, class Ret=dont_care>
13 If (i) `lhs` of type `Lhs` and `rhs` of type `Rhs` can be used in expression `lhs<<=rhs`,
24 Rhs rhs;
25 f(lhs<<=rhs); // is valid if has_left_shift_assign<Lhs, Rhs, Ret>::value==true
35 [:`has_left_shift_assign<Lhs, Rhs, Ret>::value_type` is the type `bool`.]
36 [:`has_left_shift_assign<Lhs, Rhs, Ret>::value` is a `bool` integral constant expression.]
/third_party/boost/boost/phoenix/operator/detail/
Ddefine_operator.hpp56 template <typename Lhs, typename Rhs> \
58 : expr<proto::tag::name, Lhs, Rhs> \
77 template <typename Lhs, typename Rhs> \
81 Lhs, Rhs \
86 template <typename Rhs, typename Lhs> \
88 typename result_of::BOOST_PP_CAT(make_, name)<Rhs, Lhs>::type \
89 BOOST_PP_CAT(make_, name)(Lhs const & lhs, Rhs const & rhs) \
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/BinaryFormat/
DMsgPackDocument.h146 friend bool operator<(const DocNode &Lhs, const DocNode &Rhs) {
149 if (Lhs.KindAndDoc != Rhs.KindAndDoc) {
150 if (!Rhs.KindAndDoc)
154 return (unsigned)Lhs.getKind() < (unsigned)Rhs.getKind();
158 return Lhs.Int < Rhs.Int;
160 return Lhs.UInt < Rhs.UInt;
164 return Lhs.Bool < Rhs.Bool;
166 return Lhs.Float < Rhs.Float;
169 return Lhs.Raw < Rhs.Raw;
176 friend bool operator==(const DocNode &Lhs, const DocNode &Rhs) {
[all …]
/third_party/boost/boost/fusion/view/zip_view/
Dzip_view.hpp85 template<typename Lhs, typename Rhs>
86 struct result<poly_min(Lhs, Rhs)>
89 typedef typename remove_reference<Rhs>::type rhs;
95 template<typename Lhs, typename Rhs>
97 typename result<poly_min(Lhs, Rhs)>::type
98 operator()(Lhs&&, Rhs&&) const;
/third_party/python/Tools/peg_generator/pegen/
Dmetagrammar.gram24 Rhs,
54 Rule(rulename[0], rulename[1], Rhs(alts.alts + more_alts.alts), memo=opt) }
68 alts[Rhs]:
69 | alt "|" alts { Rhs([alt] + alts.alts)}
70 | alt { Rhs([alt]) }
72 more_alts[Rhs]:
73 | "|" alts NEWLINE more_alts { Rhs(alts.alts + more_alts.alts) }
74 | "|" alts NEWLINE { Rhs(alts.alts) }
/third_party/boost/libs/type_index/examples/
Dconstexpr14_sort_check.cpp48 template <class Lhs, class Rhs, class... TN>
49 constexpr bool is_asc_sorted(types<Lhs, Rhs, TN...>) noexcept { in is_asc_sorted() argument
51 return ctti_type_index::type_id<Lhs>() <= ctti_type_index::type_id<Rhs>() in is_asc_sorted()
52 && is_asc_sorted(types<Rhs, TN...>()); in is_asc_sorted()
/third_party/mesa3d/src/compiler/glsl/glcpp/
Dglcpp.h86 # define YYLLOC_DEFAULT(Current, Rhs, N) \ argument
90 (Current).first_line = YYRHSLOC(Rhs, 1).first_line; \
91 (Current).first_column = YYRHSLOC(Rhs, 1).first_column; \
92 (Current).last_line = YYRHSLOC(Rhs, N).last_line; \
93 (Current).last_column = YYRHSLOC(Rhs, N).last_column; \
98 YYRHSLOC(Rhs, 0).last_line; \
100 YYRHSLOC(Rhs, 0).last_column; \
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DScopeExit.h33 scope_exit(scope_exit &&Rhs) in scope_exit() argument
34 : ExitFunction(std::move(Rhs.ExitFunction)), Engaged(Rhs.Engaged) { in scope_exit()
35 Rhs.release(); in scope_exit()

12345