Home
last modified time | relevance | path

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

12

/external/webrtc/modules/video_coding/utility/
Dsimulcast_rate_allocator_unittest.cc67 void ExpectEqual(uint32_t (&expected)[S], in ExpectEqual() function in webrtc::SimulcastRateAllocatorTest
75 void ExpectEqual(uint32_t (&expected)[S], in ExpectEqual() function in webrtc::SimulcastRateAllocatorTest
171 ExpectEqual(expected, GetAllocation(codec_.minBitrate - 1)); in TEST_F()
172 ExpectEqual(expected, GetAllocation(1)); in TEST_F()
173 ExpectEqual(expected, GetAllocation(0)); in TEST_F()
179 ExpectEqual(expected, GetAllocation(codec_.maxBitrate + 1)); in TEST_F()
180 ExpectEqual(expected, GetAllocation(std::numeric_limits<uint32_t>::max())); in TEST_F()
190 ExpectEqual(expected, GetAllocation(kMax)); in TEST_F()
198 ExpectEqual(expected, GetAllocation(bitrate)); in TEST_F()
209 ExpectEqual(expected, GetAllocation(kMinBitrateKbps - 10)); in TEST_F()
[all …]
/external/tensorflow/tensorflow/core/framework/
Dtensor_testutil.cc104 static void ExpectEqual(const Tensor& x, const Tensor& y) { in ExpectEqual() function
172 void ExpectEqual(const Tensor& x, const Tensor& y) { in ExpectEqual() function
178 return ExpectEqual<float>(x, y); in ExpectEqual()
180 return ExpectEqual<double>(x, y); in ExpectEqual()
182 return ExpectEqual<int32>(x, y); in ExpectEqual()
184 return ExpectEqual<uint32>(x, y); in ExpectEqual()
186 return ExpectEqual<uint16>(x, y); in ExpectEqual()
188 return ExpectEqual<uint8>(x, y); in ExpectEqual()
190 return ExpectEqual<int16>(x, y); in ExpectEqual()
192 return ExpectEqual<int8>(x, y); in ExpectEqual()
[all …]
Dop_def_util_test.cc454 void ExpectEqual(const protobuf::RepeatedPtrField<OpDef::AttrDef>& a1, in ExpectEqual() function
489 ExpectEqual(Rep({}), Rep({})); in TEST()
490 ExpectEqual(Rep({a1}), Rep({a1})); in TEST()
491 ExpectEqual(Rep({a1, a2}), Rep({a1, a2})); in TEST()
492 ExpectEqual(Rep({a1, a2}), Rep({a2, a1})); in TEST()
493 ExpectEqual(Rep({a1, a4}), Rep({a4, a1})); in TEST()
504 void ExpectEqual(const OpDef& o1, const OpDef& o2) { in ExpectEqual() function
525 ExpectEqual(o1, o1); in TEST()
526 ExpectEqual(o3, o4); in TEST()
Dtensor_test.cc119 void ExpectEqual(const Tensor& x, const Tensor& y) { in ExpectEqual() function
120 test::ExpectEqual(x, y); in ExpectEqual()
124 void ExpectEqual<ResourceHandle>(const Tensor& x, const Tensor& y) { in ExpectEqual() function
128 void ExpectEqual<Variant>(const Tensor& x, const Tensor& y) { in ExpectEqual() function
138 ExpectEqual<T>(t, t2); in TestCopies()
144 ExpectEqual<T>(t, t2); in TestCopies()
150 ExpectEqual<T>(t, t2); in TestCopies()
158 ExpectEqual<T>(t, t2); in TestCopies()
166 ExpectEqual<T>(t, t2); in TestCopies()
171 ExpectEqual<T>(t, t2); in TestCopies()
[all …]
Dtensor_testutil.h98 void ExpectEqual(const Tensor& x, const Tensor& y);
112 ExpectEqual(x, y); in ExpectTensorEqual()
/external/webrtc/pc/
Dsdp_serializer_unittest.cc33 void ExpectEqual(const std::vector<TElement>& expected, in ExpectEqual() function
43 void ExpectEqual(const std::vector<SimulcastLayer>& expected, in ExpectEqual() function
58 void ExpectEqual(const std::map<TKey, TValue>& expected, in ExpectEqual() function
72 void ExpectEqual(const SimulcastLayerList& expected, in ExpectEqual() function
76 ExpectEqual(expected[i], actual[i]); in ExpectEqual()
81 void ExpectEqual(const SimulcastDescription& expected, in ExpectEqual() function
83 ExpectEqual(expected.send_layers(), actual.send_layers()); in ExpectEqual()
84 ExpectEqual(expected.receive_layers(), actual.receive_layers()); in ExpectEqual()
88 void ExpectEqual(const RidDescription& expected, const RidDescription& actual) { in ExpectEqual() function
91 ExpectEqual(expected.payload_types, actual.payload_types); in ExpectEqual()
[all …]
/external/tensorflow/tensorflow/core/common_runtime/
Dgraph_runner_test.cc51 test::ExpectEqual(test::AsScalar(42.0f), outputs[0]); in TEST()
78 test::ExpectEqual(test::AsScalar(3.0f), outputs[0]); in TEST()
90 test::ExpectEqual(test::AsScalar(42.0f), outputs[0]); in TEST()
91 test::ExpectEqual(test::AsScalar(3.14f), outputs[1]); in TEST()
112 test::ExpectEqual(test::AsScalar(3.0f), outputs[0]); in TEST()
/external/llvm-project/libcxx/test/libcxx/utilities/variant/variant.variant/
Dvariant_size.pass.cpp38 constexpr bool ExpectEqual = variable
50 static_assert((sizeof(T1) == sizeof(T2)) == ExpectEqual, ""); in test_index_type()
61 > == ExpectEqual, ""); in test_index_internals()
/external/libcxx/test/libcxx/utilities/variant/variant.variant/
Dvariant_size.pass.cpp34 constexpr bool ExpectEqual = variable
46 static_assert((sizeof(T1) == sizeof(T2)) == ExpectEqual, ""); in test_index_type()
57 > == ExpectEqual, ""); in test_index_internals()
/external/tensorflow/tensorflow/core/kernels/data/
Dsparse_tensor_slice_dataset_op_test.cc175 TF_EXPECT_OK(ExpectEqual(out_tensors[0], expected_outputs_it->at(0))); in TEST_P()
176 TF_EXPECT_OK(ExpectEqual(out_tensors[1], expected_outputs_it->at(1))); in TEST_P()
177 TF_EXPECT_OK(ExpectEqual(out_tensors[2], expected_outputs_it->at(2))); in TEST_P()
390 TF_EXPECT_OK(ExpectEqual( in TEST_P()
392 TF_EXPECT_OK(ExpectEqual( in TEST_P()
394 TF_EXPECT_OK(ExpectEqual( in TEST_P()
Dsplit_utils_test.cc48 test::ExpectEqual(split, expected[next++]); in CheckOutput()
83 test::ExpectEqual(split, expected[i]); in TEST()
131 test::ExpectEqual(split, expected[i]); in TEST()
Dtensor_dataset_op_test.cc140 TF_EXPECT_OK(ExpectEqual(*output, *expected_output)); in TEST_P()
142 TF_EXPECT_OK(ExpectEqual(out_tensors[i], test_case.expected_outputs[i])); in TEST_P()
270 TF_EXPECT_OK(ExpectEqual(*output, *expected_output)); in TEST_P()
272 TF_EXPECT_OK(ExpectEqual(out_tensors[i], test_case.expected_outputs[i])); in TEST_P()
Dtensor_slice_dataset_op_test.cc124 TF_EXPECT_OK(ExpectEqual(*output, *expected_output)); in TEST_P()
126 TF_EXPECT_OK(ExpectEqual( in TEST_P()
296 TF_EXPECT_OK(ExpectEqual(*output, *expected_output)); in TEST_P()
298 TF_EXPECT_OK(ExpectEqual( in TEST_P()
Drepeat_dataset_op_test.cc148 TF_EXPECT_OK(ExpectEqual(tensor, *expected_outputs_it)); in TEST_P()
166 TF_EXPECT_OK(ExpectEqual(tensor, *expected_outputs_it)); in TEST_P()
337 TF_EXPECT_OK(ExpectEqual(tensor, *expected_outputs_it)); in TEST_P()
Dcache_dataset_ops_test.cc180 TF_EXPECT_OK(ExpectEqual(out_tensors, test_case.expected_outputs, in TEST_P()
195 TF_EXPECT_OK(ExpectEqual(out_tensors, test_case.expected_outputs, in TEST_P()
349 TF_EXPECT_OK(ExpectEqual(out_tensors.back(), *expected_outputs_it)); in TEST_P()
Dshuffle_dataset_op_test.cc363 TF_EXPECT_OK(ExpectEqual(shuffled_out_tensors, in TEST_P()
366 TF_EXPECT_OK(ExpectEqual(reshuffled_out_tensors, in TEST_P()
544 TF_EXPECT_OK(ExpectEqual(out_tensors, test_case.expected_shuffle_outputs, in TEST_P()
Ddataset_test_base.cc216 Status DatasetOpsTestBase::ExpectEqual(const Tensor& a, const Tensor& b) { in ExpectEqual() function in tensorflow::data::DatasetOpsTestBase
244 Status DatasetOpsTestBase::ExpectEqual(std::vector<Tensor> produced_tensors, in ExpectEqual() function in tensorflow::data::DatasetOpsTestBase
297 TF_RETURN_IF_ERROR(DatasetOpsTestBase::ExpectEqual(produced_tensors[i], in ExpectEqual()
605 TF_EXPECT_OK(ExpectEqual(out_tensors, expected_outputs, in CheckIteratorGetNext()
625 TF_EXPECT_OK(ExpectEqual(out_tensors, expected_outputs, in CheckIteratorSkip()
753 TF_EXPECT_OK(ExpectEqual(out_tensors, expected_outputs, in CheckIteratorSaveAndRestore()
Dwindow_dataset_op_test.cc319 TF_EXPECT_OK(ExpectEqual(window_elements, *expected_outputs_it, false)); in TEST_P()
513 ExpectEqual(window_elements, *expected_outputs_it, false)); in TEST_P()
Dreduce_dataset_op_test.cc178 ExpectEqual(test_case.expected_outputs, output, /*compare_order=*/true)); in TEST_P()
/external/webrtc/p2p/base/
Dturn_server_unittest.cc26 void ExpectEqual(const TurnServerConnection& a, in ExpectEqual() function in cricket::TurnServerConnectionTest
62 ExpectEqual(connection1, connection2); in TEST_F()
/external/tensorflow/tensorflow/core/data/
Dcompression_utils_test.cc35 ExpectEqual(element, round_trip_element, /*compare_order=*/true)); in TEST_P()
/external/tensorflow/tensorflow/core/data/service/
Dtest_util_test.cc50 TF_EXPECT_OK(DatasetOpsTestBase::ExpectEqual(result[i], test_case.output[i], in TEST()
/external/llvm-project/llvm/lib/MC/MCParser/
DMasmParser.cpp945 bool parseDirectiveIfidn(SMLoc DirectiveLoc, bool ExpectEqual,
957 bool parseDirectiveElseIfidn(SMLoc DirectiveLoc, bool ExpectEqual,
993 bool parseDirectiveErrorIfidn(SMLoc DirectiveLoc, bool ExpectEqual,
5890 bool MasmParser::parseDirectiveIfidn(SMLoc DirectiveLoc, bool ExpectEqual, in parseDirectiveIfidn() argument
5895 if (ExpectEqual) in parseDirectiveIfidn()
5901 if (ExpectEqual) in parseDirectiveIfidn()
5909 if (ExpectEqual) in parseDirectiveIfidn()
5918 ExpectEqual == (StringRef(String1).equals_lower(String2)); in parseDirectiveIfidn()
5920 TheCondState.CondMet = ExpectEqual == (String1 == String2); in parseDirectiveIfidn()
6086 bool MasmParser::parseDirectiveElseIfidn(SMLoc DirectiveLoc, bool ExpectEqual, in parseDirectiveElseIfidn() argument
[all …]
/external/tensorflow/tensorflow/core/kernels/data/experimental/
Drandom_dataset_op_test.cc139 TF_ASSERT_OK(ExpectEqual(out_tensors, test_case.expected_outputs, in TEST_P()
/external/tensorflow/tensorflow/core/kernels/mlir_generated/
Dbase_unary_ops_test.h75 test::ExpectEqual(expected_tensor, *GetOutput(0)); in RunAndExpectResult()

12