Home
last modified time | relevance | path

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

/external/cronet/third_party/googletest/src/googlemock/test/
Dgmock-matchers_test.h106 explicit GreaterThanMatcher(T rhs) : rhs_(rhs) {} in GreaterThanMatcher()
108 void DescribeTo(ostream* os) const override { *os << "is > " << rhs_; } in DescribeTo()
111 if (lhs > rhs_) { in MatchAndExplain()
112 *listener << "which is " << (lhs - rhs_) << " more than " << rhs_; in MatchAndExplain()
113 } else if (lhs == rhs_) { in MatchAndExplain()
114 *listener << "which is the same as " << rhs_; in MatchAndExplain()
116 *listener << "which is " << (rhs_ - lhs) << " less than " << rhs_; in MatchAndExplain()
119 return lhs > rhs_; in MatchAndExplain()
123 const T rhs_;
/external/tensorflow/tensorflow/lite/delegates/gpu/common/testing/feature_parity/
Dutils.h52 : tuple_matcher_(tuple_matcher), rhs_(rhs) {} in TensorEqMatcher()
61 return testing::Matcher<T>(new Impl(tuple_matcher_, rhs_));
71 rhs_(rhs) {} in Impl()
80 std::optional<std::string> result = ShapeToString(rhs_.dims); in DescribeTo()
96 if (lhs.type != kTfLiteFloat32 || rhs_.type != kTfLiteFloat32) { in MatchAndExplain()
104 if (lhs.dims->size != rhs_.dims->size) { in MatchAndExplain()
106 << rhs_.dims->size; in MatchAndExplain()
114 dims_are_equal &= lhs.dims->data[i] == rhs_.dims->data[i]; in MatchAndExplain()
118 std::optional<std::string> result = ShapeToString(rhs_.dims); in MatchAndExplain()
132 absl::Span<float> rhs_span(rhs_.data.f, rhs_.bytes / sizeof(float)); in MatchAndExplain()
[all …]
/external/mesa3d/src/gtest/include/gtest/
Dgtest-matchers.h531 explicit ComparisonBase(const Rhs& rhs) : rhs_(rhs) {} in ComparisonBase()
534 return Matcher<Lhs>(new Impl<const Lhs&>(rhs_));
546 explicit Impl(const Rhs& rhs) : rhs_(rhs) {} in Impl()
549 return Op()(lhs, Unwrap(rhs_)); in MatchAndExplain()
553 UniversalPrint(Unwrap(rhs_), os); in DescribeTo()
557 UniversalPrint(Unwrap(rhs_), os); in DescribeNegationTo()
561 Rhs rhs_;
563 Rhs rhs_; variable
/external/rust/crates/quiche/deps/boringssl/src/third_party/googletest/include/gtest/
Dgtest-matchers.h531 explicit ComparisonBase(const Rhs& rhs) : rhs_(rhs) {} in ComparisonBase()
534 return Matcher<Lhs>(new Impl<const Lhs&>(rhs_));
546 explicit Impl(const Rhs& rhs) : rhs_(rhs) {} in Impl()
549 return Op()(lhs, Unwrap(rhs_)); in MatchAndExplain()
553 UniversalPrint(Unwrap(rhs_), os); in DescribeTo()
557 UniversalPrint(Unwrap(rhs_), os); in DescribeNegationTo()
561 Rhs rhs_;
563 Rhs rhs_; variable
/external/cronet/third_party/boringssl/src/third_party/googletest/include/gtest/
Dgtest-matchers.h531 explicit ComparisonBase(const Rhs& rhs) : rhs_(rhs) {} in ComparisonBase()
534 return Matcher<Lhs>(new Impl<const Lhs&>(rhs_));
546 explicit Impl(const Rhs& rhs) : rhs_(rhs) {} in Impl()
549 return Op()(lhs, Unwrap(rhs_)); in MatchAndExplain()
553 UniversalPrint(Unwrap(rhs_), os); in DescribeTo()
557 UniversalPrint(Unwrap(rhs_), os); in DescribeNegationTo()
561 Rhs rhs_;
563 Rhs rhs_; variable
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dtiled_dot_emitter.cc239 rhs_(rhs), in ColumnMajorMatrixVectorProductEmitter()
268 llvm::Value* base_pointer = vsl_.ComputeOffsetPointer(rhs_, offset); in LoadRhsTile()
286 llvm::Value* rhs_; member in xla::cpu::__anon8d179a540111::ColumnMajorMatrixVectorProductEmitter
365 llvm::Value* rhs_element = vsl_.LoadScalar(rhs_, col); in EmitInnerLoopEpilogue()
466 rhs_(rhs), in RowMajorMatrixVectorProductEmitter()
499 llvm::Value* rhs_; member in xla::cpu::__anon8d179a540111::RowMajorMatrixVectorProductEmitter
577 llvm::Value* rhs_value = vsl_.LoadVector(rhs_, col); in EmitInnerLoopTiled()
603 vsl_.LoadScalar(rhs_, scalar_col)); in EmitInnerLoopEpilogue()
709 rhs_(rhs), in TiledSmallGemmEmitter()
765 llvm::Value* rhs_; member in xla::cpu::__anon8d179a540111::TiledSmallGemmEmitter
[all …]
/external/tensorflow/tensorflow/python/kernel_tests/linalg/
Dlinalg_ops_test.py507 rhs_ = np.array([[1, 1]], dtype=self.dtype).T
509 rhs_, shape=rhs_.shape if self.use_static_shape else None)
516 expected_ = np.linalg.solve(x_, rhs_)
530 rhs_ = np.array([[1, 1]], dtype=self.dtype).T
532 rhs_, shape=rhs_.shape if self.use_static_shape else None)
539 expected_ = np.linalg.solve(x_, rhs_[np.newaxis])
/external/clang/test/SemaCXX/
Dwindows-arm-valist.cpp6 template <typename lhs_, typename rhs_>
/external/libvpx/third_party/googletest/src/include/gtest/
Dgtest-matchers.h730 explicit ComparisonBase(const Rhs& rhs) : rhs_(rhs) {}
736 return Op()(lhs, Unwrap(rhs_));
740 UniversalPrint(Unwrap(rhs_), os);
744 UniversalPrint(Unwrap(rhs_), os);
757 Rhs rhs_;
/external/libaom/third_party/googletest/src/googletest/include/gtest/
Dgtest-matchers.h730 explicit ComparisonBase(const Rhs& rhs) : rhs_(rhs) {}
736 return Op()(lhs, Unwrap(rhs_));
740 UniversalPrint(Unwrap(rhs_), os);
744 UniversalPrint(Unwrap(rhs_), os);
757 Rhs rhs_;
/external/cronet/third_party/googletest/src/googletest/include/gtest/
Dgtest-matchers.h725 explicit ComparisonBase(const Rhs& rhs) : rhs_(rhs) {}
731 return Op()(lhs, Unwrap(rhs_));
735 UniversalPrint(Unwrap(rhs_), os);
739 UniversalPrint(Unwrap(rhs_), os);
752 Rhs rhs_;
/external/googletest/googletest/include/gtest/
Dgtest-matchers.h710 explicit ComparisonBase(const Rhs& rhs) : rhs_(rhs) {}
716 return Op()(lhs, Unwrap(rhs_));
720 UniversalPrint(Unwrap(rhs_), os);
724 UniversalPrint(Unwrap(rhs_), os);
737 Rhs rhs_;
/external/tensorflow/tensorflow/compiler/xla/service/spmd/
Dspmd_partitioner_util.h269 rhs_(std::make_unique<OffsetCalculation>(rhs)) {} in OffsetCalculation()
274 rhs_(std::make_unique<OffsetCalculation>(rhs)) {} in OffsetCalculation()
295 std::unique_ptr<OffsetCalculation> rhs_; variable
Dspmd_partitioner_util.cc643 rhs_ = std::make_unique<OffsetCalculation>(*other.rhs_); in operator =()
652 if (opcode_ == HloOpcode::kSubtract && *lhs_ == *rhs_) { in IsConstant()
655 return lhs_->IsConstant() && rhs_->IsConstant(); in IsConstant()
673 return *lhs_ == *other.lhs_ && *rhs_ == *other.rhs_; in operator ==()
681 return lhs_->Calculate(shard_ordinal) - rhs_->Calculate(shard_ordinal); in Calculate()
683 return lhs_->Calculate(shard_ordinal) * rhs_->Calculate(shard_ordinal); in Calculate()
695 auto rhs = rhs_->Calculate(shard_ordinal, b); in Calculate()
/external/tensorflow/tensorflow/compiler/mlir/tfrt/tests/jit/
Dtf_jitrt_fuse_fill_into_tiled_reduction.mlir21 ins (%lhs_ = %lhs: tensor<?x?xf32>, %rhs_ = %rhs: tensor<?x?xf32>)
30 %11 = tensor.extract_slice %rhs_[%i, %j] [%9, %10] [1, 1]
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/
DTensorContractionSycl.h578 … const RhsMapper rhs_, OutAccessor out_res_,
585 rhs(rhs_),
593 … const RhsMapper rhs_, OutAccessor out_res_,
597 …: TensorContractionKernel(scratch_, lhs_, rhs_, out_res_, groupSizeM_, 1, numTiles_, triple_dim_) …
1250 …GeneralScalarContraction(Scratch scratch_, const LhsMapper lhs_, const RhsMapper rhs_, OutAccessor…
1252 : scratch(scratch_), lhs(lhs_), rhs(rhs_), out_res(out_res_), rng(rng_) {}
DTensorContractionThreadPool.h388 rhs_(self->m_rightImpl, self->m_right_nocontract_strides,
537 RhsMapper rhs_;
920 rhs_.getSubMapper(k * bk_, n1 * bn_), bk(k), bn(n1));
/external/tensorflow/tensorflow/compiler/xla/mlir_hlo/include/mlir-hlo/Dialect/gml_st/IR/
Dgml_st_ops.td140 %rhs_sub = gml_st.materialize %rhs_[%tile]
191 %rhs_sub = gml_st.materialize %rhs_[%tile]
/external/fmtlib/test/gmock/
Dgmock.h5537 explicit name##Matcher(const Rhs& rhs) : rhs_(rhs) {} \
5540 return MakeMatcher(new Impl<Lhs>(rhs_)); \
5546 explicit Impl(const Rhs& rhs) : rhs_(rhs) {} \
5549 return lhs op rhs_; \
5553 UniversalPrint(rhs_, os); \
5557 UniversalPrint(rhs_, os); \
5560 Rhs rhs_; \
5563 Rhs rhs_; \
6478 rhs_(rhs), nan_eq_nan_(nan_eq_nan), max_abs_error_(-1) {
6485 rhs_(rhs), nan_eq_nan_(nan_eq_nan), max_abs_error_(max_abs_error) {
[all …]
/external/libaom/third_party/googletest/src/googlemock/include/gmock/
Dgmock-matchers.h2592 : tuple_matcher_(tuple_matcher), rhs_(RhsView::Copy(rhs)) {}
2601 new Impl<const LhsContainer&>(tuple_matcher_, rhs_));
2622 rhs_(rhs) {}
2625 *os << "contains " << rhs_.size()
2627 UniversalPrinter<RhsStlContainer>::Print(rhs_, os);
2632 *os << "doesn't contain exactly " << rhs_.size()
2635 UniversalPrint(rhs_, os);
2644 if (actual_size != rhs_.size()) {
2650 auto right = rhs_.begin();
2682 const RhsStlContainer rhs_;
[all …]
/external/cronet/third_party/googletest/src/googlemock/include/gmock/
Dgmock-matchers.h2586 : tuple_matcher_(tuple_matcher), rhs_(RhsView::Copy(rhs)) {}
2595 new Impl<const LhsContainer&>(tuple_matcher_, rhs_));
2616 rhs_(rhs) {}
2619 *os << "contains " << rhs_.size()
2621 UniversalPrinter<RhsStlContainer>::Print(rhs_, os);
2626 *os << "doesn't contain exactly " << rhs_.size()
2629 UniversalPrint(rhs_, os);
2638 if (actual_size != rhs_.size()) {
2644 auto right = rhs_.begin();
2676 const RhsStlContainer rhs_;
[all …]
/external/googletest/googlemock/include/gmock/
Dgmock-matchers.h2523 : tuple_matcher_(tuple_matcher), rhs_(RhsView::Copy(rhs)) {}
2532 new Impl<const LhsContainer&>(tuple_matcher_, rhs_));
2552 rhs_(rhs) {}
2555 *os << "contains " << rhs_.size()
2557 UniversalPrinter<RhsStlContainer>::Print(rhs_, os);
2562 *os << "doesn't contain exactly " << rhs_.size()
2565 UniversalPrint(rhs_, os);
2574 if (actual_size != rhs_.size()) {
2580 typename RhsStlContainer::const_iterator right = rhs_.begin();
2612 const RhsStlContainer rhs_;
[all …]
/external/tensorflow/tensorflow/compiler/xla/mlir_hlo/tests/Dialect/gml_st/
Dops.mlir128 ins(%lhs_ = %lhs: tensor<24x64xi8>, %rhs_ = %rhs: tensor<24x64xi8>)
132 %rhs_sub = tensor.extract_slice %rhs_[%i, 0] [%c4, %c64] [1, 1]
/external/rust/crates/grpcio-sys/grpc/third_party/cares/cares/test/gmock-1.8.0/gmock/
Dgmock.h5714 explicit ComparisonBase(const Rhs& rhs) : rhs_(rhs) {}
5717 return MakeMatcher(new Impl<Lhs>(rhs_));
5724 explicit Impl(const Rhs& rhs) : rhs_(rhs) {}
5727 return Op()(lhs, rhs_);
5731 UniversalPrint(rhs_, os);
5735 UniversalPrint(rhs_, os);
5738 Rhs rhs_;
5741 Rhs rhs_;
7521 : tuple_matcher_(tuple_matcher), rhs_(RhsView::Copy(rhs)) {
7530 return MakeMatcher(new Impl<LhsContainer>(tuple_matcher_, rhs_));
[all …]
/external/googletest/googlemock/test/
Dgmock-matchers_test.cc119 explicit GreaterThanMatcher(int rhs) : rhs_(rhs) {} in GreaterThanMatcher()
121 void DescribeTo(ostream* os) const override { *os << "is > " << rhs_; } in DescribeTo()
124 const int diff = lhs - rhs_; in MatchAndExplain()
126 *listener << "which is " << diff << " more than " << rhs_; in MatchAndExplain()
128 *listener << "which is the same as " << rhs_; in MatchAndExplain()
130 *listener << "which is " << -diff << " less than " << rhs_; in MatchAndExplain()
133 return lhs > rhs_; in MatchAndExplain()
137 int rhs_; member in testing::gmock_matchers_test::__anon9be9be2f0111::GreaterThanMatcher