Home
last modified time | relevance | path

Searched refs:Lhs (Results 1 – 25 of 79) sorted by relevance

1234

/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);
146 inline bool isAligned(Align Lhs, uint64_t SizeInBytes) { in isAligned() argument
147 return SizeInBytes % Lhs.value() == 0; in isAligned()
152 inline bool isAligned(MaybeAlign Lhs, uint64_t SizeInBytes) { in isAligned() argument
153 ALIGN_CHECK_ISSET(Lhs); in isAligned()
[all …]
/third_party/boost/boost/test/tools/
Dcollection_comparison_op.hpp65 typename Lhs, typename Rhs>
68 unit_test::is_forward_iterable<Lhs>::value && !unit_test::is_cstring<Lhs>::value
71 lexicographic_compare( Lhs const& lhs, Rhs const& rhs ) in lexicographic_compare()
75 typedef unit_test::bt_iterator_traits<Lhs> t_Lhs_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()
137 typedef typename unit_test::deduce_cstring_transform<Lhs>::type lhs_char_type; in lexicographic_compare()
151 template <typename OP, typename Lhs, typename Rhs>
154 unit_test::is_forward_iterable<Lhs>::value && !unit_test::is_cstring<Lhs>::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 …]
Dcstring_comparison_op.hpp38 template<typename Lhs,typename Rhs> \
39 struct name<Lhs,Rhs,typename boost::enable_if_c< \
40 ( unit_test::is_cstring_comparable<Lhs>::value \
44 typedef typename unit_test::deduce_cstring_transform<Lhs>::type lhs_char_type; \
48 typedef name_inverse<Lhs, Rhs> inverse; \
55 eval( Lhs const& lhs, Rhs const& rhs) \
/third_party/boost/boost/type_traits/detail/
Dhas_postfix_operator.hpp128 template < typename Lhs >
134 …value = (sizeof(::boost::type_traits::yes_type)==sizeof(returns_void((make<Lhs>() BOOST_TT_TRAIT_O…
143 template < typename Lhs, typename Ret, bool Returns_void >
146 template < typename Lhs >
147 struct operator_returns_Ret < Lhs, dont_care, true > {
151 template < typename Lhs >
152 struct operator_returns_Ret < Lhs, dont_care, false > {
156 template < typename Lhs >
157 struct operator_returns_Ret < Lhs, void, true > {
161 template < typename Lhs >
[all …]
Dhas_binary_operator.hpp143 template < typename Lhs, typename Rhs >
149 …value = (sizeof(::boost::type_traits::yes_type)==sizeof(returns_void((make<Lhs>() BOOST_TT_TRAIT_O…
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/boost/libs/fusion/example/performance/
Dinner_product2.cpp45 template<typename Lhs, typename Rhs>
46 struct result<poly_add(Lhs, Rhs)>
47 : boost::remove_reference<Lhs>
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)>
64 : boost::remove_reference<Lhs>
67 template<typename Lhs, typename Rhs>
68 Lhs operator()(const Lhs& lhs, const Rhs& rhs) const in operator ()()
[all …]
Dinner_product.cpp45 template<typename Lhs, typename Rhs>
46 struct result<poly_add(Lhs, Rhs)>
47 : boost::remove_reference<Lhs>
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)>
64 : boost::remove_reference<Lhs>
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)>
87 : boost::remove_reference<Lhs>
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)>
104 : boost::remove_reference<Lhs>
107 template<typename Lhs, typename Rhs>
108 Lhs operator()(const Lhs& lhs, const Rhs& rhs) const in operator ()()
[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/gn/src/base/numerics/
Dsafe_conversions_impl.h449 template <typename Lhs,
452 (MaxExponent<Lhs>::value > MaxExponent<Rhs>::value)
457 template <typename Lhs, typename Rhs>
458 struct MaxExponentPromotion<Lhs, Rhs, LEFT_PROMOTION> {
459 using type = Lhs;
462 template <typename Lhs, typename Rhs>
463 struct MaxExponentPromotion<Lhs, Rhs, RIGHT_PROMOTION> {
468 template <typename Lhs,
471 std::is_signed<Lhs>::value
473 ? (MaxExponent<Lhs>::value > MaxExponent<Rhs>::value
[all …]
/third_party/skia/third_party/externals/angle2/src/common/third_party/base/anglebase/numerics/
Dsafe_conversions_impl.h471 template <typename Lhs,
474 (MaxExponent<Lhs>::value > MaxExponent<Rhs>::value) ? LEFT_PROMOTION
478 template <typename Lhs, typename Rhs>
479 struct MaxExponentPromotion<Lhs, Rhs, LEFT_PROMOTION>
481 using type = Lhs;
484 template <typename Lhs, typename Rhs>
485 struct MaxExponentPromotion<Lhs, Rhs, RIGHT_PROMOTION>
491 template <typename Lhs,
494 std::is_signed<Lhs>::value
496 ? (MaxExponent<Lhs>::value > MaxExponent<Rhs>::value ? LEFT_PROMOTION
[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/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) {
152 if (!Lhs.KindAndDoc)
154 return (unsigned)Lhs.getKind() < (unsigned)Rhs.getKind();
156 switch (Lhs.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;
[all …]
/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/boost/boost/fusion/view/zip_view/
Dzip_view.hpp85 template<typename Lhs, typename Rhs>
86 struct result<poly_min(Lhs, Rhs)>
88 typedef typename remove_reference<Lhs>::type lhs;
95 template<typename Lhs, typename Rhs>
97 typename result<poly_min(Lhs, Rhs)>::type
98 operator()(Lhs&&, Rhs&&) const;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MCA/HardwareUnits/
DScheduler.h36 virtual bool compare(const InstRef &Lhs, const InstRef &Rhs) const = 0;
43 int computeRank(const InstRef &Lhs) const { in computeRank() argument
44 return Lhs.getSourceIndex() - Lhs.getInstruction()->getNumUsers(); in computeRank()
51 bool compare(const InstRef &Lhs, const InstRef &Rhs) const override { in compare() argument
52 int LhsRank = computeRank(Lhs); in compare()
58 return Lhs.getSourceIndex() < Rhs.getSourceIndex(); in compare()
/third_party/boost/libs/type_traits/doc/
Dhas_bit_or_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`,
23 Lhs lhs;
25 f(lhs|=rhs); // is valid if has_bit_or_assign<Lhs, Rhs, Ret>::value==true
35 [:`has_bit_or_assign<Lhs, Rhs, Ret>::value_type` is the type `bool`.]
36 [:`has_bit_or_assign<Lhs, Rhs, Ret>::value` is a `bool` integral constant expression.]
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`,
23 Lhs lhs;
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.]
Dhas_bit_or.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`,
23 Lhs lhs;
25 f(lhs|rhs); // is valid if has_bit_or<Lhs, Rhs, Ret>::value==true
35 [:`has_bit_or<Lhs, Rhs, Ret>::value_type` is the type `bool`.]
36 [:`has_bit_or<Lhs, Rhs, Ret>::value` is a `bool` integral constant expression.]
Dhas_modulus.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`,
23 Lhs lhs;
25 f(lhs%rhs); // is valid if has_modulus<Lhs, Rhs, Ret>::value==true
35 [:`has_modulus<Lhs, Rhs, Ret>::value_type` is the type `bool`.]
36 [:`has_modulus<Lhs, Rhs, Ret>::value` is a `bool` integral constant expression.]
Dhas_bit_and.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`,
23 Lhs lhs;
25 f(lhs&rhs); // is valid if has_bit_and<Lhs, Rhs, Ret>::value==true
33 [:`has_bit_and<Lhs, Rhs, Ret>::value_type` is the type `bool`.]
34 [:`has_bit_and<Lhs, Rhs, Ret>::value` is a `bool` integral constant expression.]
Dhas_bit_and_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`,
23 Lhs lhs;
25 f(lhs&=rhs); // is valid if has_bit_and_assign<Lhs, Rhs, Ret>::value==true
35 [:`has_bit_and_assign<Lhs, Rhs, Ret>::value_type` is the type `bool`.]
36 [:`has_bit_and_assign<Lhs, Rhs, Ret>::value` is a `bool` integral constant expression.]
Dhas_modulus_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`,
23 Lhs lhs;
25 f(lhs%=rhs); // is valid if has_modulus_assign<Lhs, Rhs, Ret>::value==true
35 [:`has_modulus_assign<Lhs, Rhs, Ret>::value_type` is the type `bool`.]
36 [:`has_modulus_assign<Lhs, Rhs, Ret>::value` is a `bool` integral constant expression.]
Dhas_bit_xor_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`,
23 Lhs lhs;
25 f(lhs^=rhs); // is valid if has_bit_xor_assign<Lhs, Rhs, Ret>::value==true
35 [:`has_bit_xor_assign<Lhs, Rhs, Ret>::value_type` is the type `bool`.]
36 [:`has_bit_xor_assign<Lhs, Rhs, Ret>::value` is a `bool` integral constant expression.]

1234