Home
last modified time | relevance | path

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

12

/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/node/deps/googletest/include/gtest/
Dgtest-matchers.h691 template <typename D, typename Rhs, typename Op>
694 explicit ComparisonBase(const Rhs& rhs) : rhs_(rhs) {}
721 Rhs rhs_;
724 template <typename Rhs>
725 class EqMatcher : public ComparisonBase<EqMatcher<Rhs>, Rhs, std::equal_to<>> {
727 explicit EqMatcher(const Rhs& rhs)
728 : ComparisonBase<EqMatcher<Rhs>, Rhs, std::equal_to<>>(rhs) {}
732 template <typename Rhs>
734 : public ComparisonBase<NeMatcher<Rhs>, Rhs, std::not_equal_to<>> {
736 explicit NeMatcher(const Rhs& rhs)
[all …]
/third_party/googletest/googletest/include/gtest/
Dgtest-matchers.h727 template <typename D, typename Rhs, typename Op>
730 explicit ComparisonBase(const Rhs& rhs) : rhs_(rhs) {}
757 Rhs rhs_;
760 template <typename Rhs>
761 class EqMatcher : public ComparisonBase<EqMatcher<Rhs>, Rhs, AnyEq> {
763 explicit EqMatcher(const Rhs& rhs)
764 : ComparisonBase<EqMatcher<Rhs>, Rhs, AnyEq>(rhs) {}
768 template <typename Rhs>
769 class NeMatcher : public ComparisonBase<NeMatcher<Rhs>, Rhs, AnyNe> {
771 explicit NeMatcher(const Rhs& rhs)
[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/node/deps/v8/src/base/
Dsafe_conversions_impl.h435 template <typename Lhs, typename Rhs,
437 (MaxExponent<Lhs>::value > MaxExponent<Rhs>::value)
442 template <typename Lhs, typename Rhs>
443 struct MaxExponentPromotion<Lhs, Rhs, LEFT_PROMOTION> {
447 template <typename Lhs, typename Rhs>
448 struct MaxExponentPromotion<Lhs, Rhs, RIGHT_PROMOTION> {
449 using type = Rhs;
453 template <typename Lhs, typename Rhs,
456 ? (std::is_signed<Rhs>::value
457 ? (MaxExponent<Lhs>::value > MaxExponent<Rhs>::value
[all …]
Dlogging.h241 template <typename Lhs, typename Rhs> in DEFINE_PRINT_CHECK_OPERAND_CHAR()
242 V8_NOINLINE std::string* MakeCheckOpString(Lhs lhs, Rhs rhs, char const* msg) { in DEFINE_PRINT_CHECK_OPERAND_CHAR()
244 std::string rhs_str = PrintCheckOperand<Rhs>(rhs); in DEFINE_PRINT_CHECK_OPERAND_CHAR()
297 template <typename Lhs, typename Rhs>
300 using rhs_underlying = typename comparison_underlying_type<Rhs>::type;
307 template <typename Lhs, typename Rhs>
308 struct is_unsigned_vs_signed : public is_signed_vs_unsigned<Rhs, Lhs> {};
317 template <typename Lhs, typename Rhs> \
319 typename std::enable_if<CHECK<Lhs, Rhs>::value, bool>::type \
320 Cmp##NAME##Impl(Lhs lhs, 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/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]
Dpython_generator.py10 Rhs,
61 def visit_Rhs(self, node: Rhs) -> Tuple[Optional[str], str]: argument
198 def visit_Rhs(self, node: Rhs, is_loop: bool = False, is_gather: bool = False) -> None: argument
/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 __anonf7d4c1560111::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/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/python/Tools/peg_generator/scripts/
Dgrammar_grapher.py41 Rhs,
79 elif isinstance(item, Rhs):
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
Dglslang_tab_autogen.cpp409 #define YYLLOC_DEFAULT(Current, Rhs, N) \ argument
414 (Current).first_file = YYRHSLOC(Rhs, 1).first_file; \
415 (Current).first_line = YYRHSLOC(Rhs, 1).first_line; \
416 (Current).last_file = YYRHSLOC(Rhs, N).last_file; \
417 (Current).last_line = YYRHSLOC(Rhs, N).last_line; \
421 (Current).first_file = YYRHSLOC(Rhs, 0).last_file; \
422 (Current).first_line = YYRHSLOC(Rhs, 0).last_line; \
423 (Current).last_file = YYRHSLOC(Rhs, 0).last_file; \
424 (Current).last_line = YYRHSLOC(Rhs, 0).last_line; \
1635 # define YYLLOC_DEFAULT(Current, Rhs, N) \ argument
[all …]

12