Home
last modified time | relevance | path

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

123

/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/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/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/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/rust/crates/num-traits/src/
Dlib.rs102 pub trait NumOps<Rhs = Self, Output = Self>:
103 Add<Rhs, Output = Output>
104 + Sub<Rhs, Output = Output>
105 + Mul<Rhs, Output = Output>
106 + Div<Rhs, Output = Output>
107 + Rem<Rhs, Output = Output>
111 impl<T, Rhs, Output> NumOps<Rhs, Output> for T where
112 T: Add<Rhs, Output = Output>
113 + Sub<Rhs, Output = Output>
114 + Mul<Rhs, Output = Output>
[all …]
/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/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) }
Dparser_generator.py10 Rhs,
114 def name_node(self, rhs: Rhs) -> str: argument
127 self.todo[name] = Rule(name, None, Rhs([Alt([NamedItem(None, node)])]))
139 extra_function_name, None, Rhs([extra_function_alt]),
142 self.todo[name] = Rule(name, None, Rhs([alt]),)
Dgrammar_parser.py30 Rhs,
186 …return Rule ( rulename [ 0 ] , rulename [ 1 ] , Rhs ( alts . alts + more_alts . alts ) , memo = op…
284 def alts(self) -> Optional[Rhs]:
295 return Rhs ( [ alt ] + alts . alts )
302 return Rhs ( [ alt ] )
308 def more_alts(self) -> Optional[Rhs]:
321 return Rhs ( alts . alts + more_alts . alts )
332 return Rhs ( alts . alts )
Dgrammar.py71 def __init__(self, name: str, type: Optional[str], rhs: Rhs, memo: Optional[object] = None): argument
101 def __iter__(self) -> Iterator[Rhs]:
115 def flatten(self) -> Rhs:
187 class Rhs: class
433 def __init__(self, rhs: Rhs): argument
442 def __iter__(self) -> Iterator[Rhs]:
479 Item = Union[Plain, Opt, Repeat, Forced, Lookahead, Rhs, Cut]
/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/lib/Transforms/Scalar/
DMergeICmps.cpp211 const BCEAtom &Rhs() const { return Rhs_; } in Rhs() function in __anon52eaa1a80111::BCECmpBlock
343 auto Rhs = visitICmpLoadOperand(CmpI->getOperand(1), BaseId); in visitICmp() local
344 if (!Rhs.BaseId) in visitICmp()
347 return BCECmpBlock(std::move(Lhs), std::move(Rhs), in visitICmp()
400 << Comparison.Rhs().BaseId << " + " in enqueueBlock()
401 << Comparison.Rhs().Offset << "\n"); in enqueueBlock()
425 First.Rhs().BaseId == Second.Rhs().BaseId && in IsContiguous()
427 First.Rhs().Offset + First.SizeBits() / 8 == Second.Rhs().Offset; in IsContiguous()
526 return std::tie(LhsBlock.Lhs(), LhsBlock.Rhs()) < in BCECmpChain()
527 std::tie(RhsBlock.Lhs(), RhsBlock.Rhs()); in BCECmpChain()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DImportedFunctionsInliningStatistics.cpp193 const SortedNodesTy::value_type &Rhs) { in getSortedNodes() argument
194 if (Lhs->second->NumberOfInlines != Rhs->second->NumberOfInlines) in getSortedNodes()
195 return Lhs->second->NumberOfInlines > Rhs->second->NumberOfInlines; in getSortedNodes()
196 if (Lhs->second->NumberOfRealInlines != Rhs->second->NumberOfRealInlines) in getSortedNodes()
198 Rhs->second->NumberOfRealInlines; in getSortedNodes()
199 return Lhs->first() < Rhs->first(); in getSortedNodes()
/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()
/third_party/mesa3d/src/compiler/glsl/
Dglsl_parser_extras.h990 # define YYLLOC_DEFAULT(Current, Rhs, N) \ argument
994 (Current).first_line = YYRHSLOC(Rhs, 1).first_line; \
995 (Current).first_column = YYRHSLOC(Rhs, 1).first_column; \
996 (Current).last_line = YYRHSLOC(Rhs, N).last_line; \
997 (Current).last_column = YYRHSLOC(Rhs, N).last_column; \
998 (Current).path = YYRHSLOC(Rhs, N).path; \
1003 YYRHSLOC(Rhs, 0).last_line; \
1005 YYRHSLOC(Rhs, 0).last_column; \
1006 (Current).path = YYRHSLOC(Rhs, 0).path; \
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/
DIceBitVector.h66 Reference &operator=(const Reference &Rhs) { return *this = (bool)Rhs; }
140 SmallBitVector operator&(const SmallBitVector &Rhs) const {
141 assert(size() == Rhs.size());
142 SmallBitVector Ret(std::max(size(), Rhs.size()));
144 Ret.Bits[i] = Bits[i] & Rhs.Bits[i];
155 SmallBitVector &operator|=(const SmallBitVector &Rhs) {
156 assert(size() == Rhs.size());
157 resize(std::max(size(), Rhs.size()));
159 Bits[i] |= Rhs.Bits[i];
164 SmallBitVector operator|(const SmallBitVector &Rhs) const {
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/unittest/AssemblerX8632/
DTestUtil.h264 bool operator==(const Dqword &Rhs) const {
265 return std::memcmp(this, &Rhs, sizeof(*this)) == 0;
304 operator Op(const Dqword &Rhs) const { \
311 reinterpret_cast<const ElemType *const>(&Rhs); \
334 Op(const Dqword &Rhs) const { \
341 reinterpret_cast<const Container *const>(&Rhs); \
360 Dqword operator Op(const Dqword &Rhs) const { \
373 reinterpret_cast<const ElemType *const>(&Rhs); \
415 operator*(const Dqword &Rhs) const {
422 reinterpret_cast<const Container *const>(&Rhs);
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/common/third_party/base/anglebase/numerics/
Dsafe_math_impl.h532 typename Rhs = Lhs,
534 (MaxExponent<Lhs>::value > MaxExponent<Rhs>::value) ? LEFT_PROMOTION
538 template <typename Lhs, typename Rhs>
539 struct ArithmeticPromotion<Lhs, Rhs, LEFT_PROMOTION>
544 template <typename Lhs, typename Rhs>
545 struct ArithmeticPromotion<Lhs, Rhs, RIGHT_PROMOTION>
547 typedef Rhs type;
554 template <typename T, typename Lhs, typename Rhs>
561 StaticDstRangeRelationToSrcRange<T, Rhs>::value != NUMERIC_RANGE_CONTAINED &&
562 sizeof(T) >= (2 * sizeof(Rhs));
/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;
51 bool compare(const InstRef &Lhs, const InstRef &Rhs) const override { in compare() argument
53 int RhsRank = computeRank(Rhs); in compare()
58 return Lhs.getSourceIndex() < Rhs.getSourceIndex(); in compare()
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/unittest/AssemblerX8664/
DTestUtil.h376 bool operator==(const Dqword &Rhs) const {
377 return std::memcmp(this, &Rhs, sizeof(*this)) == 0;
416 operator Op(const Dqword &Rhs) const { \
423 reinterpret_cast<const ElemType *const>(&Rhs); \
446 Op(const Dqword &Rhs) const { \
453 reinterpret_cast<const Container *const>(&Rhs); \
472 Dqword operator Op(const Dqword &Rhs) const { \
485 reinterpret_cast<const ElemType *const>(&Rhs); \
527 operator*(const Dqword &Rhs) const {
534 reinterpret_cast<const Container *const>(&Rhs);
[all …]
/third_party/cef/tools/distrib/gtest/
Dgtest.h6793 template <typename D, typename Rhs, typename Op>
6796 explicit ComparisonBase(const Rhs& rhs) : rhs_(rhs) {}
6823 Rhs rhs_;
6826 template <typename Rhs>
6827 class EqMatcher : public ComparisonBase<EqMatcher<Rhs>, Rhs, AnyEq> {
6829 explicit EqMatcher(const Rhs& rhs)
6830 : ComparisonBase<EqMatcher<Rhs>, Rhs, AnyEq>(rhs) { }
6834 template <typename Rhs>
6835 class NeMatcher : public ComparisonBase<NeMatcher<Rhs>, Rhs, AnyNe> {
6837 explicit NeMatcher(const Rhs& rhs)
[all …]
/third_party/python/Tools/peg_generator/scripts/
Dgrammar_grapher.py41 Rhs,
79 elif isinstance(item, Rhs):
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/
Dglslang.y114 #define YYLLOC_DEFAULT(Current, Rhs, N) \ argument
117 (Current).first_file = YYRHSLOC(Rhs, 1).first_file; \
118 (Current).first_line = YYRHSLOC(Rhs, 1).first_line; \
119 (Current).last_file = YYRHSLOC(Rhs, N).last_file; \
120 (Current).last_line = YYRHSLOC(Rhs, N).last_line; \
123 (Current).first_file = YYRHSLOC(Rhs, 0).last_file; \
124 (Current).first_line = YYRHSLOC(Rhs, 0).last_line; \
125 (Current).last_file = YYRHSLOC(Rhs, 0).last_file; \
126 (Current).last_line = YYRHSLOC(Rhs, 0).last_line; \
Dglslang_tab.cpp383 #define YYLLOC_DEFAULT(Current, Rhs, N) \ argument
386 (Current).first_file = YYRHSLOC(Rhs, 1).first_file; \
387 (Current).first_line = YYRHSLOC(Rhs, 1).first_line; \
388 (Current).last_file = YYRHSLOC(Rhs, N).last_file; \
389 (Current).last_line = YYRHSLOC(Rhs, N).last_line; \
392 (Current).first_file = YYRHSLOC(Rhs, 0).last_file; \
393 (Current).first_line = YYRHSLOC(Rhs, 0).last_line; \
394 (Current).last_file = YYRHSLOC(Rhs, 0).last_file; \
395 (Current).last_line = YYRHSLOC(Rhs, 0).last_line; \
1779 # define YYLLOC_DEFAULT(Current, Rhs, N) \ argument
[all …]

123