Home
last modified time | relevance | path

Searched refs:expected_ (Results 1 – 24 of 24) sorted by relevance

/external/webrtc/modules/rtp_rtcp/source/
Drtp_format_vp9_unittest.cc124 void SetUp() override { expected_.InitRTPVideoHeaderVP9(); } in SetUp()
129 RTPVideoHeaderVP9 expected_; member in webrtc::__anoncf2e729b0111::RtpPacketizerVp9Test
138 packetizer_.reset(new RtpPacketizerVp9(payload_, limits, expected_)); in Init()
162 RTPVideoHeaderVP9 hdr = expected_; in CreateParseAndCheckPackets()
169 expected_.ss_data_available = false; in CreateParseAndCheckPackets()
226 expected_.picture_id = kMaxOneBytePictureId; // 2 byte payload descriptor in TEST_F()
227 expected_.max_picture_id = kMaxOneBytePictureId; in TEST_F()
243 expected_.picture_id = kMaxTwoBytePictureId; // 3 byte payload descriptor in TEST_F()
260 expected_.temporal_idx = 3; in TEST_F()
261 expected_.temporal_up_switch = true; // U in TEST_F()
[all …]
/external/tensorflow/tensorflow/core/profiler/internal/cpu/
Dhost_tracer_test.cc60 : expected_(expected) {} in NodeStatsMatcher()
64 return p.node_name() == expected_.node_name() && in MatchAndExplain()
65 p.thread_id() == expected_.thread_id() && in MatchAndExplain()
66 p.timeline_label() == expected_.timeline_label(); in MatchAndExplain()
69 void DescribeTo(::std::ostream* os) const { *os << expected_.DebugString(); } in DescribeTo()
71 *os << "not equal to expected message: " << expected_.DebugString(); in DescribeNegationTo()
75 const NodeExecStats expected_; member in tensorflow::profiler::__anoncba9e6b30111::NodeStatsMatcher
/external/tensorflow/tensorflow/compiler/mlir/xla/
Dtype_to_shape_test.cc44 : expected_(expected.SerializeAsString()) {} in ProtoStringMatcher()
48 return p.SerializeAsString() == expected_; in MatchAndExplain()
51 void DescribeTo(::std::ostream* os) const { *os << expected_; } in DescribeTo()
53 *os << "not equal to expected message: " << expected_; in DescribeNegationTo()
57 const std::string expected_; member in xla::__anonff27023d0111::ProtoStringMatcher
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/random/
Dpoisson_distribution_test.cc365 std::vector<double> expected_; member in __anon63d2d87f0111::PoissonDistributionChiSquaredTest
375 if (!cutoffs_.empty() && !expected_.empty()) { in InitChiSquaredTest()
393 expected_.push_back(d); in InitChiSquaredTest()
397 expected_.push_back(std::max(0.0, 1.0 - last_cdf)); in InitChiSquaredTest()
421 std::vector<int32_t> e(expected_.size(), 0); in ChiSquaredTestImpl()
423 e[i] = kSamples * expected_[i]; in ChiSquaredTestImpl()
/external/webrtc/third_party/abseil-cpp/absl/random/
Dpoisson_distribution_test.cc362 std::vector<double> expected_; member in __anon3c7c18ed0111::PoissonDistributionChiSquaredTest
367 if (!cutoffs_.empty() && !expected_.empty()) { in InitChiSquaredTest()
385 expected_.push_back(d); in InitChiSquaredTest()
389 expected_.push_back(std::max(0.0, 1.0 - last_cdf)); in InitChiSquaredTest()
413 std::vector<int32_t> e(expected_.size(), 0); in ChiSquaredTestImpl()
415 e[i] = kSamples * expected_[i]; in ChiSquaredTestImpl()
/external/abseil-cpp/absl/random/
Dpoisson_distribution_test.cc362 std::vector<double> expected_; member in __anon4ecd091e0111::PoissonDistributionChiSquaredTest
367 if (!cutoffs_.empty() && !expected_.empty()) { in InitChiSquaredTest()
385 expected_.push_back(d); in InitChiSquaredTest()
389 expected_.push_back(std::max(0.0, 1.0 - last_cdf)); in InitChiSquaredTest()
413 std::vector<int32_t> e(expected_.size(), 0); in ChiSquaredTestImpl()
415 e[i] = kSamples * expected_[i]; in ChiSquaredTestImpl()
/external/libtextclassifier/abseil-cpp/absl/random/
Dpoisson_distribution_test.cc365 std::vector<double> expected_; member in __anon102acb2e0111::PoissonDistributionChiSquaredTest
375 if (!cutoffs_.empty() && !expected_.empty()) { in InitChiSquaredTest()
393 expected_.push_back(d); in InitChiSquaredTest()
397 expected_.push_back(std::max(0.0, 1.0 - last_cdf)); in InitChiSquaredTest()
421 std::vector<int32_t> e(expected_.size(), 0); in ChiSquaredTestImpl()
423 e[i] = kSamples * expected_[i]; in ChiSquaredTestImpl()
/external/openscreen/third_party/abseil/src/absl/random/
Dpoisson_distribution_test.cc365 std::vector<double> expected_; member in __anon1434511f0111::PoissonDistributionChiSquaredTest
375 if (!cutoffs_.empty() && !expected_.empty()) { in InitChiSquaredTest()
393 expected_.push_back(d); in InitChiSquaredTest()
397 expected_.push_back(std::max(0.0, 1.0 - last_cdf)); in InitChiSquaredTest()
421 std::vector<int32_t> e(expected_.size(), 0); in ChiSquaredTestImpl()
423 e[i] = kSamples * expected_[i]; in ChiSquaredTestImpl()
/external/tensorflow/tensorflow/compiler/xla/
Dliteral_comparison.cc322 : expected_(expected), in NearComparator()
336 TF_RETURN_IF_ERROR(EqualShapes(expected_.shape(), actual_.shape())); in Run()
337 if (!expected_.shape().IsArray()) { in Run()
339 ShapeUtil::HumanString(expected_.shape())); in Run()
350 miscompare_callback_(expected_, actual_, mismatches_, shape_index_); in Run()
509 expected_.shape().layout())) { in CompareLiterals()
510 absl::Span<const NativeT> expected_data = expected_.data<NativeT>(); in CompareLiterals()
527 CompareValues(expected_.Get<NativeT>(*multi_index), in CompareLiteralsSlow()
532 for (int64 i = 0; i < expected_.shape().dimensions(dimension); ++i) { in CompareLiteralsSlow()
613 LiteralSlice expected_; member in xla::literal_comparison::__anon1e4119ae0111::NearComparator
/external/webrtc/video/
Dsend_statistics_proxy_unittest.cc78 expected_ = VideoSendStream::Stats(); in SetUp()
80 expected_.substreams[ssrc].type = in SetUp()
85 expected_.substreams[ssrc].type = in SetUp()
87 expected_.substreams[ssrc].referenced_media_ssrc = config_.rtp.ssrcs[i]; in SetUp()
177 VideoSendStream::Stats expected_; member in webrtc::SendStatisticsProxyTest
185 VideoSendStream::StreamStats& ssrc_stats = expected_.substreams[ssrc]; in TEST_F()
196 VideoSendStream::StreamStats& ssrc_stats = expected_.substreams[ssrc]; in TEST_F()
207 ExpectEqual(expected_, stats); in TEST_F()
227 VideoSendStream::StreamStats& stats = expected_.substreams[ssrc]; in TEST_F()
237 VideoSendStream::StreamStats& stats = expected_.substreams[ssrc]; in TEST_F()
[all …]
/external/llvm-project/llvm/utils/unittest/googlemock/include/gmock/
Dgmock-matchers.h1899 expected_(expected), nan_eq_nan_(nan_eq_nan), max_abs_error_(-1) {
1907 : expected_(expected),
1919 : expected_(expected),
1925 const FloatingPoint<FloatType> actual(value), expected(expected_);
1940 if (value == expected_) {
1944 const FloatType diff = value - expected_;
1950 *listener << "which is " << diff << " from " << expected_;
1964 if (FloatingPoint<FloatType>(expected_).is_nan()) {
1971 *os << "is approximately " << expected_;
1983 if (FloatingPoint<FloatType>(expected_).is_nan()) {
[all …]
/external/tensorflow/tensorflow/python/kernel_tests/
Dlinalg_ops_test.py526 expected_ = np.linalg.solve(x_, rhs_)
528 self.assertAllEqual(expected_.shape, y.shape)
529 self.assertAllClose(expected_, y_, atol=0., rtol=1e-3)
549 expected_ = np.linalg.solve(x_, rhs_[np.newaxis])
551 self.assertAllEqual(expected_.shape, y.shape)
552 self.assertAllClose(expected_, y_, atol=0., rtol=1e-3)
/external/strace/
Dgen_bpf_attr_check.sh68 static_assert(${struct}_size == expected_${struct}_size,
/external/strace/tests/
Dxselect.c62 #define XSELECT(expected_, ...) \ argument
65 if (rc != (expected_)) \
69 (expected_), rc); \
/external/strace/tests-m32/
Dxselect.c62 #define XSELECT(expected_, ...) \ argument
65 if (rc != (expected_)) \
69 (expected_), rc); \
/external/strace/tests-mx32/
Dxselect.c62 #define XSELECT(expected_, ...) \ argument
65 if (rc != (expected_)) \
69 (expected_), rc); \
/external/perfetto/tools/ftrace_proto_gen/
Dproto_gen_utils.cc57 PERFETTO_CHECK(base::ReadFile(filename_, &expected_)); in VerifyStream()
64 if (expected_ != tidied) { in ~VerifyStream()
Dproto_gen_utils.h39 std::string expected_; variable
/external/webrtc/media/base/
Dcodec_unittest.cc517 expected_ = std::get<1>(GetParam()); in IsSameCodecParamsTest()
524 bool expected_; member in IsSameCodecParamsTest
530 EXPECT_EQ(expected_, in TEST_P()
535 EXPECT_EQ(expected_, in TEST_P()
/external/googletest/googlemock/include/gmock/
Dgmock-matchers.h1603 expected_(expected), nan_eq_nan_(nan_eq_nan), max_abs_error_(-1) {
1611 : expected_(expected),
1623 : expected_(expected),
1629 const FloatingPoint<FloatType> actual(value), expected(expected_);
1644 if (value == expected_) {
1648 const FloatType diff = value - expected_;
1654 *listener << "which is " << diff << " from " << expected_;
1668 if (FloatingPoint<FloatType>(expected_).is_nan()) {
1675 *os << "is approximately " << expected_;
1687 if (FloatingPoint<FloatType>(expected_).is_nan()) {
[all …]
/external/vixl/test/aarch64/
Dtest-api-aarch64.cc1271 expected_(GetGuardListFor(CPURegister::kRegister)), in ScratchScopeHelper()
1275 masm->GetScratchRegisterList()->SetList(expected_); in ScratchScopeHelper()
1297 VIXL_CHECK(masm_->GetScratchRegisterList()->GetList() == expected_); in RecordActionsAndCheck()
1333 return &expected_; in GetExpectedFor()
1348 RegList expected_; member in vixl::aarch64::ScratchScopeHelper
/external/rust/crates/grpcio-sys/grpc/third_party/cares/cares/test/gmock-1.8.0/gmock/
Dgmock.h6716 expected_(expected), nan_eq_nan_(nan_eq_nan), max_abs_error_(-1) {
6724 : expected_(expected),
6736 : expected_(expected),
6742 const FloatingPoint<FloatType> actual(value), expected(expected_);
6757 if (value == expected_) {
6761 const FloatType diff = value - expected_;
6767 *listener << "which is " << diff << " from " << expected_;
6781 if (FloatingPoint<FloatType>(expected_).is_nan()) {
6788 *os << "is approximately " << expected_;
6800 if (FloatingPoint<FloatType>(expected_).is_nan()) {
[all …]
/external/openscreen/third_party/abseil/src/absl/strings/
Dcord_test.cc1637 expected_ = expected; in Set()
1642 EXPECT_EQ(*cord_, expected_); in ~AfterExitCordTester()
1646 absl::string_view expected_; member in AfterExitCordTester
/external/tensorflow/tensorflow/python/kernel_tests/distributions/
Dutil_test.py833 expected_, grad_expected_] = sess.run([
836 self.assertAllEqual(expected_, actual_)